diff --git a/inventory/sample/group_vars/k8s-cluster/addons.yml b/inventory/sample/group_vars/k8s-cluster/addons.yml index 32a86e4a51a2dc59cfe93c1fe4da7765536e0631..42e9fdea6953e3e85c9ab35f4fb6c924aa88f232 100644 --- a/inventory/sample/group_vars/k8s-cluster/addons.yml +++ b/inventory/sample/group_vars/k8s-cluster/addons.yml @@ -132,7 +132,7 @@ cert_manager_enabled: false metallb_enabled: false # metallb_ip_range: # - "10.5.0.50-10.5.0.99" -# metallb_version: v0.9.3 +# metallb_version: v0.9.5 # metallb_protocol: "layer2" # metallb_port: "7472" # metallb_limits_cpu: "100m" diff --git a/roles/kubernetes-apps/metallb/defaults/main.yml b/roles/kubernetes-apps/metallb/defaults/main.yml index 716cb2b6a7f414c22440622cbfb0875ca42b2f85..ae26ba3e13d389df9ddcbbc10aa051414af9faee 100644 --- a/roles/kubernetes-apps/metallb/defaults/main.yml +++ b/roles/kubernetes-apps/metallb/defaults/main.yml @@ -1,6 +1,6 @@ --- metallb_enabled: false -metallb_version: v0.9.3 +metallb_version: v0.9.5 metallb_protocol: "layer2" metallb_port: "7472" metallb_limits_cpu: "100m" diff --git a/roles/kubernetes-apps/metallb/templates/metallb.yml.j2 b/roles/kubernetes-apps/metallb/templates/metallb.yml.j2 index 392c021375ba88ee2caa2c3f94bbfdd99369a8eb..4fe68836553ed71166915207b34fb86a2f350359 100644 --- a/roles/kubernetes-apps/metallb/templates/metallb.yml.j2 +++ b/roles/kubernetes-apps/metallb/templates/metallb.yml.j2 @@ -306,6 +306,9 @@ spec: valueFrom: fieldRef: fieldPath: status.podIP + # needed when another software is also using memberlist / port 7946 + #- name: METALLB_ML_BIND_PORT + # value: "7946" - name: METALLB_ML_LABELS value: "app=metallb,component=speaker" - name: METALLB_ML_NAMESPACE