Skip to content

Commit 0e3b0e6

Browse files
author
Michael Burke
committed
CMA add specific parameters for OCP Prometheus
1 parent 23a27ad commit 0e3b0e6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/nodes-cma-autoscaling-custom-prometheus-config.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,11 @@ subjects:
173173
$ oc create -f <file-name>.yaml
174174
----
175175

176-
You can now deploy a scaled object or scaled job to enable autoscaling for your application, as described in the following sections. To use {product-title} monitoring as the source, in the trigger, or scaler, specify the `prometheus` type and use `\https://thanos-querier.openshift-monitoring.svc.cluster.local:9092` as the `serverAddress`.
176+
You can now deploy a scaled object or scaled job to enable autoscaling for your application, as described in "Understanding how to add custom metrics autoscalers". To use {product-title} monitoring as the source, in the trigger, or scaler, you must include the following parameters:
177+
178+
* `triggers.type` must be `prometheus`
179+
* `triggers.metadata.serverAddress` must be `\https://thanos-querier.openshift-monitoring.svc.cluster.local:9092`
180+
* `triggers.metadata.authModes` must be `bearer`
181+
* `triggers.metadata.namespace` must be set to the namespace of the object to scale
182+
* `triggers.authenticationRef` must point to the trigger authentication resource specified in the previous step
177183

0 commit comments

Comments
 (0)