From 8eb5addaf0b82de66fcdee63f4e9d9b3fce23900 Mon Sep 17 00:00:00 2001 From: Carlos Gonzales <16719080+cargonza2016@users.noreply.github.com> Date: Mon, 12 Feb 2018 17:56:50 -0500 Subject: [PATCH] Update on install-kubectl.md (#6954) * Update on install-kubectl.md Added more info on the reason people may get "the connection to the server was refused error". It will help newbies understand the kubectl is a client that connects to a cluster. Hence, a Kubernetes cluster such as a minikube tool will be needed to verify that kubectl is functioning correctly. * updating wording to remove redundancy --- docs/tasks/tools/install-kubectl.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/tasks/tools/install-kubectl.md b/docs/tasks/tools/install-kubectl.md index 0dcd3bb15b..0c507a3dbf 100644 --- a/docs/tasks/tools/install-kubectl.md +++ b/docs/tasks/tools/install-kubectl.md @@ -154,11 +154,15 @@ kubectl cluster-info ``` If you see a URL response, kubectl is correctly configured to access your cluster. -If you see a message similar to the following, kubectl is not correctly configured: +If you see a message similar to the following, kubectl is not correctly configured or not able to connect to a Kubernetes cluster. ```shell The connection to the server was refused - did you specify the right host or port? ``` + +For example, if you are intending to run a Kubernetes cluster on your laptop (locally), you will need a tool like minikube to be installed first and then re-run the commands stated above. + + If kubectl cluster-info returns the url response but you can't access your cluster, to check whether it is configured properly, use: ```shell