Document limitations of services without selectors (#8028)

Based on the discussion on kubernetes/kubernetes#40870, we'd better
clearly document that the endpoint IPs used by a service without
selectors cannot be virtual ones.
pull/8013/merge
Qiming 2018-04-10 04:10:11 +08:00 committed by k8s-ci-robot
parent c9d0c939df
commit 3eeefd24ea
1 changed files with 5 additions and 2 deletions

View File

@ -117,8 +117,11 @@ subsets:
- port: 9376
```
**NOTE:** Endpoint IPs may not be loopback (127.0.0.0/8), link-local
(169.254.0.0/16), or link-local multicast (224.0.0.0/24).
**NOTE** The endpoint IPs may not be loopback (127.0.0.0/8), link-local
(169.254.0.0/16), or link-local multicast (224.0.0.0/24). They cannot be the
cluster IPs of other Kubernetes services either because the `kube-proxy`
component doesn't support virtual IPs as destination yet.
{: .note}
Accessing a `Service` without a selector works the same as if it had a selector.
The traffic will be routed to endpoints defined by the user (`1.2.3.4:9376` in