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()
lower limit for the number of pods that can be set by the autoscaler, default 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.
|
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()
lower limit for the number of pods that can be set by the autoscaler, default 1.
|
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()
lower limit for the number of pods that can be set by the autoscaler, default 1. +optional
optional int32 minReplicas = 2;int getMinReplicas()
lower limit for the number of pods that can be set by the autoscaler, default 1. +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 © 2021. All rights reserved.