public static interface V1Autoscaling.HorizontalPodAutoscalerSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
|
int |
getMinReplicas()
minReplicas is the lower limit for the number of replicas to which the autoscaler
can scale down.
|
V1Autoscaling.CrossVersionObjectReference |
getScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
and will set the desired number of pods by using its Scale subresource.
|
V1Autoscaling.CrossVersionObjectReferenceOrBuilder |
getScaleTargetRefOrBuilder()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
and will set the desired number of pods by using its Scale subresource.
|
int |
getTargetCPUUtilizationPercentage()
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.
|
boolean |
hasMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
|
boolean |
hasMinReplicas()
minReplicas is the lower limit for the number of replicas to which the autoscaler
can scale down.
|
boolean |
hasScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
and will set the desired number of pods by using its Scale subresource.
|
boolean |
hasTargetCPUUtilizationPercentage()
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference scaleTargetRef = 1;
V1Autoscaling.CrossVersionObjectReference getScaleTargetRef()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference scaleTargetRef = 1;
V1Autoscaling.CrossVersionObjectReferenceOrBuilder getScaleTargetRefOrBuilder()
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference scaleTargetRef = 1;
boolean hasMinReplicas()
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
optional int32 minReplicas = 2;int getMinReplicas()
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
optional int32 minReplicas = 2;boolean hasMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
optional int32 maxReplicas = 3;int getMaxReplicas()
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
optional int32 maxReplicas = 3;boolean hasTargetCPUUtilizationPercentage()
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
optional int32 targetCPUUtilizationPercentage = 4;int getTargetCPUUtilizationPercentage()
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
optional int32 targetCPUUtilizationPercentage = 4;Copyright © 2023. All rights reserved.