Kubernetes ReplicaSet: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
A ReplicaSet is a [[Kubernetes_Workload_Resources#Overview|workload resource]] aimed at maintaining a stable set of replica Pods running at any given time, guaranteeing the availability of a specified number of identical Pods. | |||
=Replicaset Controller= | =Replicaset Controller= |
Revision as of 00:08, 13 July 2023
External
Internal
Overview
A ReplicaSet is a workload resource aimed at maintaining a stable set of replica Pods running at any given time, guaranteeing the availability of a specified number of identical Pods.
Replicaset Controller
The replicaset controller is part of the controller manager. The controller implements a watch loop that is constantly observing the cluster making sure that the current state matches the desired state - the desired number of pods.
Scaling
A ReplicaSet has a Scale sub-resource, allowing it to be controlled by a horizontal pod autoscaler.