Resource tuning variables
Override the resource tuning variables only to run Cloudera Cloud Factory on a smaller cluster, because the artifact ships production defaults.
The artifact ships production defaults for every workload, and you override them only to run Cloudera Cloud Factory on a smaller cluster. Cloudera recommends leaving these variables unset for a production deployment.
The following table summarizes the groups of tuning variables:
| Variable group | Pattern | Purpose | Production default |
|---|---|---|---|
| Stateful replicas | CLUSTER_VAR_<component>_replicas | Sets the replica count for taikun_db, taikun_db_pgbouncer, timescale_db, timescale_db_pgbouncer, rabbitmq, and valkey. | 3, except valkey, which is 2 |
| Volume sizes | CLUSTER_VAR_<component>_volume_size, CLUSTER_VAR_timescale_db_pgdata_size, and CLUSTER_VAR_grafana_db_repo2_size | Sets the PersistentVolume size for the Timescale data, the Grafana backup repository, Loki, Mimir, and Tempo. | Between 10 GB and 50 GB for each volume |
| Requests and limits | CLUSTER_VAR_<component>_cpu_request, _cpu_limit, _mem_request, and _mem_limit | Sets the CPU and memory request and limit for each workload. | Per workload |
| Autoscaling | CLUSTER_VAR_<component>_hpa_min_replicas, _hpa_max_replicas, _hpa_cpu_utilization, and _hpa_memory_utilization | Sets the HorizontalPodAutoscaler bounds for the stateless Loki, Mimir, Tempo, and Alloy components. | Per workload |
Validate any override against the observed usage of your environment before you apply it to production, because a memory limit below the real peak usage causes the workload to be terminated. For the complete list of tuning variables and their production defaults, see the bootstrap.env.example and ResourceTuning.md files that Cloudera provides with the installer.
