updated vendor

This commit is contained in:
2026-06-16 08:02:19 +02:00
parent 2f7f99d3f0
commit 77299d0c64
1283 changed files with 67302 additions and 208958 deletions
+7 -1
View File
@@ -175,7 +175,7 @@ message HorizontalPodAutoscaler {
// spec is the specification for the behaviour of the 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.
@@ -248,10 +248,16 @@ 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 replicas to which the autoscaler can scale up.
// It cannot be less that minReplicas.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
// +k8s:alpha(since: "1.36")=+k8s:minimum=1
optional int32 maxReplicas = 3;
// metrics contains the specifications for which to use to calculate the
-70
View File
@@ -1,70 +0,0 @@
//go:build kubernetes_protomessage_one_more_release
// +build kubernetes_protomessage_one_more_release
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by go-to-protobuf. DO NOT EDIT.
package v2
func (*ContainerResourceMetricSource) ProtoMessage() {}
func (*ContainerResourceMetricStatus) ProtoMessage() {}
func (*CrossVersionObjectReference) ProtoMessage() {}
func (*ExternalMetricSource) ProtoMessage() {}
func (*ExternalMetricStatus) ProtoMessage() {}
func (*HPAScalingPolicy) ProtoMessage() {}
func (*HPAScalingRules) ProtoMessage() {}
func (*HorizontalPodAutoscaler) ProtoMessage() {}
func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {}
func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
func (*HorizontalPodAutoscalerList) ProtoMessage() {}
func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
func (*MetricIdentifier) ProtoMessage() {}
func (*MetricSpec) ProtoMessage() {}
func (*MetricStatus) ProtoMessage() {}
func (*MetricTarget) ProtoMessage() {}
func (*MetricValueStatus) ProtoMessage() {}
func (*ObjectMetricSource) ProtoMessage() {}
func (*ObjectMetricStatus) ProtoMessage() {}
func (*PodsMetricSource) ProtoMessage() {}
func (*PodsMetricStatus) ProtoMessage() {}
func (*ResourceMetricSource) ProtoMessage() {}
func (*ResourceMetricStatus) ProtoMessage() {}
+9 -1
View File
@@ -40,7 +40,7 @@ type HorizontalPodAutoscaler struct {
// spec is the specification for the behaviour of the autoscaler.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
// +optional
// +required
Spec HorizontalPodAutoscalerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
// status is the current information about the autoscaler.
@@ -59,10 +59,16 @@ type HorizontalPodAutoscalerSpec struct {
// 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
MinReplicas *int32 `json:"minReplicas,omitempty" protobuf:"varint,2,opt,name=minReplicas"`
// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up.
// It cannot be less that minReplicas.
// +required
// +k8s:alpha(since: "1.36")=+k8s:required
// +k8s:alpha(since: "1.36")=+k8s:minimum=1
MaxReplicas int32 `json:"maxReplicas" protobuf:"varint,3,opt,name=maxReplicas"`
// metrics contains the specifications for which to use to calculate the
@@ -444,6 +450,8 @@ const (
// ScalingLimited indicates that the calculated scale based on metrics would be above or
// below the range for the HPA, and has thus been capped.
ScalingLimited HorizontalPodAutoscalerConditionType = "ScalingLimited"
// ScaledToZero indicates that the HPA controller scaled the workload to zero.
ScaledToZero HorizontalPodAutoscalerConditionType = "ScaledToZero"
)
// HorizontalPodAutoscalerCondition describes the state of