Merge pull request #105564 from cyclinder/revise_kube_proxy_md

revise kubeProxy filed as part of the kubeadm configuration
This commit is contained in:
Kubernetes Prow Robot
2021-10-19 22:53:58 -07:00
committed by GitHub

View File

@@ -334,13 +334,13 @@ export KUBE_PROXY_MODE=ipvs
### Cluster Created by Kubeadm
If you are using kubeadm with a [configuration file](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#config-file), you have to add `mode: ipvs` below the `kubeProxy` field as part of the kubeadm configuration.
If you are using kubeadm with a [configuration file](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#config-file), you have to add mode: ipvs in a KubeProxyConfiguration (separated by -- that is also passed to kubeadm init).
```yaml
...
kubeProxy:
config:
mode: ipvs
apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
mode: ipvs
...
```