Kubernetes runs containers across many machines and keeps them running. It is the standard tool for managing containerised applications, and DevOps learners meet it early.
The main objects
- Pod: the smallest unit, usually one container.
- Deployment: keeps the right number of pods running and updates them.
- Service: gives pods a stable address.
What a cluster does
A cluster has a control plane that decides where pods run, and worker machines that run them. If a pod or machine fails, Kubernetes starts a replacement.
A first try
Install a local cluster tool, create a deployment from a simple image, expose it as a service, and scale it from two to four pods.
Common beginner mistakes
- Confusing a pod with a deployment.
- Forgetting resource limits, so one app uses all the memory.
- Changing a running pod by hand instead of changing the deployment file.
Next step: see our cloud, AWS and DevOps course at ScholarLogic, or book a free demo class. A counsellor will share the fee and the next batch dates.
