Kubernetes ReplicaSet

From NovaOrdis Knowledge Base
Revision as of 00:08, 13 July 2023 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.