diff --git a/docs/serving/autoscaling/autoscaling-metrics.md b/docs/serving/autoscaling/autoscaling-metrics.md index f6606cab1e..20224692c9 100644 --- a/docs/serving/autoscaling/autoscaling-metrics.md +++ b/docs/serving/autoscaling/autoscaling-metrics.md @@ -32,7 +32,10 @@ For more information about KPA and HPA, see the documentation on [Supported Auto metadata: annotations: autoscaling.knative.dev/metric: "concurrency" + autoscaling.knative.dev/target-utilization-percentage: "70" ``` + !!! note + The `autoscaling.knative.dev/target-utilization-percentage` annotation for "Concurrency" specifies a percentage value === "Requests per second" @@ -47,7 +50,10 @@ For more information about KPA and HPA, see the documentation on [Supported Auto metadata: annotations: autoscaling.knative.dev/metric: "rps" + autoscaling.knative.dev/target: "150" ``` + !!! note + The `autoscaling.knative.dev/target` annotation for "Requests per second" specifies an integer value === "CPU" @@ -63,7 +69,10 @@ For more information about KPA and HPA, see the documentation on [Supported Auto annotations: autoscaling.knative.dev/class: "hpa.autoscaling.knative.dev" autoscaling.knative.dev/metric: "cpu" + autoscaling.knative.dev/target: "100" ``` + !!! note + The `autoscaling.knative.dev/target` annotation for "CPU" specifies the integer value in millicore === "Memory" @@ -79,7 +88,10 @@ For more information about KPA and HPA, see the documentation on [Supported Auto annotations: autoscaling.knative.dev/class: "hpa.autoscaling.knative.dev" autoscaling.knative.dev/metric: "memory" + autoscaling.knative.dev/target: "75" ``` + !!! note + The `autoscaling.knative.dev/target` annotation for "Memory" specifies the integer value in Mi === "Custom metric" @@ -98,6 +110,7 @@ For more information about KPA and HPA, see the documentation on [Supported Auto annotations: autoscaling.knative.dev/class: "hpa.autoscaling.knative.dev" autoscaling.knative.dev/metric: "" + autoscaling.knative.dev/target: "" ``` Where `` is your custom metric.