<p>Would like to know if anyone has experienced the point of need to call kubectl commands from the node?</p>
<p>What i'm trying to do for this example is to access the master from the node and get some valuable information.</p>
<pre><code> bafontainha ~ kubectl get pods --server https://localhost:6443 --insecure-skip-tls-verify=true 
               Please enter Username: service-account
               Please enter Password: error: the server doesn't have a resource type &quot;pods&quot;
</code></pre>

Bruno
<p><code>kubectl</code> need either a bearer token passed inline or a <code>kubeconfig</code> file with a token or a certificate to authenticate the client to the Kubernetes API Server.</p>
<p>By giving <code>--insecure-skip-tls-verify=true</code> kubectl will not verify the API Server endpoints authenticity but that does not mean that you can call Kubernetes API without a valid bearer token or a client certificate which essentially proves the identity of the client calling the API Server.</p>
<p>I think the easiest option would be just copy the working kubeconfig file to the node VM into <code>.kube/config</code> location and execute <code>kubectl get pods</code></p>
