diff --git a/docs/user-guide/connecting-to-applications-port-forward.md b/docs/user-guide/connecting-to-applications-port-forward.md index 0fa65dee2b2..2a666e3e762 100644 --- a/docs/user-guide/connecting-to-applications-port-forward.md +++ b/docs/user-guide/connecting-to-applications-port-forward.md @@ -39,3 +39,6 @@ Now one can debug the database from the local workstation. [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/connecting-to-applications-2.md?pixel)]() + + +[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/connecting-to-applications-port-forward.md?pixel)]() diff --git a/docs/user-guide/connecting-to-applications-proxy.md b/docs/user-guide/connecting-to-applications-proxy.md index d473ed18e83..b66c99fb5a3 100644 --- a/docs/user-guide/connecting-to-applications-proxy.md +++ b/docs/user-guide/connecting-to-applications-proxy.md @@ -17,7 +17,10 @@ The above proxy URL is an access to the kube-ui service provided by the apiserve $ kubectl proxy --port=8001 Starting to serve on localhost:8001 ``` -Now you can access the kube-ui service on your local workstation at http://localhost:8001/api/v1/proxy/namespaces/kube-system/services/kube-ui +Now you can access the kube-ui service on your local workstation at [http://localhost:8001/api/v1/proxy/namespaces/kube-system/services/kube-ui](http://localhost:8001/api/v1/proxy/namespaces/kube-system/services/kube-ui) [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/connecting-to-applications-1.md?pixel)]() + + +[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/connecting-to-applications-proxy.md?pixel)]() diff --git a/docs/user-guide/getting-into-containers.md b/docs/user-guide/getting-into-containers.md index f215d003ddf..edb244c1a15 100644 --- a/docs/user-guide/getting-into-containers.md +++ b/docs/user-guide/getting-into-containers.md @@ -45,5 +45,12 @@ $ kubectl exec storage ls /data redis ``` +## Using kubectl exec to open a bash terminal in a pod +After all, open a terminal in a pod is the most direct way to introspect the pod. Assuming the pod/storage is still running, run +``` +$ kubectl exec -ti storage -- bash +root@storage:/data# +``` +This gets you a terminal. [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/getting-into-containers.md?pixel)]()