<p>I have deployed 1 master and 3 nodes on VM's.
I can run successfully &quot;kubectl&quot; command on the server's SSH CLI. I can deploy pods, all fine.</p>
<p>But I couldn't find how can I run &quot;kubectl&quot; command from my local and manage the K8S cluster? How can I do that?</p>
<p>Thanks!</p>

yatta
<p>You might have a kubeconfig file somewhere on the VMs. You can copy this one to your local device under <code>$HOME/.kube/config</code>, so kubectl knows how to access the cluster.</p>
<p>For more information, see the <a href="https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/" rel="nofollow noreferrer">kubernetes documentation</a>.</p>
