<p>Kubectl describe nodes ?
like wise do we have any commands like mentioned below to describe cluster information ?</p>
<p>kubectl describe cluster</p>

AkhilKarumanchi
<p>&quot;Kubectl describe &lt;api-resource_type&gt; &lt;api_resource_name&gt; &quot;command is used to describe a specific resources running in your kubernetes cluster, Actually you need to verify different components separately as a developer to check your pods, nodes services and other tools that you have applied/created.</p>
<p>If you are the cluster administrator and you are asking about useful command to check the actual kube-system configuration it depends on your k8s cluster type for example if you are using &quot;kubeadm&quot; package to initialize k8s cluster  on premises you can check and change the default cluster configuration using this command  :</p>
<pre><code>kubeadm config print init-defaults 
</code></pre>
<p>after initializing your cluster all main server configurations files a.k.a manifests are located here /etc/kubernetes/manifests (and they are Realtime updated, change anything and the cluster will redeploy it automatically)</p>
<p>Useful kubectl commands :</p>
<p>For cluster infos  (api-server domain and dns) run:</p>
<pre><code>kubectl cluster-info
</code></pre>
<p>Either ways you can list all api-resources and check it one by one using these commands</p>
<pre><code>kuectl api-resources (list all api-resources names and types)
kubectl get &lt;api_resource_name&gt; (specific to your cluster)
kubectl explain &lt;api_resource_name&gt; (explain the resource object with docs link)
</code></pre>
<p>For extra infos you can add specific flags, examples:</p>
<pre><code>kubectl get nodes -o wide
kubectl get pods -n &lt;specific-name-space&gt; -o wide
kubectl describe pods &lt;pod_name&gt; 
...
</code></pre>
<p>For more informations about the kubectl command line check the <a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet/" rel="nofollow noreferrer">kubectl_cheatsheet</a></p>
