fix metallb control-plane

This commit is contained in:
2025-10-02 10:41:19 +02:00
parent 0184379a5b
commit faaeb217bf

View File

@@ -1,26 +1,31 @@
# Your existing configuration for the IP address pool
config:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- 192.168.178.200-192.168.178.250
# This top-level key MUST match the dependency name in your Chart.yaml
metallb:
speaker:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
# Your original address pool configuration, now nested
config:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- 192.168.178.200-192.168.178.250
controller:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
# The speaker tolerations, also nested
speaker:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
# The controller tolerations, also nested
controller:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"