Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

HorizontalPodAutoscalerSpecV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Specifies the desired behavior of a Horizontal Pod Autoscaler in Kubernetes for the autoscaling/v1 version.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HorizontalPodAutoscalerSpecV1
{
// ...
}
The HorizontalPodAutoscalerSpecV1 class defines the configuration for automatically scaling the number of pods based on observed metrics such as CPU utilization. It specifies the target resource to be scaled, the minimum and maximum number of replicas, and the desired CPU utilization threshold for scaling decisions.
View all constructors
View all properties