Define ReplicaSets with atleast 2 example

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Replica sets is to ensure defined no. of identical pods are always available, even if some of the pods gets corrupted and becomes unavailable, it is restarted by replica sets again.

Example –

In case of node failure where 1 node fails, replica-set ensure, pods of that node is started in another node.

In case of deployment rollout, replica sets ensure new pods gets created with new version.