Course · $300 Free reference Certifications

Kubernetes basics

The core Kubernetes objects you deploy and the components that run a cluster — the foundation for KCNA and CKAD.

Advertisement · 728×90

Core objects you deploy

ObjectWhat it is
PodSmallest deployable unit — one or more containers sharing network/storage.
ReplicaSetKeeps a set number of identical Pods running.
DeploymentManages ReplicaSets — rolling updates and rollbacks.
ServiceStable network endpoint and load balancing for a set of Pods.
IngressHTTP(S) routing from outside the cluster to Services.
ConfigMap / SecretInject configuration / sensitive data into Pods.
NamespaceVirtual cluster partition for isolation and quotas.

Cluster architecture

Control planeWorker node
kube-apiserver — the front door/APIkubelet — runs Pods on the node
etcd — cluster state key-value storekube-proxy — node networking/Service routing
kube-scheduler — assigns Pods to nodescontainer runtime — e.g. containerd
controller-manager — reconciles desired state

Exam traps

  • Deploying Pods directly. Use a Deployment so failed Pods are recreated.
  • Secret = encrypted by default. Secrets are base64-encoded; enable encryption at rest.
  • Service vs Ingress. Service exposes Pods (L4); Ingress does HTTP routing (L7).
  • etcd is optional. It holds all cluster state — losing it loses the cluster.

Test yourself

4 quick questions — tap an answer to check it instantly. Nothing is sent anywhere.

1. The smallest deployable unit in Kubernetes is a…

Answer: B. A Pod (one or more containers sharing network/storage) is the smallest unit.

2. Which component stores all cluster state?

Answer: B. etcd is the key-value store holding all cluster state.

3. For rolling updates and self-healing Pods, you use a…

Answer: B. A Deployment manages ReplicaSets for rolling updates and recreates failed Pods.

4. Which runs on every worker node to manage its Pods?

Answer: B. The kubelet runs on each worker node and manages its Pods.

Sources

  1. The Kubernetes Authors — Kubernetes Concepts documentation.

Reference summary only. See kubernetes.io for authoritative documentation.