node
What is node?
node: A worker machine (VM or physical) that runs Pods. Each node runs the kubelet and a container runtime. A node in Kubernetes is a worker machine that runs pods. Each node runs the kubelet, which talks to the control plane, and a container runtime that actually starts the containers. kubectl get nodes shows the nodes and their status, and kubectl describe node shows details such as capacity, current usage and the pods running there. On managed clusters, nodes are grouped in node pools that you can resize.
Frequently asked questions about node
What should you keep in mind with node?
When pods are stuck in Pending, the nodes often lack free CPU or memory for the pods' requests. Adding a node or rightsizing requests helps. Keep some spare capacity, because during rolling updates old and new pods run side by side for a while. Draining a node with kubectl drain moves its pods elsewhere before maintenance.
What does an example of node look like?
kubectl get nodes -o wide kubectl describe node ip-10-0-1-23 At a glance
| Category | Kubernetes |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |