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:

Table 1. Resource tuning variable groups
Variable groupPatternPurposeProduction default
Stateful replicasCLUSTER_VAR_<component>_replicasSets the replica count for taikun_db, taikun_db_pgbouncer, timescale_db, timescale_db_pgbouncer, rabbitmq, and valkey.3, except valkey, which is 2
Volume sizesCLUSTER_VAR_<component>_volume_size, CLUSTER_VAR_timescale_db_pgdata_size, and CLUSTER_VAR_grafana_db_repo2_sizeSets 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 limitsCLUSTER_VAR_<component>_cpu_request, _cpu_limit, _mem_request, and _mem_limitSets the CPU and memory request and limit for each workload.Per workload
AutoscalingCLUSTER_VAR_<component>_hpa_min_replicas, _hpa_max_replicas, _hpa_cpu_utilization, and _hpa_memory_utilizationSets 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.