We use an external Postgres DB for temporal and us...
# ask-ai
t
We use an external Postgres DB for temporal and use Airbyte 1.8.3 and Helm chart version 2.0.13. How can I change the number of temporal replicas, and is this appropriate?
k
To change the number of Temporal replicas in your Airbyte deployment (v1.8.3, Helm chart v2.0.13), you should adjust the
replicaCount
value under the
temporal
section in your
values.yaml
file. For example:
Copy code
yaml temporal:   replicaCount: 2
This will increase the number of Temporal pods running in your Kubernetes cluster. Adjusting the number of replicas is appropriate if you want to improve high availability or handle more concurrent workflow executions. However, ensure your external Postgres database can handle the increased load from additional Temporal replicas. This approach is documented in the Helm chart configuration for Airbyte, where the
replicaCount
parameter controls the number of Temporal instances deployed:
Copy code
yaml temporal:   enabled: true   # -- The number of temporal replicas to deploy   replicaCount: 1
You can safely increase this value as needed for your scaling or high availability requirements [see example](https://github.com/airbytehq/airbyte/issues/49843). Keep in mind that increasing the number of Temporal replicas is a standard practice for high availability and scaling, as also recommended in Airbyte's official documentation for HA deployments [see documentation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#high-availability).