-
Couldn't load subscription status.
- Fork 304
Closed
Description
in latest 18.0.4 version ResourceQuantity become a struct, now when using V2HorizontalPodAutoscaler Tolerance is not optional any more, and calling CreateNamespacedHorizontalPodAutoscalerAsync with not set scale down Tolerance won't use cluster default but will fail with :
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "HorizontalPodAutoscaler in version \"v2\" cannot be handled as a HorizontalPodAutoscaler: strict decoding error: unknown field \"spec.behavior.scaleDown.tolerance\", unknown field \"spec.behavior.scaleUp.tolerance\"",
"reason": "BadRequest",
"code": 400
}
Metadata
Metadata
Assignees
Labels
No labels