Fix kubelet config to use VXLAN iface

This is follow up of the I4cfd6cb74019f150383cc0992e33c16db15e444f

Change-Id: Ia9d547a3039ef59bbdb302d7b7870fbc1df1287a
Signed-off-by: Vladimir Kozhukalov <kozhukalov@gmail.com>
This commit is contained in:
Vladimir Kozhukalov
2025-09-24 17:47:39 -05:00
parent a36da4370c
commit d1b372a828

View File

@@ -48,7 +48,7 @@
template:
src: files/etc_default_kubelet.j2
dest: /etc/default/kubelet
when: inventory_hostname in (groups['k8s_nodes'] | default([]))
when: inventory_hostname in (groups['k8s_cluster'] | default([]))
- name: Join workload nodes to cluster
command: "{{ (groups['k8s_control_plane'] | map('extract', hostvars, ['join_command', 'stdout_lines', 0]))[0] }}"