Skip to content
Docs Try Aspire

ReplicaSetSpecV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
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.