ReplicaSets vs Deployments
ReplicaSet |
Deployments |
---|---|
ReplicaSet will ensure that the desired no.of pods are matching the specified no.of pods as mentioned in the yaml file |
Deployment is an advanced replication set that will manage the lifecycle of pods. |
ReplicaSet is not suitable for applications that are going to have rolling updates and rollbacks. |
Deployment supports the rolling update and rollbacks. |
Internally replica set will take care of pods and pods will take care of containers |
Internally deployment is going to take care of replica set and the replica set will take care of the pod. |
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.