kubectl autoscale prevents CPU percentages over 100% #25815
Labels
area/kubectl
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/autoscaling
Categorizes an issue or PR as relevant to SIG Autoscaling.
In #18294, it was decided that CPU percentages over 100% on the HPA were valid, but should be warned about. However,
kubectl autoscale
prevents you from passing--cpu-percent=X
when X is over 100.It seems confusing that if you create an autoscaler with
autoscale
it will prevent target CPU percentages over 100%, but after you create it, you can go in and edit it to be over 100% (or you could just create it with a value over 100% by creating via YAML).We should probably change
kubectl autoscale
to just warn to be consistent.cc @janetkuo @piosz @kubernetes/autoscaling @ncdc
The text was updated successfully, but these errors were encountered: