Add metallb L2Advertisement

This commit is contained in:
2024-08-26 11:10:32 +10:00
parent 1a831f97d1
commit 668223937a
2 changed files with 15 additions and 0 deletions

View 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

View File

@@ -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