Skip to content
Docs Try Aspire

ReplicaSet

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