fix(lb): address pool and advertise have to be created later

This commit is contained in:
2022-11-30 13:53:31 +01:00
parent 85a0e41ac9
commit 024178f4ca
6 changed files with 11 additions and 22 deletions

View File

@ -0,0 +1,9 @@
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: l2-ip-pool-ad
namespace: metallb-system
spec:
ipAddressPools:
- main-pool

View File

@ -0,0 +1,8 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: main-pool
namespace: metallb-system
spec:
addresses:
- 192.168.10.220-192.168.10.240

View File

@ -0,0 +1,5 @@
namespace: metallb-system
resources:
- ipaddresspoool.yaml
- advertise.yaml