How to change kube-proxy to ipvs mode.

less than 1 minute read

While building kubernetes v1.19 on CentOS8, I struggled with how to change the mode of kube-proxy from the default iptables to ipvs.

1. Change the config map

$ kubectl edit configmap kube-proxy -n kube-system

2. Rewrite mode to ipvs

mode: ipvs