Kubectl: Get Nodes – List Nodes – Kubernetes

A Node in Kubernetes is a worker machine (virtual or physical), managed by the control plane.

Each Node contains the services necessary to run Pods: docker, kubelet and kube-proxy.

This guide describes how list Nodes in Kubernetes and how to get extended information about them using the kubectl command.

Cool Tip: List Pods in Kubernetes cluster! Read more →

Get Nodes using Kubectl

Get a list of all Nodes in Kubernetes:

$ kubectl get nodes
$ kubectl get nodes -o wide
Option Description
-o wide, --output wide Set output format to “wide”

Get detailed information about a Node:

$ kubectl describe node <node_name>

List all Nodes with detailed information about each of them:

$ kubectl describe nodes

Cool Tip: List Namespaces in Kubernetes cluster! Read more →

Was it useful? Share this post with the world!

Leave a Reply