public static interface V2beta1Autoscaling.HorizontalPodAutoscalerSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxReplicas()
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up.
|
V2beta1Autoscaling.MetricSpec |
getMetrics(int index)
metrics contains the specifications for which to use to calculate the
desired replica count (the maximum replica count across all metrics will
be used).
|
int |
getMetricsCount()
metrics contains the specifications for which to use to calculate the
desired replica count (the maximum replica count across all metrics will
be used).
|
List<V2beta1Autoscaling.MetricSpec> |
getMetricsList()
metrics contains the specifications for which to use to calculate the
desired replica count (the maximum replica count across all metrics will
be used).
|
V2beta1Autoscaling.MetricSpecOrBuilder |
getMetricsOrBuilder(int index)
metrics contains the specifications for which to use to calculate the
desired replica count (the maximum replica count across all metrics will
be used).
|
List<? extends V2beta1Autoscaling.MetricSpecOrBuilder> |
getMetricsOrBuilderList()
metrics contains the specifications for which to use to calculate the
desired replica count (the maximum replica count across all metrics will
be used).
|
int |
getMinReplicas()
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.
|
V2beta1Autoscaling.CrossVersionObjectReference |
getScaleTargetRef()
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
should be collected, as well as to actually change the replica count.
|
V2beta1Autoscaling.CrossVersionObjectReferenceOrBuilder |
getScaleTargetRefOrBuilder()
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
should be collected, as well as to actually change the replica count.
|
boolean |
hasMaxReplicas()
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up.
|
boolean |
hasMinReplicas()
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.
|
boolean |
hasScaleTargetRef()
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
should be collected, as well as to actually change the replica count.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasScaleTargetRef()
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference scaleTargetRef = 1;V2beta1Autoscaling.CrossVersionObjectReference getScaleTargetRef()
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference scaleTargetRef = 1;V2beta1Autoscaling.CrossVersionObjectReferenceOrBuilder getScaleTargetRefOrBuilder()
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
optional .k8s.io.api.autoscaling.v2beta1.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. +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. +optional
optional int32 minReplicas = 2;boolean hasMaxReplicas()
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
optional int32 maxReplicas = 3;int getMaxReplicas()
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
optional int32 maxReplicas = 3;List<V2beta1Autoscaling.MetricSpec> getMetricsList()
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. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricSpec metrics = 4;V2beta1Autoscaling.MetricSpec getMetrics(int index)
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. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricSpec metrics = 4;int getMetricsCount()
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. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricSpec metrics = 4;List<? extends V2beta1Autoscaling.MetricSpecOrBuilder> getMetricsOrBuilderList()
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. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricSpec metrics = 4;V2beta1Autoscaling.MetricSpecOrBuilder getMetricsOrBuilder(int index)
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. +optional
repeated .k8s.io.api.autoscaling.v2beta1.MetricSpec metrics = 4;Copyright © 2018. All rights reserved.