HorizontalPodAutoscalerSpec constructor
const
HorizontalPodAutoscalerSpec({
- required int maxReplicas,
- int? minReplicas,
- required CrossVersionObjectReference scaleTargetRef,
- int? targetCPUUtilizationPercentage,
Default constructor.
Implementation
const HorizontalPodAutoscalerSpec({
required this.maxReplicas,
this.minReplicas,
required this.scaleTargetRef,
this.targetCPUUtilizationPercentage,
});