Kubernetes Deployments
- In K8s Deployments specification we need to describe
- How many Replications of Pod
- Pod Spec
- Strategy
- Deployments internally use Replica Sets.
- In this scenario we are deploying 3 pods with your application Docker iamge and Service
- Now new version of your application with tag 1.5 is available
- Then we make changes to spec and rollout deployment
- Now, for some reason your new version rolled out is defective, but k8s deployments support undo rollout or going back to previous deployment version
- If you rollback to version the scenario looks like below