Files
infrastructure/helm/metallb/values.yaml

41 lines
1.2 KiB
YAML
Raw Normal View History

2025-10-02 10:41:19 +02:00
# This top-level key MUST match the dependency name in your Chart.yaml
metallb:
2025-10-02 10:28:43 +02:00
2025-10-02 10:43:55 +02:00
# Your address pool configuration
2025-10-02 10:41:19 +02:00
config:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- 192.168.178.200-192.168.178.250
2025-10-02 10:39:20 +02:00
2025-10-02 10:43:55 +02:00
# Configuration for the speaker DaemonSet
2025-10-02 10:41:19 +02:00
speaker:
2025-10-02 10:43:55 +02:00
# Tolerations to allow scheduling on control-plane nodes
2025-10-02 10:41:19 +02:00
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
2025-10-02 10:43:55 +02:00
# --- THIS IS THE NEW AND CRITICAL PART ---
# Override the default nodeAffinity to ignore the 'exclude-from-external-load-balancers' label
# This simpler affinity just requires the node to be a linux amd64 machine.
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
- key: kubernetes.io/arch
operator: In
values:
- amd64