Add MetalLB advertisement
This commit is contained in:
parent
f2320f62b4
commit
f297d0f55c
9
clusters/my-cluster/metallb-system/ip-address-pool.yaml
Normal file
9
clusters/my-cluster/metallb-system/ip-address-pool.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: IPAddressPool
|
||||||
|
metadata:
|
||||||
|
name: first-pool
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
addresses:
|
||||||
|
- 10.100.100.240-10.100.100.250
|
@ -3,3 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- metallb-native.yaml
|
- metallb-native.yaml
|
||||||
|
- ip-address-pool.yaml
|
||||||
|
- l2-advertisement.yaml
|
||||||
|
6
clusters/my-cluster/metallb-system/l2-advertisement.yaml
Normal file
6
clusters/my-cluster/metallb-system/l2-advertisement.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: example
|
||||||
|
namespace: metallb-system
|
Loading…
Reference in New Issue
Block a user