mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
revise kubeProxy filed as part of the kubeadm configuration
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
This commit is contained in:
@@ -334,13 +334,13 @@ export KUBE_PROXY_MODE=ipvs
|
|||||||
|
|
||||||
### Cluster Created by Kubeadm
|
### 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
|
```yaml
|
||||||
...
|
...
|
||||||
kubeProxy:
|
apiVersion: kubeproxy.config.k8s.io/v1alpha1
|
||||||
config:
|
kind: KubeProxyConfiguration
|
||||||
mode: ipvs
|
mode: ipvs
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user