mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #100318 from lyft/hpa-v2beta2-opt-conditions
Mark v2beta1 and v2beta2 HPA status conditions as optional
This commit is contained in:
commit
a8cf023abc
6
api/openapi-spec/swagger.json
generated
6
api/openapi-spec/swagger.json
generated
@ -2534,8 +2534,7 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"currentReplicas",
|
"currentReplicas",
|
||||||
"desiredReplicas",
|
"desiredReplicas"
|
||||||
"conditions"
|
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
@ -3093,8 +3092,7 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"currentReplicas",
|
"currentReplicas",
|
||||||
"desiredReplicas",
|
"desiredReplicas"
|
||||||
"conditions"
|
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
@ -248,6 +248,7 @@ message HorizontalPodAutoscalerStatus {
|
|||||||
|
|
||||||
// conditions is the set of conditions required for this autoscaler to scale its target,
|
// conditions is the set of conditions required for this autoscaler to scale its target,
|
||||||
// and indicates whether or not those conditions are met.
|
// and indicates whether or not those conditions are met.
|
||||||
|
// +optional
|
||||||
repeated HorizontalPodAutoscalerCondition conditions = 6;
|
repeated HorizontalPodAutoscalerCondition conditions = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -264,6 +264,7 @@ type HorizontalPodAutoscalerStatus struct {
|
|||||||
|
|
||||||
// conditions is the set of conditions required for this autoscaler to scale its target,
|
// conditions is the set of conditions required for this autoscaler to scale its target,
|
||||||
// and indicates whether or not those conditions are met.
|
// and indicates whether or not those conditions are met.
|
||||||
|
// +optional
|
||||||
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -272,6 +272,7 @@ message HorizontalPodAutoscalerStatus {
|
|||||||
|
|
||||||
// conditions is the set of conditions required for this autoscaler to scale its target,
|
// conditions is the set of conditions required for this autoscaler to scale its target,
|
||||||
// and indicates whether or not those conditions are met.
|
// and indicates whether or not those conditions are met.
|
||||||
|
// +optional
|
||||||
repeated HorizontalPodAutoscalerCondition conditions = 6;
|
repeated HorizontalPodAutoscalerCondition conditions = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -373,6 +373,7 @@ type HorizontalPodAutoscalerStatus struct {
|
|||||||
|
|
||||||
// conditions is the set of conditions required for this autoscaler to scale its target,
|
// conditions is the set of conditions required for this autoscaler to scale its target,
|
||||||
// and indicates whether or not those conditions are met.
|
// and indicates whether or not those conditions are met.
|
||||||
|
// +optional
|
||||||
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user