Kubernetes & Operations
What Kubernetes is and why one container is not enough
One container on one machine is easy. Fifty containers on ten machines that fail at random is a different job, and Kubernetes is the program that does it.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kubernetes & Operations
- Cluster architecture: control plane, nodes, kubelet and etcdBeginner · 6 min
You type one kubectl command and three containers appear on machines you never named. Six small programs made that happen, and knowing which one failed is most of…
- kubectl: get, describe, logs, exec, apply and namespacesBeginner · 5 min
Six verbs and one flag cover most of a Kubernetes day. The flag, -n, is also the reason a healthy app can look missing.
- Pod lifecycle and phases: Pending, Running, CrashLoopBackOffBeginner · 5 min
kubectl get pods prints one word per Pod, but that word is not the Pod's phase. Knowing the difference tells you whether to look at scheduling, the image, or your own…
- kubectl rollout: status, history and undoBeginner · 5 min
Three subcommands turn a bad deploy into a two-minute fix, and one limit of rollback, what it does not revert, is the part interviewers ask about.