updated vendor
This commit is contained in:
+9
-3
@@ -148,7 +148,7 @@ message HorizontalPodAutoscaler {
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
||||
// +optional
|
||||
// +required
|
||||
optional HorizontalPodAutoscalerSpec spec = 2;
|
||||
|
||||
// status is the current information about the autoscaler.
|
||||
@@ -202,9 +202,15 @@ message HorizontalPodAutoscalerSpec {
|
||||
// metric is configured. Scaling is active as long as at least one metric value is
|
||||
// available.
|
||||
// +optional
|
||||
// +k8s:alpha(since: "1.36")=+k8s:optional
|
||||
// +k8s:alpha(since: "1.36")=+k8s:ifEnabled(HPAScaleToZero)=+k8s:minimum=0
|
||||
// +k8s:alpha(since: "1.36")=+k8s:ifDisabled(HPAScaleToZero)=+k8s:minimum=1
|
||||
optional int32 minReplicas = 2;
|
||||
|
||||
// maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
|
||||
// +required
|
||||
// +k8s:alpha(since: "1.36")=+k8s:required
|
||||
// +k8s:alpha(since: "1.36")=+k8s:minimum=1
|
||||
optional int32 maxReplicas = 3;
|
||||
|
||||
// targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods;
|
||||
@@ -472,9 +478,9 @@ message Scale {
|
||||
message ScaleSpec {
|
||||
// replicas is the desired number of instances for the scaled object.
|
||||
// +optional
|
||||
// +k8s:optional
|
||||
// +k8s:alpha(since: "1.36")=+k8s:optional
|
||||
// +default=0
|
||||
// +k8s:minimum=0
|
||||
// +k8s:alpha(since: "1.36")=+k8s:minimum=0
|
||||
optional int32 replicas = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user