Open zhanggbj opened 4 years ago
CC @maximilien @julz @duglin ^^^^^^
/assign
I think you're missing:
Basically, everything in here: https://github.com/knative/serving/blob/66c2885ea639baa8fbdbe278e310b7b68d530c39/pkg/autoscaler/config/config.go#L43
@duglin Thanks Doug for pointing this out!
I already added the support to enable and disable scale-to-zero
.
So in this PR I'll implement following flags for autoscaling global settings. The default setting will be consistent with values in knative doc
A developer may set some autoscaling configs like
--limits-cpu
or--limits-memory
as what kn service create described today. However, a Knative administrator may need to update some overall configs likestable-window
orpanic-window-percentage
orticker-interval
for the whole Knative platform. The kn-admin will list all the config we support to update by kn-adminAccording the Knative 0.16 doc about autoscaling, plan support following global configs to help with admin work. (Per-revision config is not planned here, that are more for developer experience)
If there're any other autoscale configs that should be controlled by Knative administrator, please feel free to leave a comment in this issue. Thanks!