@@ -70,10 +70,10 @@ Note that the kube-proxy starts up in different modes, which are determined by i
70
70
This (legacy) mode uses iptables to install interception rules, and then performs
71
71
traffic forwarding with the assistance of the kube-proxy tool.
72
72
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
74
74
opens a port (randomly chosen) on the local node. Any connections to this _ proxy port_
75
75
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
77
77
account when deciding which backend Pod to use.
78
78
79
79
The user-space proxy installs iptables rules which capture traffic to the
@@ -121,7 +121,7 @@ a load balancer or node-port.
121
121
### ` iptables ` proxy mode {#proxy-mode-iptables}
122
122
123
123
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
125
125
iptables rules, which capture traffic to the Service's ` clusterIP ` and ` port ` ,
126
126
and redirect that traffic to one of the Service's
127
127
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
171
171
172
172
### IPVS proxy mode {#proxy-mode-ipvs}
173
173
174
- In ` ipvs ` mode, kube-proxy watches Kubernetes Services and Endpoints ,
174
+ In ` ipvs ` mode, kube-proxy watches Kubernetes Services and EndpointSlices ,
175
175
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.
177
177
This control loop ensures that IPVS status matches the desired
178
178
state.
179
179
When accessing a Service, IPVS directs traffic to one of the backend Pods.
0 commit comments