Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

What Is a Kubernetes Cluster? Control Plane, Nodes, and Pods

See how a Kubernetes cluster turns a deployment into running Pods, routes traffic to them, and responds when one disappears.

Table of Contents

A Kubernetes cluster consists of a control plane and one or more nodes. The control plane accepts requests, tracks the desired state, and schedules workloads. Nodes run the Pods that contain your application containers.

Kubernetes Cluster Basics Picture 1

The parts of a cluster

  • Control plane: The API server accepts requests, the scheduler finds a node for each unscheduled Pod, and controllers work to bring the actual state in line with the desired state. The cluster's data is stored in etcd.
  • Node: A physical or virtual machine. Its kubelet works with a container runtime to start the containers in Pods assigned to that node.
  • Pod: The smallest deployable unit. Its one or more containers share a network identity and can share storage.
  • Service: A stable network endpoint for a group of Pods. Pod addresses can change as replicas are replaced.
  • Namespace: A logical scope for namespaced resources. Add appropriate access and network policies if you need isolation.
  • Volume: Storage made available to containers. Some volumes last only for a Pod's lifetime. Persistent storage can outlive an individual Pod.

Kubernetes Cluster Basics Picture 2

How a Deployment becomes running Pods

Suppose a Deployment asks for three replicas. Kubernetes stores that request through its API, creates Pods through a ReplicaSet, and schedules each Pod onto a node with suitable resources. If a Pod disappears, the ReplicaSet works to replace it. If a container crashes inside an existing Pod, the kubelet may restart that container according to the restart policy.

Three requested replicas may still result in fewer ready Pods. An image pull failure, a resource shortage, or a failing readiness check can prevent a replica from serving traffic.

Inspect a cluster with kubectl

On a cluster you are authorized to use, check the context before examining a deployment. Replace demo with the relevant namespace.

kubectl config current-context
kubectl get nodes
kubectl get deployments,pods,services -n demo
kubectl get events -n demo --sort-by=.metadata.creationTimestamp

Compare the Deployment's desired and ready counts. If a Pod remains pending, inspect its events before adding resources or changing the deployment. For guided practice, try the Kubernetes Fundamentals labs or plan your next topic with the Kubernetes learning roadmap. The Kubernetes component reference describes the control plane and node services in more detail.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.