<p>when i run this command mentioned below  <code>kubectl get po -n kube-system</code>
I get this error :: 
<strong>The connection to the server localhost:8080 was refused - did you specify the right host or port?</strong></p>

<p><code>localhost:8080</code> is the default server to connect to if there is no <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl" rel="nofollow noreferrer"><code>kubeconfig</code></a> present on your system (for the current user).</p>

<p>Follow the instructions on the page linked. You will need to execute something like:</p>

<blockquote>
  <p><code>gcloud container clusters get-credentials [CLUSTER_NAME]</code></p>
</blockquote>
