feat: k3s use 127.0.0.1:6444 for Cilium k8sServiceHost:k8sServicePort

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-01-18 06:27:58 -05:00
1 parent 8b20e9e944
commit 13a005d23d
2 files changed
+7 -2

No files matched your search

@@ -37,8 +37,8 @@ spec:
ipv6:
enabled: true
#% endif %#
k8sServiceHost: "{{ kube_api_addr }}"
k8sServicePort: 6443
k8sServiceHost: 127.0.0.1
k8sServicePort: 6444
kubeProxyReplacement: true
kubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256
l2announcements:
@@ -90,8 +90,13 @@ spec:
ipv6:
enabled: true
#% endif %#
#% if bootstrap_distribution == "k3s" %#
k8sServiceHost: 127.0.0.1
k8sServicePort: 6444
#% else %#
k8sServiceHost: "${KUBE_API_ADDR}"
k8sServicePort: 6443
#% endif %#
kubeProxyReplacement: true
kubeProxyReplacementHealthzBindAddr: 0.0.0.0:10256
l2announcements: