From a1dcd6f4e8aaa8ad5a8aaa8a72d482515b800055 Mon Sep 17 00:00:00 2001 From: Xiaoyu Zhang Date: Thu, 30 Mar 2017 01:28:52 +0800 Subject: [PATCH] Fix url of kubectl cmd (#3066) Fix url of kubectl cmd --- docs/concepts/cluster-administration/access-cluster.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/concepts/cluster-administration/access-cluster.md b/docs/concepts/cluster-administration/access-cluster.md index 724e8971ed..91d93fd5d9 100644 --- a/docs/concepts/cluster-administration/access-cluster.md +++ b/docs/concepts/cluster-administration/access-cluster.md @@ -53,7 +53,7 @@ Run it like this: $ kubectl proxy --port=8080 & ``` -See [kubectl proxy](/docs/user-guide/kubectl/kubectl_proxy) for more details. +See [kubectl proxy](/docs/user-guide/kubectl/v1.6/#proxy) for more details. Then you can explore the API with curl, wget, or a browser, like so: @@ -202,7 +202,7 @@ You have several options for connecting to nodes, pods and services from outside - Access services through public IPs. - Use a service with type `NodePort` or `LoadBalancer` to make the service reachable outside the cluster. See the [services](/docs/user-guide/services) and - [kubectl expose](/docs/user-guide/kubectl/kubectl_expose) documentation. + [kubectl expose](/docs/user-guide/kubectl/v1.6/#expose) documentation. - Depending on your cluster environment, this may just expose the service to your corporate network, or it may expose it to the internet. Think about whether the service being exposed is secure. Does it do its own authentication? @@ -218,7 +218,7 @@ You have several options for connecting to nodes, pods and services from outside - Only works for HTTP/HTTPS. - Described [here](#manually-constructing-apiserver-proxy-urls). - Access from a node or pod in the cluster. - - Run a pod, and then connect to a shell in it using [kubectl exec](/docs/user-guide/kubectl/kubectl_exec). + - Run a pod, and then connect to a shell in it using [kubectl exec](/docs/user-guide/kubectl/v1.6/#exec). Connect to other nodes, pods, and services from that shell. - Some clusters may allow you to ssh to a node in the cluster. From there you may be able to access cluster services. This is a non-standard method, and will work on some clusters but