|
8 | 8 |
|
9 | 9 | As a developer, you can use Custom Metrics Autoscaler Operator for Red Hat OpenShift to specify how {product-title} should automatically increase or decrease the number of pods for a deployment, stateful set, custom resource, or job based on custom metrics that are not based only on CPU or memory.
|
10 | 10 |
|
11 |
| -The Custom Metrics Autoscaler Operator is an optional operator, based on the Kubernetes Event Driven Autoscaler (KEDA), that allows workloads to be scaled using additional metrics sources other than pod metrics. |
| 11 | +The Custom Metrics Autoscaler Operator is an optional Operator, based on the Kubernetes Event Driven Autoscaler (KEDA), that allows workloads to be scaled using additional metrics sources other than pod metrics. |
12 | 12 |
|
13 | 13 | The custom metrics autoscaler currently supports only the Prometheus, CPU, memory, and Apache Kafka metrics.
|
14 | 14 |
|
@@ -52,3 +52,18 @@ image::564_OpenShift_Custom_Metrics_Autoscaler_0224.png[Custom metrics autoscale
|
52 | 52 | 6. As a it operates, a workload can affect the scaling metrics. For example, if a workload is scaled up to handle work in a Kafka queue, the queue size decreases after the workload processes all the work. As a result, the workload is scaled down.
|
53 | 53 |
|
54 | 54 | 7. If the metrics are in a range specified by the `minReplicaCount` value, the custom metrics autoscaler controller disables all scaling, and leaves the replica count at a fixed level. If the metrics exceed that range, the custom metrics autoscaler controller enables scaling and allows the HPA to scale the workload. While scaling is disabled, the HPA does not take any action.
|
| 55 | +
|
| 56 | +[id="nodes-cma-autoscaling-custom-ca_{context}"] |
| 57 | +== Custom CA certificates for the Custom Metrics Autoscaler |
| 58 | + |
| 59 | +By default, the Custom Metrics Autoscaler Operator uses automatically-generated service CA certificate to connect to on-cluster services. |
| 60 | + |
| 61 | +If you want to use off-cluster services that require custom CA certificates, you can add the required certificates to a config map. Then, add the config map to the `KedaController` custom resource as described in xref:../../nodes/cma/nodes-cma-autoscaling-custom-install.adoc#nodes-cma-autoscaling-custom-install[Installing the custom metrics autoscaler]. The Operator loads those certificates on start-up and registers them as trusted by the Operator. |
| 62 | + |
| 63 | +The config maps can contain one or more certificate files that contain one or more PEM-encoded CA certificates. Or, you can use separate config maps for each certificate file. |
| 64 | + |
| 65 | +[NOTE] |
| 66 | +==== |
| 67 | +If you later update the config map to add additional certificates, you must restart the `keda-operator-*` pod for the changes to take effect. |
| 68 | +==== |
| 69 | + |
0 commit comments