Configuring target burst capacity
The Activator service is responsible for receiving and buffering requests for inactive revisions, or for revisions where a traffic burst is larger than the limits of what can be handled without buffering for that revision. It can also quickly spin up additional pods for capacity, and throttle how quickly requests are sent to pods.
Target burst capacity can be configured using a combination of the following parameters:
- Setting the targeted concurrency limits for the revision. See concurrency.
- Setting the target utilization parameters. See .
- Global key:
target-burst-capacity
- Per-revision annotation key:
autoscaling.knative.dev/target-burst-capacity
- Possible values: float ( means the Activator is only in path when scaled to 0,
-1
means the Activator is always in path)
Per RevisionGlobal (ConfigMap)Global (Operator)
Note
If
autoscaling.knative.dev/target-burst-capacity
is set to , the Activator is only added to the request path during scale from zero scenarios, and ingress load balancing will be applied.If
autoscaling.knative.dev/target-burst-capacity
is set to-1
, the Activator is always in the request path, regardless of the revision size.