Revised example proxy URL

Updated the example we provide for the proxy URL to clarify how to
prefix a service name.
This commit is contained in:
RichieEscarez 2015-05-12 10:31:59 -07:00
parent 78271e269e
commit 14d8a98737

View File

@ -34,8 +34,7 @@ $ kubectl config view
}
```
To access a service endpoint `/alpha/beta/gamma/` via the proxy service for your service `myservice` you need to specify an HTTPS address
for the Kubernetes master followed by `/api/v1beta3/proxy/namespaces/default/services/myservice/alpha/beta/gamma`.
To access a cluster service endpoint via the proxy you should prefix the name of the service with `/api/v1beta3/proxy/namespaces/default/services`, for example, `/api/v1beta3/proxy/namespaces/default/services/elasticsearch` or `/api/v1beta3/proxy/namespaces/default/services/elasticsearch/_search?q=user:kimchy`.
Here is a list of representative cluster-level system services:
```