Skip to content

Commit

Permalink
fix(cilium): k3s has an API server proxy at 127.0.0.1:6444 (#442)
Browse files Browse the repository at this point in the history
There is no need to use kube-vip LB
  • Loading branch information
onedr0p authored Feb 5, 2024
1 parent ea3b3c7 commit 1fb10fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/k3s_server_post/tasks/cilium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@
{% if cilium_mode == "native" or (cilium_bgp and cilium_exportPodCIDR != 'false') %}
--helm-set ipv4NativeRoutingCIDR={{ cluster_cidr }}
{% endif %}
--helm-set k8sServiceHost={{ apiserver_endpoint }}
--helm-set k8sServicePort="6443"
--helm-set k8sServiceHost="127.0.0.1"
--helm-set k8sServicePort="6444"
--helm-set routingMode={{ cilium_mode | default("native") }}
--helm-set autoDirectNodeRoutes={{ "true" if cilium_mode == "native" else "false" }}
--helm-set kubeProxyReplacement={{ kube_proxy_replacement | default("true") }}
Expand Down

0 comments on commit 1fb10fa

Please sign in to comment.