This message was deleted.
# rke2
a
This message was deleted.
b
rke2 has a config flag called
--kube-proxy-arg
. If you use that one with:
kube-proxy-arg: "proxy-mode=ipvs"
it should work
where do you get that modprobe error? Is it in the kube-proxy container? Did you change the image by any chance?
g
yes, in the kube-proxy container. Image has not been changed
b
if you do
kubectl exec -ti $KUBE-PROXY-POD-NAME -n kube-system -- modprobe --help
and replace
$KUBE-PROXY-POD-NAME
with your pod name, you get an "executable file not found in $PATH"?
c
That should be a non-fatal error, if you preload the correct modules and use the arg as suggested it should work. The latest release of rke2 restores modprobe to the hardened-kubernetes image to silence the warning message.