ReplicaSetSpecV1
Class sealed net10.0
Defines the specification for a Kubernetes ReplicaSet.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ReplicaSetSpecV1{ // ...} 5 members
Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesMinReadySecondsget; setint? Specifies the minimum time, in seconds, a pod should remain in the Ready state before it is considered available.
Replicasget; setint? Gets or sets the desired number of replicas for the ReplicaSet.
Selectorget; set 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.
Templateget; set Gets or sets the template that defines the specification of the pods to be created.