Add details of how to use https (#9770)

Currently the documentation does not specify how to access https service. 
This change will make sure that the user knows how to use the same
This commit is contained in:
Pradheep Shrinivasan
2018-08-07 10:34:24 -05:00
committed by k8s-ci-robot
parent 966843c4e1
commit 82ba3f119b
@@ -75,7 +75,7 @@ at `https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-l
#### Manually constructing apiserver proxy URLs
As mentioned above, you use the `kubectl cluster-info` command to retrieve the service's proxy URL. To create proxy URLs that include service endpoints, suffixes, and parameters, you simply append to the service's proxy URL:
`http://`*`kubernetes_master_address`*`/api/v1/namespaces/`*`namespace_name`*`/services/`*`service_name[:port_name]`*`/proxy`
`http://`*`kubernetes_master_address`*`/api/v1/namespaces/`*`namespace_name`*`/services/`*`[https:]service_name[:port_name]`*`/proxy`
If you haven't specified a name for your port, you don't have to specify *port_name* in the URL
@@ -98,6 +98,7 @@ If you haven't specified a name for your port, you don't have to specify *port_n
"unassigned_shards" : 5
}
```
* To access the *https* Elasticsearch service health information `_cluster/health?pretty=true`, you would use: `https://104.197.5.247/api/v1/namespaces/kube-system/services/https:elasticsearch-logging/proxy/_cluster/health?pretty=true`
#### Using web browsers to access services running on the cluster