<p>I want to enable the Kube-proxy mode to IPVS in the existing cluster. currently, it is running on IPtables. how can I change it to IPVS without affecting the existing workload?</p>

<p>I have already installed all the required modules to enable it. Also, my cluster is installed using kubeadm but, I have not used the configuration file during installation.
what should be the command exactly to enable the IPVS on my cluster.</p>

<p><a href="https://github.com/kubernetes/kubernetes/tree/master/pkg/proxy/ipvs" rel="noreferrer">documentation1</a></p>

<p><a href="https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#config-file" rel="noreferrer">documentation2</a></p>

Pert8S
<p>Edit the configmap</p>

<pre><code>kubectl edit configmap kube-proxy -n kube-system
</code></pre>

<p>change mode from "" to ipvs</p>

<pre><code>mode: ipvs
</code></pre>

<p>Kill any kube-proxy pods</p>

<pre><code>kubectl get po -n kube-system
kubectl delete po -n kube-system &lt;pod-name&gt;
</code></pre>

<p>Verify kube-proxy is started with ipvs proxier</p>

<pre><code>kubectl logs [kube-proxy pod] | grep "Using ipvs Proxier"
</code></pre>
