<p>I installed the Kubernetes and performed kubeadm init and join from the worker too. But when i run kubectl get nodes it gives the following response</p>

<p>the server doesn't have a resource type "nodes"</p>

<p>What might be the problem here? COuld not see anything in the /var/log/messages </p>

<p>Any hints here?</p>

<p>In my case, I wanted to see the description of my pods.</p>
<p>When I used <code>kubectl describe postgres-deployment-866647ff76-72kwf</code>, the error said <strong>error: the server doesn't have a resource type &quot;postgres-deployment-866647ff76-72kwf&quot;</strong>.</p>
<p>I corrected it by adding <code>pod</code>, before the pod name, as follows:</p>
<pre><code>kubectl describe pod postgres-deployment-866647ff76-72kwf
</code></pre>
