Skip to content
DocsTry Aspire
DocsTry

ReplicaSetSpecV1

Classsealednet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
Defines the specification for a Kubernetes ReplicaSet.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ReplicaSetSpecV1
{
// ...
}
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.
View all constructors
MinReadySecondsget; set
int?
Specifies the minimum time, in seconds, a pod should remain in the Ready state before it is considered available.
Replicasget; set
int?
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.
View all properties