Sha256: 6923b0f07d24ee278a96b94f0af9b8cdc4c1ddaa478ebc744273d205943ba7d2
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
# Zilla::IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **max_replicas** | **Integer** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. | | | **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** | [**IoK8sApiAutoscalingV1CrossVersionObjectReference**](IoK8sApiAutoscalingV1CrossVersionObjectReference.md) | | | | **target_cpu_utilization_percentage** | **Integer** | target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. | [optional] | ## Example ```ruby require 'zilla' instance = Zilla::IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.new( max_replicas: null, min_replicas: null, scale_target_ref: null, target_cpu_utilization_percentage: null ) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zilla-0.2.0 | docs/IoK8sApiAutoscalingV1HorizontalPodAutoscalerSpec.md |