k3s How should I replace iptables with ipvs #4412
Replies: 2 comments 2 replies
-
kube-proxy is built in to k3s. You can pass extra args to it via: |
Beta Was this translation helpful? Give feedback.
-
Changing the mode to ipvs does not eliminate ALL use of iptables, it just uses ipvs for kube-proxy's routing to Kubernetes services instead of iptables. All the other stuff that uses iptables (kubelet, flannel, kube-router, etc) is still there. |
Beta Was this translation helpful? Give feedback.
-
I installed k3s , The environment and installation commands are as follows
os version CentOS Linux
k3s version v1.21.5+k3s2
docker version: 20.10.10
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -s - --docker --write-kubeconfig ~/.kube/config
I now plan to use ipvs to replace iptables, but since kube-proxy is not installed, how to replace it?
Thank You!
Beta Was this translation helpful? Give feedback.
All reactions