Kubernetes: first deployment
Understand containers and Kubernetes building blocks, deploy and expose an app, configure it, and debug the most common pod failures.
Beginner, 9 steps, about 9 hours
- Docker basics: images, containers and the commands you need Kubernetes runs containers, so get comfortable with images and containers first. Article CMP 0055
- Kubernetes architecture: control plane, nodes, kubelet and etcd Get a mental map of the cluster so later commands make sense. Article CMP 0131
- Pods, ReplicaSets and Deployments explained Focus on why you create Deployments and almost never bare Pods. Article CMP 0132
- kubectl cheat sheet: the commands you use every day Keep it at hand; get, describe and logs will be your main tools. Article CMP 0140
- Deploy your first app on Kubernetes Put the concepts to work with a real Deployment you can scale. Article CMP 0135
- Services and Ingress: exposing an app in Kubernetes Make the app reachable, first inside the cluster and then from outside. Article CMP 0133
- ConfigMaps and Secrets: configuration outside the image Move settings out of the image so the same image runs anywhere. Article CMP 0134
- Fix: CrashLoopBackOff in Kubernetes Learn the debugging routine for the error you will see most often. Article CMP 0143
- Learn Kubernetes on your laptop with kind: from first cluster to Ingress Capstone: build a local cluster and take an app all the way to Ingress. Article CMP 0251