Initial commit.
This commit is contained in:
21
infrastructure_setup/metallb/metallb-pool.yaml
Normal file
21
infrastructure_setup/metallb/metallb-pool.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
# Define IP address pool for MetalLB using the new format
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: production
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 192.168.8.240-192.168.8.250
|
||||
|
||||
---
|
||||
# Define Layer 2 advertisement for the IP pool using the new format
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: l2-advertisement
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- production
|
Reference in New Issue
Block a user