Use Cases of Kubernetes Deployments
- Rollout a ReplicaSet: A Kubernetes deployment generates a replica set a pod that contains information regarding the number of pos to be generated in the background.
- Declaring a New State of Pods: On updating pod template spec a new replica set is created and deployment moves pods from the old replica set to the new replica set.
- Scaling: Deployment can be configured to scale up to facilitate more load.
- Status of Deployment: It can be used to check if the deployment is stuck somewhere by matching the current status with the desired status.
- Cleaning up old Replica Sets that are no more required.
What is Kubernetes Deployment?
Kubernetes is an open-source Container Management tool that automates container deployment, container scaling, descaling, and container load balancing (also called as container orchestration tool). It is written in Golang and has a huge community because it was first developed by Google and later donated to CNCF (Cloud Native Computing Foundation). Deployment is an abstraction layer over pods. It is like a blueprint for creating pods.