You can edit autoscaling capabilities for your cluster by using kn
to modify Knative services without editing YAML files directly.
You can use the kn service create
and kn service update
commands with the appropriate flags as described below to configure autoscaling behavior.
Flag | Description |
---|---|
|
Sets a hard limit of concurrent requests to be processed by a single revision. |
|
Provides a recommendation for when to scale up revisions, based on the concurrent number of incoming requests. Defaults to |
|
Maximum number of revisions. |
|
Minimum number of revisions. |