You can view nodes in a cluster through commands, the Container Service console, or the Kubernetes dashboard.

Through commands

Note Before you run commands to view the nodes in a cluster, you need to Connect to Kubernetes clusters through kubectl.

Connect to the Kubernetes cluster through kubectl and run the following command to view nodes in the cluster.

kubectl get nodes

Sample responses:

$ kubectl get nodes
NAME                      STATUS    AGE       VERSION
iz2ze2n6ep53tch701y****   Ready     19m       v1.6.1-2+ed9e3d33a07093
iz2zeafr762wibijx39****   Ready     7m        v1.6.1-2+ed9e3d33a07093
iz2zeafr762wibijx39****   Ready     7m        v1.6.1-2+ed9e3d33a07093
iz2zef4dnn9nos8elyr****   Ready     14m       v1.6.1-2+ed9e3d33a07093
iz2zeitvvo8enoreufs****   Ready     11m       v1.6.1-2+ed9e3d33a07093

Through the Container Service console

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, choose Clusters > Nodes to go to the Nodes page.
  3. Select a cluster to view nodes in the cluster.
    View nodes