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: content/en/docs/concepts/architecture/cloud-controller.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ routes appropriately. It requires Get access to Node objects.
107
107
108
108
### Service controller {#authorization-service-controller}
109
109
110
-
The service controller listens to Service object Create, Update and Delete events and then configures Endpoints for those Services appropriately.
110
+
The service controller listens to Service object Create, Update and Delete events and then configures Endpoints for those Services appropriately (for EndpointSlices, the kube-controller-manager manages these on demand).
111
111
112
112
To access Services, it requires List, and Watch access. To update Services, it requires Patch and Update access.
The endpoint IPs _must not_ be: loopback (127.0.0.0/8 for IPv4, ::1/128 for IPv6), or
215
232
link-local (169.254.0.0/16 and 224.0.0.0/24 for IPv4, fe80::/64 for IPv6).
216
233
217
-
Endpoint IP addresses cannot be the cluster IPs of other Kubernetes Services,
234
+
The endpoint IP addresses cannot be the cluster IPs of other Kubernetes Services,
218
235
because {{< glossary_tooltip term_id="kube-proxy" >}} doesn't support virtual IPs
219
236
as a destination.
220
237
{{< /note >}}
221
238
222
-
Accessing a Service without a selector works the same as if it had a selector.
223
-
In the example above, traffic is routed to the single endpoint defined in
224
-
the YAML: `192.0.2.42:9376`(TCP).
239
+
For an EndpointSlice that you create yourself, or in your own code,
240
+
you should also pick a value to use for the [`endpointslice.kubernetes.io/managed-by`](/docs/reference/labels-annotations-taints/#endpointslicekubernetesiomanaged-by) label.
241
+
If you create your own controller code to manage EndpointSlices, consider using a
242
+
value similar to `"my-domain.example/name-of-controller"`. If you are using a third
243
+
party tool, use the name of the tool in all-lowercase and change spaces and other
244
+
punctuation to dashes (`-`).
245
+
If people are directly using a tool such as `kubectl` to manage EndpointSlices,
246
+
use a name that describes this manual management, such as `"staff"` or
247
+
`"cluster-admins"`. You should
248
+
avoid using the reserved value `"controller"`, which identifies EndpointSlices
249
+
managed by Kubernetes' own control plane.
225
250
226
-
{{< note >}}
227
-
The Kubernetes API server does not allow proxying to endpoints that are not mapped to
228
-
pods. Actions such as `kubectl proxy <service-name>` where the service has no
229
-
selector will fail due to this constraint. This prevents the Kubernetes API server
230
-
from being used as a proxy to endpoints the caller may not be authorized to access.
231
-
{{< /note >}}
251
+
#### Accessing a Service without a selector {#service-no-selector-access}
252
+
253
+
Accessing a Service without a selector works the same as if it had a selector.
254
+
In the [example](#services-without-selectors) for a Service without a selector, traffic is routed to one of the two endpoints defined in
255
+
the EndpointSlice manifest: a TCP connection to 10.1.2.3 or 10.4.5.6, on port 9376.
232
256
233
257
An ExternalName Service is a special case of Service that does not have
234
258
selectors and uses DNS names instead. For more information, see the
235
259
[ExternalName](#externalname) section later in this document.
236
260
237
-
### Over Capacity Endpoints
238
-
If an Endpoints resource has more than 1000 endpoints then a Kubernetes v1.22 (or later)
239
-
cluster annotates that Endpoints with `endpoints.kubernetes.io/over-capacity: truncated`.
240
-
This annotation indicates that the affected Endpoints object is over capacity and that
241
-
the endpoints controller has truncated the number of endpoints to 1000.
0 commit comments