From ae5f5f94f2e8a155092bcdfeb2f840d5625d57cd Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Fri, 22 Sep 2017 12:38:22 -0400 Subject: [PATCH] http proxy url (#5520) --- .../tasks/access-application-cluster/access-cluster.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/tasks/access-application-cluster/access-cluster.md b/docs/tasks/access-application-cluster/access-cluster.md index 9d218e816f..a8c0abcf89 100644 --- a/docs/tasks/access-application-cluster/access-cluster.md +++ b/docs/tasks/access-application-cluster/access-cluster.md @@ -246,6 +246,16 @@ As mentioned above, you use the `kubectl cluster-info` command to retrieve the s If you haven't specified a name for your port, you don't have to specify *port_name* in the URL. +By default, the API server proxies to your service using http. To use https, prefix the service name with `https:`: +`http://`*`kubernetes_master_address`*`/api/v1/namespaces/`*`namespace_name`*`/services/`*`https:service_name:[port_name]`*`/proxy` + +The supported formats for the name segment of the URL are: + +* `` - proxies to the default or unnamed port using http +* `:` - proxies to the specified port using http +* `https::` - proxies to the default or unnamed port using https (note the trailing colon) +* `https::` - proxies to the specified port using https + ##### Examples * To access the Elasticsearch service endpoint `_search?q=user:kimchy`, you would use: `http://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_search?q=user:kimchy`