HorizontalPodAutoscalerSpec constructor
const
HorizontalPodAutoscalerSpec({
- HorizontalPodAutoscalerBehavior? behavior,
- required int maxReplicas,
- List<
MetricSpec> ? metrics, - int? minReplicas,
- required CrossVersionObjectReference scaleTargetRef,
Default constructor.
Implementation
const HorizontalPodAutoscalerSpec({
this.behavior,
required this.maxReplicas,
this.metrics,
this.minReplicas,
required this.scaleTargetRef,
});