https://rancher.com/ logo
Title
a

ancient-air-32350

10/13/2022, 5:41 PM
is it possible to set
kube-proxy-replacement
to strict on rancher launched rke2 clusters with cilium ? if yes, could you please tellme how ? thanks
c

creamy-pencil-82913

10/13/2022, 6:45 PM
Have you looked at the Cilium tab of the RKE2 CNI docs? https://docs.rke2.io/install/network_options/
a

ancient-air-32350

10/13/2022, 10:37 PM
thanks. that explains how to disable kube-proxy on rke2 installation.
but how can i pass the
--disable-kube-proxy
in Rancher Manager 2.6.8 ?
c

creamy-pencil-82913

10/14/2022, 12:08 AM
Oh, just set
kubeProxyReplacement: "strict"
in the Cilium Configuration when provisioning the cluster
It’s the very first thing in the Add-On Config section.
and for adding the --disable-kube-proxy flag… that’s a good question.
You might have to edit as YAML and add it to the machineGlobalConfig? That’s really a Rancher question, not RKE2.
a

ancient-air-32350

10/14/2022, 6:11 AM
thank you. I’ll try that!