Skip to content

Commit b60c0b5

Browse files
committed
small cleanup for ipvs readme
1 parent 1d40721 commit b60c0b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/proxy/ipvs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 match-set KUBE-LOA
183183
**4. NodePort type service**
184184

185185
For NodePort type service, IPVS proxier will install IPTABLES with match of ipset `KUBE-NODE-PORT-TCP/KUBE-NODE-PORT-UDP`.
186-
When specified `externalTrafficPolicy=local`, IPVS proxier will create ipset sets `KUBE-NODE-PORT-LOCAL-TC/KUBE-NODE-PORT-LOCAL-UDP`
186+
When specified `externalTrafficPolicy=local`, IPVS proxier will create ipset sets `KUBE-NODE-PORT-LOCAL-TCP/KUBE-NODE-PORT-LOCAL-UDP`
187187
and install IPTABLES accordingly, which should looks like what is shown below.
188188

189189
Suppose service with TCP type nodePort.
@@ -323,7 +323,7 @@ export KUBE_PROXY_MODE=ipvs
323323

324324
### GCE Cluster
325325

326-
Similar to local-up cluster, kube-proxy in [clusters running on GCE](https://kubernetes.io/docs/getting-started-guides/gce/) run in IPTABLES mode by default. Users need to export the env `KUBE_PROXY_MODE=ipvs` before [starting a cluster](https://kubernetes.io/docs/getting-started-guides/gce/#starting-a-cluster):
326+
Similar to local-up cluster, kube-proxy in [clusters running on GCE](https://kubernetes.io/docs/getting-started-guides/gce/) run in IPTABLES mode by default. Users need to export the env `KUBE_PROXY_MODE=ipvs` before [starting a cluster](https://kubernetes.io/docs/getting-started-guides/gce/#starting-a-cluster):
327327
```shell
328328
#before running one of the commands chosen to start a cluster:
329329
# curl -sS https://get.k8s.io | bash
@@ -369,7 +369,7 @@ Prot LocalAddress:Port Scheduler Flags
369369
TCP 10.0.0.1:443 rr persistent 10800
370370
-> 192.168.0.1:6443 Masq 1 1 0
371371
```
372-
or similar logs occur in kube-proxy logs (for example, `/tmp/kube-proxy.log` for local-up cluster) when the local cluster is running:
372+
or similar logs occur in kube-proxy logs (for example, `/tmp/kube-proxy.log` for local-up cluster) when the local cluster is running:
373373
```
374374
Using ipvs Proxier.
375375
```

0 commit comments

Comments
 (0)