Deployments and ReplicaSets
Part of the Kubernetes course
You saw it yourself at the end of the last lesson: delete a bare Pod, or let it crash, and nothing brings it back. That is fine for a five minute experiment and useless for anything you actually care about keeping running. Nobody wants to sit at a terminal watching kubectl get pods so they can manually re-apply the moment something dies.
That something is a Deployment. It is the object almost every real Kubernetes workload is built from, and everything you learned about writing a manifest and running kubectl apply still applies, you are just describing a bigger goal this time. ...
Want to learn Kubernetes Deployments and ReplicaSets in a real environment?
Click below, get a fresh Linux box with Kubernetes ready to go, and work through Deployments and ReplicaSets hands-on with an AI tutor that knows your code.
Start this lessonDeployments and ReplicaSetsWhat you'll learn
- Deployment manifest
- Replicas
- ReplicaSet
- Rolling updates
- Rollout status
- Rollout undo
Read this lesson in your language
All lessons in this course
14 lessons- 1What is Kubernetes25 min
- 2Your First Pod30 min
- 3Deployments and ReplicaSets35 min
- 4Services35 min
- 5Probes and Self-Healing35 min
- 6ConfigMaps and Secrets35 min
- 7Volumes and Persistent Storage35 min
- 8Namespaces and Labels25 min
- 9Ingress35 min
- 10Helm Basics35 min
- 11Scaling and HPA30 min
- 12RBAC35 min
- 13Observability30 min
- 14Capstone: Deploy a Stack60 min
