Kubernetes Tutorials
A full Kubernetes basics course: pods, deployments, services, kubectl, logs, and scaling.
This course includes 14 lessons grouped from first steps to more capable workflows. Work through a group in order, or jump to the task you need today. Every lesson includes explanations, copyable examples, and tips written for beginners.
Cheatsheet · Search this course · IT & cloud category · All categories
Getting started
Topic pageWorkloads
Topic page- PodsMeet the smallest deployable unit: a pod wrapping one or more containers.
- DeploymentsUse a Deployment to keep a desired number of pod replicas running and update them safely.
- ServicesExpose pods on a stable virtual IP and DNS name inside the cluster.
- Labels and SelectorsTag objects with labels and use selectors so Services and Deployments find the right pods.
Configuration
Topic page- NamespacesSeparate resources into namespaces for organization and safer experiments.
- ConfigMapsStore non-secret configuration and mount or inject it into pods.
- Secrets IntroStore sensitive values as Secrets and treat them carefully even in learning clusters.
- Volumes IntroAttach storage to pods so data can outlive a single container filesystem.
Day-2 operations
Topic page- Logs and ExecRead container logs and open a shell in a running pod for debugging.
- ScalingChange replica counts so Deployments run more or fewer pods.
- YAML and kubectl applyDeclare desired state in YAML files and apply them declaratively.
- Next StepsReview beginner Kubernetes skills and choose safe topics to learn next.