<p>I have installed kubernetes cluster using <a href="https://medium.com/@Alibaba_Cloud/how-to-install-and-deploy-kubernetes-on-ubuntu-16-04-6769fd1646db" rel="nofollow noreferrer">this tutorial on ubuntu 16</a>.
everything works but I need change proxy mode (ipvs) and I don't know how can I change kube-proxy mode using kubectl or something else.</p>

<p>kubectl is more for managing the kubernetes workload.  You need to modify the control plane itself.  Since you created your cluster with kubeadm, you can use that to enable ipvs.  You'd add this to your config file for kube init.</p>

<pre><code>...
kubeProxy:
  config:
    featureGates:
      SupportIPVSProxyMode: true
    mode: ipvs
...
</code></pre>

<p>Here's an article from <a href="https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/ipvs/README.md#cluster-created-by-kubeadm" rel="nofollow noreferrer">github.com/kubernetes</a> with more detailed instructions.  Depending on your kubernetes version, you can pass it as a flag to kube init instead of using the above configuration.</p>

<p>Edit: Here's a link on how to use kubeadm to edit an existing cluster:  <a href="https://stackoverflow.com/questions/49810966/how-to-use-kubeadm-upgrade-to-change-some-features-in-kubeadm-config">How to use kubeadm upgrade to change some features in kubeadm-config</a></p>
