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 @@ -183,6 +183,13 @@ Accessing a Service without a selector works the same as if it had a selector.
183
183
In the example above, traffic is routed to the single endpoint defined in
184
184
the YAML : ` 192.0.2.42:9376` (TCP).
185
185
186
+ {{< note >}}
187
+ The Kubernetes API server does not allow proxying to endpoints that are not mapped to
188
+ pods. Actions such as `kubectl proxy <service-name>` where the service has no
189
+ selector will fail due to this constraint. This prevents the Kubernetes API server
190
+ from being used as a proxy to endpoints the caller may not be authorized to access.
191
+ {{< /note >}}
192
+
186
193
An ExternalName Service is a special case of Service that does not have
187
194
selectors and uses DNS names instead. For more information, see the
188
195
[ExternalName](#externalname) section later in this document.
You can’t perform that action at this time.
0 commit comments