Skip to content
Docs Try Aspire

ReplicaSet

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a Kubernetes ReplicaSet resource in the `apps/v1` API version.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ReplicaSet
: Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
{
// ...
}
A ReplicaSet ensures that a specified number of pod replicas are running at any given time. It is commonly used to maintain the desired state of a workload by managing the lifecycle of pods.