Introduction
Explore Kubernetes deployments and understand how they manage pods by rescheduling when needed. Learn to scale applications, handle zero-downtime rollouts, perform version rollbacks, and deploy a simple Ruby app packaged as a Docker image to solidify core deployment concepts.
We'll cover the following...
We'll cover the following...
Introduction to Deployment
We saw that when a pod dies, either because we manually kill it or because something unexpected happens, Kubernetes will not automatically reschedule it.
That’s one of the reasons why we will almost never run pods directly. We will almost always want to manage pods with another Kubernetes resource called Deployment. Other than making sure our pods are rescheduled when they die, deployments will also help us with several other things:
- We can use