Metrics
For per-revision configuration, this is determined using the annotation. The possible metric types that can be configured per revision depend on the type of Autoscaler implementation you are using:
- The HPA Autoscaler supports the
concurrency
, andcpu
metrics.
- Per-revision annotation key:
autoscaling.knative.dev/metric
- Possible values:
"concurrency"
, or"cpu"
, depending on your Autoscaler type. Thecpu
metric is only supported on revisions with the HPA class. - Per-revision cpu configuration
- Configure for replicas of an application
Was this page helpful?
Sorry to hear that. Please tell us how we can improve.