This commit is contained in:
2025-09-30 14:59:46 +02:00
parent 76be981e78
commit 0ec91e6005
2 changed files with 23 additions and 25 deletions

View File

@@ -0,0 +1,19 @@
# metallb-crds.yaml
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: default-pool
namespace: i-metallb # Make sure this matches your install namespace
spec:
addresses:
- 192.168.178.200-192.168.178.250
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: default-advertisement
namespace: i-metallb # Make sure this matches your install namespace
spec:
ipAddressPools:
- default-pool

View File

@@ -1,26 +1,5 @@
namespace: i-metallb
config:
layer2:
address-pools:
- name: default
protocol: layer2
addresses:
- 192.168.178.200-192.168.178.250 # Replace with your desired IP range
service:
enabled: true
type: LoadBalancer
annotations: {}
externalTrafficPolicy: Local
controller:
service:
enabled: true
annotations: {}
type: LoadBalancer
externalTrafficPolicy: Local
speaker:
enabled: true
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"