You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/proxy/ipvs/README.md
+3-16Lines changed: 3 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -334,29 +334,20 @@ export KUBE_PROXY_MODE=ipvs
334
334
335
335
### Cluster Created by Kubeadm
336
336
337
-
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`and also add `SupportIPVSProxyMode: true`below the `kubeProxy` field as part of the kubeadm configuration.
337
+
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.
338
338
339
339
```yaml
340
340
...
341
341
kubeProxy:
342
342
config:
343
-
featureGates:
344
-
SupportIPVSProxyMode: true
345
343
mode: ipvs
346
344
...
347
345
```
348
-
Note that in Kubernetes 1.11 and later, `SupportIPVSProxyMode` is set to `true` by default.
349
346
350
347
before running
351
348
352
349
`kube init --config <path_to_configuration_file>`
353
350
354
-
If you are using Kubernetes v1.8, you can also add the flag `--feature-gates=SupportIPVSProxyMode=true` (deprecated since v1.9) in `kubeadm init` command
to specify the ipvs mode before deploying the cluster.
361
352
362
353
**Notes**
@@ -412,14 +403,10 @@ UDP 10.0.0.10:53 rr
412
403
413
404
Use the following check list to help you solve the problems:
414
405
415
-
**1. Enable IPVS feature gateway**
416
-
417
-
For Kubernetes v1.10 and later, feature gate `SupportIPVSProxyMode` is set to `true` by default. However, you need to enable `--feature-gates=SupportIPVSProxyMode=true` explicitly for Kubernetes before v1.10.
418
-
419
-
**2. Specify proxy-mode=ipvs**
406
+
**1. Specify proxy-mode=ipvs**
420
407
421
408
Check whether the kube-proxy mode has been set to `ipvs`.
422
409
423
-
**3. Install required kernel modules and packages**
410
+
**2. Install required kernel modules and packages**
424
411
425
412
Check whether the IPVS required kernel modules have been compiled into the kernel and packages installed. (see Prerequisite)
0 commit comments