Member-only story

ReplicaSet — Kubernetes

Always learning
3 min readNov 6, 2023

A Kubernetes Deployment is used to tell Kubernetes how to create or modify instances of the pods that hold a containerized application.

Deployments can scale the number of replica pods, enable the rollout of updated code in a controlled manner, or roll back to an earlier deployment version if necessary.

A ReplicaSet is a process that runs multiple instances of a Pod and keeps the specified number of Pods constant.

ReplicaSet ← Theory Part

Its purpose is to maintain the specified number of Pod instances running in a cluster at any given time to prevent users from losing access to their application when a Pod fails or is inaccessible.

A Replication Controller is a structure that enables you to easily create multiple pods, and then make sure that that number of pods always exists. If a pod does crash, the Replication Controller replaces it.

First, check any pods running on minikube

kubectl get pods

Kubernetes architecture only run

kubectl get all -A
DeployReplicaSetPod

Create a deployment.yml file

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Always learning
Always learning

Written by Always learning

கற்றுக் கொள்ளும் மாணவன்...

No responses yet

What are your thoughts?