Sha256: d19e890b25871989ec0e68106f0a1b180a1b694b45c95069d14f6f236db7401c
Contents?: true
Size: 1.85 KB
Versions: 1
Compression:
Stored size: 1.85 KB
Contents
# Zilla::IoK8sApiAutoscalingV2HorizontalPodAutoscalerSpec ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **behavior** | [**IoK8sApiAutoscalingV2HorizontalPodAutoscalerBehavior**](IoK8sApiAutoscalingV2HorizontalPodAutoscalerBehavior.md) | | [optional] | | **max_replicas** | **Integer** | maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. | | | **metrics** | [**Array<IoK8sApiAutoscalingV2MetricSpec>**](IoK8sApiAutoscalingV2MetricSpec.md) | metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. | [optional] | | **min_replicas** | **Integer** | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. | [optional] | | **scale_target_ref** | [**IoK8sApiAutoscalingV2CrossVersionObjectReference**](IoK8sApiAutoscalingV2CrossVersionObjectReference.md) | | | ## Example ```ruby require 'zilla' instance = Zilla::IoK8sApiAutoscalingV2HorizontalPodAutoscalerSpec.new( behavior: null, max_replicas: null, metrics: null, min_replicas: null, scale_target_ref: null ) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zilla-0.2.0 | docs/IoK8sApiAutoscalingV2HorizontalPodAutoscalerSpec.md |