Skip to content

Commit d760176

Browse files
author
Tim Bannister
committed
Document kube-proxy querying EndpointSlices
The Endpoints API is deprecated; adjust docs to match.
1 parent 1d68a02 commit d760176

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/reference/networking/virtual-ips.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ Note that the kube-proxy starts up in different modes, which are determined by i
7070
This (legacy) mode uses iptables to install interception rules, and then performs
7171
traffic forwarding with the assistance of the kube-proxy tool.
7272
The kube-procy watches the Kubernetes control plane for the addition, modification
73-
and removal of Service and Endpoints objects. For each Service, the kube-proxy
73+
and removal of Service and EndpointSlice objects. For each Service, the kube-proxy
7474
opens a port (randomly chosen) on the local node. Any connections to this _proxy port_
7575
are proxied to one of the Service's backend Pods (as reported via
76-
Endpoints). The kube-proxy takes the `sessionAffinity` setting of the Service into
76+
EndpointSlices). The kube-proxy takes the `sessionAffinity` setting of the Service into
7777
account when deciding which backend Pod to use.
7878

7979
The user-space proxy installs iptables rules which capture traffic to the
@@ -121,7 +121,7 @@ a load balancer or node-port.
121121
### `iptables` proxy mode {#proxy-mode-iptables}
122122

123123
In this mode, kube-proxy watches the Kubernetes control plane for the addition and
124-
removal of Service and Endpoints objects. For each Service, it installs
124+
removal of Service and EndpointSlice objects. For each Service, it installs
125125
iptables rules, which capture traffic to the Service's `clusterIP` and `port`,
126126
and redirect that traffic to one of the Service's
127127
backend sets. For each endpoint, it installs iptables rules which
@@ -171,9 +171,9 @@ through a load-balancer, though in those cases the client IP address does get al
171171

172172
### IPVS proxy mode {#proxy-mode-ipvs}
173173

174-
In `ipvs` mode, kube-proxy watches Kubernetes Services and Endpoints,
174+
In `ipvs` mode, kube-proxy watches Kubernetes Services and EndpointSlices,
175175
calls `netlink` interface to create IPVS rules accordingly and synchronizes
176-
IPVS rules with Kubernetes Services and Endpoints periodically.
176+
IPVS rules with Kubernetes Services and EndpointSlices periodically.
177177
This control loop ensures that IPVS status matches the desired
178178
state.
179179
When accessing a Service, IPVS directs traffic to one of the backend Pods.

0 commit comments

Comments
 (0)