Merge pull request #54976 from m1093782566/ipvs-kubeadm
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add kubeadm way in ipvs proxy README **What this PR does / why we need it**: As #53962 which support specify proxy mode for kubeadm is already in, we should add ipvs proxy kubeadm way in README.md. **Which issue(s) this PR fixes**: Fixes #54978 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
		| @@ -35,7 +35,17 @@ Kube-proxy will run in iptables mode by default in a [local-up cluster](https:// | ||||
|  | ||||
| Users should export the env `KUBEPROXY_MODE=ipvs` to specify the ipvs mode before deploying the cluster if want to run kube-proxy in ipvs mode. | ||||
|  | ||||
| // TODO: Kubeadm | ||||
| #### Cluster Created by Kubeadm | ||||
|  | ||||
| Kube-proxy will run in iptables mode by default in a cluster deployed by [kubeadm](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/).  | ||||
|  | ||||
| Since IPVS mode is still feature-gated, users should add the flag `--feature-gates=SupportIPVSProxyMode=true` in `kubeadm init` command | ||||
|  | ||||
| ``` | ||||
| kubeadm init --feature-gates=SupportIPVSProxyMode=true | ||||
| ``` | ||||
|  | ||||
| to specify the ipvs mode before deploying the cluster if want to run kube-proxy in ipvs mode. | ||||
|  | ||||
| #### Test | ||||
|  | ||||
| @@ -51,4 +61,3 @@ TCP  10.0.0.1:443 rr persistent 10800 | ||||
| TCP  10.0.0.10:53 rr       | ||||
| UDP  10.0.0.10:53 rr | ||||
| ``` | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue