Add metallb L2Advertisement
This commit is contained in:
14
infrastructures/metallb-conf/env/k3s-cluster/advertisement.yaml
vendored
Normal file
14
infrastructures/metallb-conf/env/k3s-cluster/advertisement.yaml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: l2-advertisement
|
||||||
|
namespace: metallb
|
||||||
|
spec:
|
||||||
|
ipAddressPools:
|
||||||
|
- k3s-cluster-ips
|
||||||
|
nodeSelectors:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/os
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- linux
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ./advertisement.yaml
|
||||||
- ./cluster-ip.yaml
|
- ./cluster-ip.yaml
|
||||||
Reference in New Issue
Block a user