ReplicaSetSpecV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the specification for a Kubernetes ReplicaSet.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class ReplicaSetSpecV1
[<YamlDotNet.Serialization.YamlSerializable>]
type ReplicaSetSpecV1 = class
Public NotInheritable Class ReplicaSetSpecV1
- Inheritance
-
ReplicaSetSpecV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
A ReplicaSet ensures that a specified number of pod replicas are running at any given time. This specification provides the desired state for a ReplicaSet, including pod templates, replica count, and label selectors.
Constructors
ReplicaSetSpecV1() |
Properties
MinReadySeconds |
Specifies the minimum time, in seconds, a pod should remain in the Ready state before it is considered available. |
Replicas |
Gets or sets the desired number of replicas for the ReplicaSet. |
Selector |
Gets or sets the label selector for this ReplicaSet specification. This selector is used to identify and target which set of Pods the ReplicaSet will manage. |
Template |
Gets or sets the template that defines the specification of the pods to be created. |