File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
content/en/docs/concepts/services-networking Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,13 @@ Accessing a Service without a selector works the same as if it had a selector.
255
255
In the [example](#services-without-selectors) for a Service without a selector, traffic is routed to one of the two endpoints defined in
256
256
the EndpointSlice manifest : a TCP connection to 10.1.2.3 or 10.4.5.6, on port 9376.
257
257
258
+ {{< note >}}
259
+ The Kubernetes API server does not allow proxying to endpoints that are not mapped to
260
+ pods. Actions such as `kubectl proxy <service-name>` where the service has no
261
+ selector will fail due to this constraint. This prevents the Kubernetes API server
262
+ from being used as a proxy to endpoints the caller may not be authorized to access.
263
+ {{< /note >}}
264
+
258
265
An ExternalName Service is a special case of Service that does not have
259
266
selectors and uses DNS names instead. For more information, see the
260
267
[ExternalName](#externalname) section later in this document.
You can’t perform that action at this time.
0 commit comments