Skip to content
DocsTry Aspire
DocsTry

ReplicaSet

Classsealednet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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.