How can you get all nodes that are forming a Kubernetes cluster?

Experience Level: Junior
Tags: Kubernetes

Answer

To list all nodes, run the following command:

kubectl get nodes

Comments

No Comments Yet.
Be the first to tell us what you think.
Kubernetes
Kubernetes

Are you learning Kubernetes ? Try our test we designed to help you progress faster.

Test yourself
Kubernetes Certified Administrator (CKA) preparation
Kubernetes Certified Administrator (CKA) preparation

Are you learning Kubernetes ? Try our test we designed to help you progress faster.

Test yourself