projectriff / riff

riff is for functions
https://projectriff.io
Apache License 2.0
799 stars 64 forks source link

Expose autoscaling controls like minScale, maxScale, and scale-to-zero-grace-period on Knative deployers #1368

Closed jldec closed 3 years ago

jldec commented 4 years ago

As a riff user I would like to deploy long-running apps or apps which don't receive input requests using a Knative deployer. Currently this is difficult because of autoscaling to zero after a 30s default idle time.

See also #1340 and Knative Serving docs

jldec commented 4 years ago

Suggest following RFC process to evaluate design alternatives e.g. new CLI flags or alternative kustomization.

joshrider commented 4 years ago

Added min and max scale flags to the cli for the knative deployer: https://github.com/projectriff/cli/pull/174

joshrider commented 4 years ago

UPDATE Support for min and max flags added to system and CLI.

Scale-to-zero-grace-period still outstanding.