Skip to content
Docs Try Aspire
Docs Try

ReplicaSet

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