Merge pull request #817 from 3dwardch3ng/infra/metallb

Add metallb L2Advertisement
This commit is contained in:
2024-08-26 11:10:51 +10:00
committed by GitHub
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
kind: Kustomization
resources:
- ./advertisement.yaml
- ./cluster-ip.yaml