Lucas Segers
11/10/2025, 3:32 AMkapa.ai
11/10/2025, 3:32 AMcloudSqlProxy setting in the chart is used to enable or configure the use of Google's Cloud SQL Proxy. This is particularly relevant if you are using Google Cloud SQL as your external database for Airbyte. In the V2 chart, the equivalent environment variable for enabling Cloud SQL Proxy is USE_CLOUD_SQL_PROXY, which maps to global.cloudSqlProxy.enabled in your values.yaml file. Setting this value to true will enable the Cloud SQL Proxy integration, allowing Airbyte to connect securely to a Google Cloud SQL instance without exposing the database directly to the internet. This is especially useful for managing authentication and secure connections in Kubernetes environments. Here is the relevant mapping from the documentation: USE_CLOUD_SQL_PROXY → global.cloudSqlProxy.enabled You would set this in your values.yaml file as follows: yaml global: cloudSqlProxy: enabled: true This configuration ensures that Airbyte can use the Cloud SQL Proxy for database connections, aligning with best practices for secure database access in GCP environments. For more details on all environment variable mappings in Helm chart V2, see the documentation table on updating your values.yaml file [here](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file). If you need to further customize the Cloud SQL Proxy deployment (such as specifying service accounts or additional flags), the documentation does not provide those details explicitly, so you may need to refer to the chart's values schema or reach out to Airbyte support for advanced configurations.Lucas Segers
11/10/2025, 3:56 AMkapa.ai
11/10/2025, 3:56 AMkapa.ai
11/10/2025, 3:56 AMvalues.yaml file using the pod-sweeper key. Here is an example of how it appears: yaml pod-sweeper: enabled: true image: repository: bitnami/kubectl pullPolicy: IfNotPresent tag: 1.28.9 # ... other configuration options ... This section allows you to set options such as the image repository, pull policy, tag, security context, probes, and more for the pod-sweeper deployment. The pod-sweeper is responsible for cleaning up completed or failed pods in your Airbyte Kubernetes deployment [see example and details](https://github.com/airbytehq/airbyte/issues/49843). Note: In recent Airbyte Helm chart versions (v1.8.x and later), the pod-sweeper chart is no longer included or published as part of the main Airbyte Helm chart, and there have been discussions about its future and integration with other components. If you are using Helm chart V2, the pod-sweeper configuration may not be present, and you may need to deploy it separately or use alternative cleanup strategies [see discussion](https://github.com/airbytehq/airbyte/issues/64560).Lucas Segers
11/10/2025, 5:17 AMkapa.ai
11/10/2025, 5:17 AMkapa.ai
11/10/2025, 5:17 AMtemporal and temporal_visibility. If you want to use custom database names or ensure the correct names are used, you must explicitly set them via environment variables in the Temporal section of your values.yaml file. For example: yaml temporal: extraEnv: - name: DBNAME value: "temporal" - name: VISIBILITY_DBNAME value: "temporal_visibility" - name: SKIP_DB_CREATE value: "true" This ensures Temporal connects to the correct databases and does not attempt to create them if they already exist. This approach is confirmed to work for users who manually create the databases and want to avoid schema setup issues [see discussion](https://github.com/airbytehq/airbyte/issues/11157). 2. ConfigMap and Environment Variable Injection The Helm chart generates a ConfigMap (e.g., airbyte-airbyte-env) with environment variables, but it may not automatically inject all required variables into the Temporal deployment. You may need to use the extraEnv field to manually inject the correct database names and connection parameters [see example](https://github.com/airbytehq/airbyte/issues/43328). 3. Common Pitfall: DATABASE_URL Ignored by Temporal Setting DATABASE_URL as an environment variable is not sufficient for Temporal; it does not use this variable for its own database connections. Instead, you must use the specific environment variables as shown above [see issue](https://github.com/airbytehq/airbyte/issues/32980). 4. Check for Secret and ConfigMap References If the Temporal deployment is referencing airbyte-airbyte-env but not finding the correct database name, ensure that your values.yaml is correctly mapping the database credentials and names, and that any referenced secrets or config maps contain the expected values. Summary: To resolve the issue, explicitly set the DBNAME and VISIBILITY_DBNAME environment variables for the Temporal deployment in your values.yaml using the extraEnv field. Do not rely on DATABASE_URL for Temporal. This should direct Temporal to the correct databases and resolve the connection issue after upgrading to the new Helm chart. If you continue to have issues, double-check that your secrets and config maps are correctly populated and referenced in your deployment configuration [see related discussions](https://github.com/airbytehq/airbyte/issues/43328) [and](https://github.com/airbytehq/airbyte/issues/11157).Lucas Segers
11/10/2025, 5:20 AMkapa.ai
11/10/2025, 5:20 AMkapa.ai
11/10/2025, 5:21 AMglobal.database.type to external and global.database.name (or global.database.database in some chart versions) to airbyte in your values.yaml will configure Airbyte to use an external database named airbyte for its main application database. This is why the system is trying to connect to the airbyte database through your Cloud SQL Proxy service. However, Temporal (the workflow engine used by Airbyte) requires its own databases, typically named temporal and temporal_visibility. By default, unless you explicitly configure the Temporal deployment to use different database names, it will look for these default databases. The main Airbyte database (airbyte) is separate from the Temporal databases. If you want Temporal to use different database names, you need to set the appropriate environment variables (DBNAME and VISIBILITY_DBNAME) in the Temporal deployment, as described in the knowledge sources. Otherwise, it will continue to look for the default temporal and temporal_visibility databases, not the airbyte database [see discussion](https://github.com/airbytehq/airbyte/issues/43328) [and](https://github.com/airbytehq/airbyte/issues/11157). So, your current configuration explains why Airbyte is connecting to the airbyte database, but you may need additional configuration for Temporal to ensure it connects to the correct databases.Lucas Segers
11/10/2025, 5:30 AMkapa.ai
11/10/2025, 5:30 AMkapa.ai
11/10/2025, 5:31 AMpq: SSL is not enabled on the server indicates that the Temporal component is attempting to connect to your database with SSL, but the database is not accepting SSL connections. For Google Cloud SQL (Postgres): - By default, Cloud SQL for PostgreSQL requires SSL connections unless you have explicitly disabled this requirement in your instance settings. - To verify if SSL is enabled or required, you can check your Cloud SQL instance settings in the Google Cloud Console under the "Connections" tab. There, you will see SSL configuration options and whether client certificates are required. Troubleshooting Steps: 1. Check Cloud SQL SSL Settings: - Go to your Cloud SQL instance in the Google Cloud Console. - Under "Connections" > "SSL", verify if SSL connections are required and if client/server certificates are configured. 2. Test Connection Manually: - Try connecting to your Cloud SQL instance using a tool like psql with and without SSL to confirm the server's behavior. 3. Airbyte/Temporal Configuration: - If your Cloud SQL instance requires SSL, ensure that the Temporal deployment is configured to use SSL. In the Airbyte Helm chart, when global.database.type is set to external, SSL is assumed and the following environment variables are set for Temporal: - POSTGRES_TLS_ENABLED=true - SQL_TLS_ENABLED=true - If your Cloud SQL instance does not require SSL, you may need to override these settings, as the chart assumes SSL for external databases by default. There are open issues about this behavior and requests for more flexible configuration in the Helm chart [see discussion](https://github.com/airbytehq/airbyte/issues/48504) [and](https://github.com/airbytehq/airbyte/issues/43328). Summary: - Double-check your Cloud SQL instance's SSL settings in the Google Cloud Console. - If SSL is required, ensure your Airbyte/Temporal deployment is configured to use SSL. - If SSL is not required, you may need to override the default Helm chart behavior, as it assumes SSL for external databases. If you need to disable SSL for Temporal, the current Helm chart may not provide a straightforward way to do this, and you may need to customize your deployment or follow ongoing issues for updates [see discussion](https://github.com/airbytehq/airbyte/issues/48504).Lucas Segers
11/10/2025, 5:43 AMkapa.ai
11/10/2025, 5:43 AMkapa.ai
11/10/2025, 5:43 AMMountVolume.SetUp failed for volume "gcs-log-creds-volume" : references non-existent secret key: GOOGLE_APPLICATION_CREDENTIALS_JSON means that your Kubernetes deployment is trying to mount a secret key named GOOGLE_APPLICATION_CREDENTIALS_JSON from a Kubernetes Secret, but that key does not exist in the referenced secret. What’s happening: - In recent Airbyte Helm chart versions (V2), the GCS credentials are expected to be provided as a Kubernetes Secret, and the key name for the GCS credentials file is typically gcp.json, not GOOGLE_APPLICATION_CREDENTIALS_JSON. - There is confusion and some inconsistency in the documentation and Helm chart templates about which key is used, and several users have reported similar issues when upgrading or configuring GCS storage ([see related issues](https://github.com/airbytehq/airbyte/issues/68178), [discussion](https://github.com/airbytehq/airbyte/issues/65153)). How to fix: 1. Check your Secret: Ensure that the secret you are referencing (e.g., airbyte-gcs-log-creds or whatever your storage.secretName is set to) contains a key named gcp.json with your GCS credentials JSON as its value. Example: yaml apiVersion: v1 kind: Secret metadata: name: airbyte-gcs-log-creds type: Opaque stringData: gcp.json: |- { "type": "service_account", ... } 2. Check your values.yaml: In Helm chart V2, you may need to set: yaml global: storage: type: gcs secretName: airbyte-gcs-log-creds gcs: credentialsJsonSecretKey: gcp.json (Note: The key credentialsJsonSecretKey is used in V2, while in V1 it was credentialsPath or credentialsJsonPath — see [user migration notes](https://github.com/airbytehq/airbyte/issues/68178).) 3. Do not use GOOGLE_APPLICATION_CREDENTIALS_JSON as the key unless you have specifically configured your deployment to expect that key. The default and recommended key is gcp.json. Summary: Update your Kubernetes Secret to include a key named gcp.json with your GCS credentials, and ensure your Helm values reference this key. This should resolve the non-existent secret key: GOOGLE_APPLICATION_CREDENTIALS_JSON error. If you are still seeing the error after making these changes, double-check that the secret name and key match exactly what your Helm values and Airbyte deployment expect ([see user experiences and workarounds](https://github.com/airbytehq/airbyte/issues/68178), [discussion](https://github.com/airbytehq/airbyte/issues/65153)).Lucas Segers
11/10/2025, 5:48 AMLucas Segers
11/10/2025, 5:48 AMkapa.ai
11/10/2025, 5:48 AMkapa.ai
11/10/2025, 5:49 AMcredentialsJsonSecretKey field is not listed in the standard values.yaml reference for configuring GCS storage. The documented and supported fields for GCS in V2 are: yaml global: storage: type: gcs secretName: <your-secret> bucket: log: <bucket> state: <bucket> workloadOutput: <bucket> activityPayload: <bucket> gcs: projectId: <project-id> credentialsJson: <base64-encoded> credentialsJsonPath: /secrets/gcs-log-creds/gcp.json - credentialsJson is for directly providing the base64-encoded credentials in the values file (not recommended for production). - credentialsJsonPath is for specifying the mount path to the credentials file inside the pod, which should match the key in your Kubernetes secret. Key points from the documentation: - The secret should contain a key (e.g., gcp.json) with your GCS credentials. - The credentialsJsonPath should point to the file path where this secret will be mounted in the pod, e.g., /secrets/gcs-log-creds/gcp.json ([see docs](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/storage#values)). Troubleshooting: - If you see an error about a missing GOOGLE_APPLICATION_CREDENTIALS_JSON key, but your secret only has gcp.json, it may be due to a mismatch between what the chart expects and what is provided. - The documentation and several GitHub issues confirm that the correct key in the secret should be gcp.json, and the path in credentialsJsonPath should match where it is mounted in the pod ([see issue](https://github.com/airbytehq/airbyte/issues/68178), [see docs](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/storage#values)). Summary: - You do not need to use credentialsJsonSecretKey in Helm chart V2. - Ensure your secret contains a key named gcp.json. - Set credentialsJsonPath to the path where this file will be mounted in the pod. - If you are still seeing errors, double-check that the secret name and key match exactly, and that the pod is mounting the secret at the expected path. If the error persists, it may be due to a chart bug or a mismatch in how the secret is referenced, as discussed in several GitHub issues. The knowledge sources do not provide a different or undocumented field for this configuration in V2.Lucas Segers
11/10/2025, 5:50 AMkapa.ai
11/10/2025, 5:50 AMkapa.ai
11/10/2025, 5:51 AMcredentialsJsonSecretKey is indeed used to specify the key within your Kubernetes secret that contains the GCS credentials JSON. This is not always clearly documented in the official docs, but users upgrading from V1 to V2 have reported that setting credentialsJsonSecretKey: gcp.json (where gcp.json is the key in your secret) resolves mounting and credential issues for GCS storage. For example, a user notes: > You need to change storage.gcs.credentialsPath: '/secrets/gcs-log-creds/gcp.json' (in Helm v1 values.yml) to storage.gcs.credentialsJsonSecretKey: 'gcp.json' (in Helm v2 values.yml) > — [GitHub Issue #68178](https://github.com/airbytehq/airbyte/issues/68178) So, if you are using Helm chart V2 and your secret contains a key named gcp.json, you should add: yaml global: storage: type: gcs secretName: ab-storage-v3 bucket: activityPayload: bucket-name log: bucket-name state: bucket-name workloadOutput: bucket-name gcs: projectId: my-project credentialsJsonSecretKey: gcp.json This should ensure that Airbyte correctly mounts and uses your GCS credentials from the Kubernetes secret. Summary: While not always present in the official documentation, credentialsJsonSecretKey is a supported and working field in Helm chart V2 for specifying the key in your secret that contains the GCS credentials JSON, as confirmed by user experience in the knowledge sources above.Lucas Segers
11/10/2025, 5:52 AMkapa.ai
11/10/2025, 5:52 AMkapa.ai
11/10/2025, 5:53 AMCaused by: java.nio.file.NoSuchFileException: /secrets/gcs-log-creds/gcp.json indicates that the source-declarative-manifest-discover pod is expecting the GCS credentials file at /secrets/gcs-log-creds/gcp.json, but it cannot find it. This is a common issue when the secret is either not mounted correctly, the key in the secret does not match what the pod expects, or the Helm values are not aligned with the chart's requirements. Based on the knowledge sources: - In Helm chart V2, the correct way to specify which key in your Kubernetes secret should be used for the GCS credentials is with the credentialsJsonSecretKey field under global.storage.gcs. This field is not always present in the official documentation, but user reports confirm it works and is required for proper secret mounting in V2 ([see user confirmation and discussion](https://github.com/airbytehq/airbyte/issues/68178)). - The secret (e.g., ab-storage-v3) must contain a key (e.g., gcp.json) with your GCS credentials JSON. - Your values.yaml should look like this: yaml global: storage: type: gcs secretName: ab-storage-v3 bucket: activityPayload: bucket-name log: bucket-name state: bucket-name workloadOutput: bucket-name gcs: projectId: my-project credentialsJsonSecretKey: gcp.json - The pod will then mount the secret and expect the file at /secrets/gcs-log-creds/gcp.json. Troubleshooting steps: 1. Check the Secret: Ensure your secret (ab-storage-v3) contains a key named gcp.json with the correct credentials. 2. Check the Helm Values: Make sure you have set credentialsJsonSecretKey: gcp.json under global.storage.gcs in your values.yaml. 3. Check the Mount Path: The chart should mount the secret at /secrets/gcs-log-creds/gcp.json if the above is set correctly. If you do not set credentialsJsonSecretKey, or if the key in your secret does not match, the pod will not find the file and you will get the NoSuchFileException. Summary: Set credentialsJsonSecretKey: gcp.json in your Helm values, and ensure your secret contains a key named gcp.json. This should resolve the missing file error for the source-declarative-manifest-discover pods ([see user confirmation](https://github.com/airbytehq/airbyte/issues/68178)).Lucas Segers
11/10/2025, 6:08 AMkapa.ai
11/10/2025, 6:08 AMkapa.ai
11/10/2025, 6:09 AMyaml global: jobs: resources: requests: memory: 256Mi cpu: 250m limits: memory: 1Gi cpu: 200m ([see example](https://github.com/airbytehq/airbyte/issues/49843)) In V2: You should now set these under: yaml global: workloads: resources: mainContainer: cpu: request: 250m limit: 200m memory: request: 256Mi limit: 1Gi This change is confirmed in the migration guides and mapping tables, where, for example, global.env_vars[JOB_MAIN_CONTAINER_CPU_REQUEST] is now global.workloads.resources.mainContainer.cpu.request in V2 ([see mapping table](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)). Summary: Set your default job resource requests and limits in V2 under global.workloads.resources.mainContainer as shown above. This will apply to all job containers unless overridden by more specific configuration. If you need more granular control (e.g., per job type or connector), refer to the [connector resource configuration guide](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources).Lucas Segers
11/10/2025, 6:18 AMkapa.ai
11/10/2025, 6:18 AMkapa.ai
11/10/2025, 6:19 AMglobal.workloads.resources.mainContainer fields in Helm chart V2. This is the primary container responsible for executing the data sync, check, discover, or spec operations [see mapping table](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file). --- ### Why does the "orchestrator" pod request 2 CPUs? The orchestrator pod (or sidecar) is an Airbyte-controlled container that runs alongside the main connector containers in a replication (SYNC) pod. Its responsibilities include middleware tasks such as scrubbing PPI, aggregating stats, transforming data, checkpointing progress, and handling side effects like logging and auth token refresh flows [see: Understanding Airbyte Jobs](https://docs.airbyte.com/platform/next/understanding-airbyte/jobs). The default resource requests for the orchestrator (sidecar) container are not set via the same mainContainer resource fields. Instead, they have their own environment variables (e.g., SIDECAR_KUBE_CPU_LIMIT, SIDECAR_KUBE_CPU_REQUEST). In several user reports and logs, the orchestrator/sidecar is shown to default to 2 CPUs if not otherwise configured ([see logs](https://github.com/airbytehq/airbyte/issues/44497), [see logs](https://github.com/airbytehq/airbyte/issues/42921)). The knowledge sources do not provide a direct mapping for configuring orchestrator resources in Helm chart V2, so unless you set these environment variables explicitly, the default values (such as 2 CPUs) will be used. --- ### Why is the sidecar called orchestrator but on the helm chart I can't see workloads.resources.orchestrator? The terminology can be confusing: - In Airbyte documentation, the sidecar in a SYNC pod is often referred to as the Container Orchestrator. - In the Helm chart V2, there is no workloads.resources.orchestrator field. The chart only exposes workloads.resources.mainContainer for the main connector container. - Resource settings for the orchestrator/sidecar are controlled via specific environment variables (e.g., SIDECAR_KUBE_CPU_LIMIT, SIDECAR_KUBE_CPU_REQUEST), not via a dedicated Helm values field ([see logs and issues](https://github.com/airbytehq/airbyte/issues/44497), [see mapping table](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)). If you need to adjust orchestrator/sidecar resources, you must set the appropriate environment variables using the extraEnv mechanism in your Helm values, as there is no direct workloads.resources.orchestrator field in V2. --- In summary: - The "main container" is the connector container. - The orchestrator/sidecar requests 2 CPUs by default unless overridden by environment variables. - There is no workloads.resources.orchestrator in Helm chart V2; orchestrator resources are set via environment variables, not a dedicated Helm field. If you need to customize these, use extraEnv to set the relevant environment variables.Lucas Segers
11/10/2025, 6:22 AMkapa.ai
11/10/2025, 6:22 AMkapa.ai
11/10/2025, 6:23 AMuseConnectorResourceDefaults to true, Airbyte will, by default, use the resource values you specify under global.workloads.resources.mainContainer (and related keys) for all connectors. However, if you override the resource requirements at the connector level (for example, by updating the resource_requirements field in the actor_definition table for a specific connector), Airbyte will use those connector-specific settings instead of the global defaults. This precedence is explicitly described in the documentation: connector-specific or connector-definition resource requirements override the instance-wide (global) settings [see documentation](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources). So, to summarize: - Global defaults (e.g., global.workloads.resources.mainContainer) are used if no more specific configuration exists. - Connector-level overrides (set in the database or via the UI/API) take precedence if present, as long as useConnectorResourceDefaults is enabled [see mapping and user reports](https://github.com/airbytehq/airbyte/issues/38178). This matches the configuration hierarchy and expected behavior in Airbyte.Lucas Segers
11/10/2025, 7:04 AMkapa.ai
11/10/2025, 7:04 AMkapa.ai
11/10/2025, 7:04 AMvalues.yaml or environment variables) to adjust the minimum interval for schema refreshes, or set to 0 to disable automatic schema refreshes entirely. However, there is no information in the knowledge sources indicating that you can disable or override DISCOVER_REFRESH_WINDOW_MINUTES on a per-connection basis. This setting applies globally to all connections in the instance [see documentation](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-airbyte#worker) [and](https://docs.airbyte.com/release_notes/v-1.4). If you need per-connection schema refresh control, the current Airbyte configuration does not support this according to the available documentation.Lucas Segers
11/10/2025, 7:07 AMkapa.ai
11/10/2025, 7:07 AMkapa.ai
11/10/2025, 7:07 AMDISCOVER_REFRESH_WINDOW_MINUTES in Airbyte Helm chart V2, you should use the extraEnv configuration for the relevant service (typically the worker). This is because, in V2, DISCOVER_REFRESH_WINDOW_MINUTES does not have a direct mapping in the main values structure and should be set as an extra environment variable. Here’s how you can set it in your `values.yaml`: yaml worker: extraEnv: - name: DISCOVER_REFRESH_WINDOW_MINUTES value: "1440" # Set to your desired value (e.g., 0 to disable automatic schema refreshes) This approach is confirmed in the migration and configuration documentation, which states that for DISCOVER_REFRESH_WINDOW_MINUTES, you should "Use extraEnvs" in V2 [see mapping table](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file). You cannot set this value per connection; it is a global setting for the instance [see documentation](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-airbyte#worker).Lucas Segers
11/10/2025, 7:27 AMkapa.ai
11/10/2025, 7:27 AMkapa.ai
11/10/2025, 7:28 AMreplication-job-xxxxxx-attempt pod, this is often related to resource availability and scheduling within your Kubernetes cluster. Key factors that can cause delays: 1. Resource Constraints: If your cluster does not have enough free CPU or memory, Airbyte jobs may be queued until resources become available. This is a common cause of delays, especially if you have many concurrent connections or jobs running. The Airbyte workload launcher will only start new pods when the cluster can accommodate them ([Scaling Airbyte](https://docs.airbyte.com/platform/1.8/operator-guides/scaling-airbyte#what-to-scale)). 2. MAX_SYNC_WORKERS Setting: The number of concurrent sync jobs is controlled by the MAX_SYNC_WORKERS environment variable. If this is set too low, jobs will be queued and wait for a worker to become available. Increasing this value (and ensuring your cluster can handle the load) can help reduce wait times ([Forum: Syncs taking almost an hour for <20kb of data](https://discuss.airbyte.io/t/3780)). 3. Kubernetes Pod Scheduling: Even if Airbyte is ready to launch a job, Kubernetes itself may delay pod startup if there are not enough resources or if there are scheduling bottlenecks. Make sure your cluster is sized appropriately and can handle the number of concurrent pods Airbyte may launch ([Scaling Airbyte](https://docs.airbyte.com/platform/1.8/operator-guides/scaling-airbyte#what-to-scale)). 4. Job Queuing and Workloads Architecture: Airbyte’s workloads architecture decouples job scheduling from job starting. Jobs may be queued internally until resources are available, which can introduce delays in high-load or resource-constrained environments ([Understanding Airbyte Jobs](https://docs.airbyte.com/platform/next/understanding-airbyte/jobs)). Recommendations: - Monitor your cluster’s resource usage and consider scaling up if you see frequent queuing. - Review and, if needed, increase MAX_SYNC_WORKERS to allow more concurrent jobs. - Ensure your Kubernetes cluster can schedule at least 2 x <number-of-possible-concurrent-connections> pods at once, as a rule of thumb ([Scaling Airbyte](https://docs.airbyte.com/platform/1.8/operator-guides/scaling-airbyte#what-to-scale)). - If you have many jobs running at the same time, try to stagger their schedules to avoid thundering herd effects. If you have already tuned these settings and still see delays, you may need to further investigate Kubernetes events and Airbyte logs to identify specific bottlenecks.Lucas Segers
11/10/2025, 7:40 AMkapa.ai
11/10/2025, 7:40 AMkapa.ai
11/10/2025, 7:41 AMRESOURCE_EXHAUSTED: namespace rate limit exceeded indicates that the Temporal service used by Airbyte is hitting its namespace rate limit. This is a known issue that has affected multiple Airbyte users, especially in environments with a high number of syncs or frequent job activity. What does this mean? Temporal enforces rate limits on API calls per namespace to protect the system from overload. When these limits are exceeded, operations such as listing closed workflow executions (which the SelfHealTemporalWorkflows job in the cron pod performs) will fail with this error. This can lead to delays or failures in Airbyte's internal housekeeping tasks, and in some cases, can impact job scheduling and overall system responsiveness ([see related issues](https://github.com/airbytehq/airbyte/issues/30691), [discussion](https://github.com/airbytehq/airbyte/issues/46554)). How to address this? - Upgrade Airbyte: Recent Airbyte releases (v1.4.0 and later) have improved Temporal rate limit defaults and reduced the frequency of these errors, especially for the cron service ([release notes](https://docs.airbyte.com/release_notes/v-1.4#-bug-fixes)). - Increase Temporal Rate Limits: If you are self-hosting and have access to Temporal configuration, you can increase the rate limits for your namespace. This is typically done by overriding Temporal's dynamic config, but the ability to do this depends on your deployment method. Some users have reported that newer Helm chart versions expose more generous defaults ([see user report](https://github.com/airbytehq/airbyte/issues/46554)). - Cluster Resources: Ensure your cluster has sufficient resources and that there are no bottlenecks that could exacerbate rate limiting. Note: If you are using the Airbyte Helm chart and cannot directly change Temporal's configuration, upgrading to the latest chart version may help, as it includes improved defaults for Temporal rate limits ([see discussion](https://github.com/airbytehq/airbyte/issues/46554)). Summary: This error is caused by hitting Temporal's namespace rate limits. Upgrading Airbyte and/or increasing Temporal's rate limits (if possible) are the recommended solutions according to the knowledge sources. If you are on a recent version and still see this, you may need to further scale your Temporal deployment or adjust your workload patterns.Lucas Segers
11/10/2025, 8:01 AMkapa.ai
11/10/2025, 8:01 AMkapa.ai
11/10/2025, 8:02 AMLucas Segers
11/10/2025, 8:33 AMkapa.ai
11/10/2025, 8:33 AMkapa.ai
11/10/2025, 8:33 AMyaml temporal: enabled: true replicaCount: 2 # or higher, depending on your needs Increasing the number of Temporal pods can help distribute the load and improve availability. Users have reported that deploying with more Temporal replicas helped resolve issues with stuck jobs and improved accessibility ([see user report](https://github.com/airbytehq/airbyte/issues/46554)). 2. Tune Temporal Database Connections: Temporal maintains multiple idle connections to its database. By default, this is set to 20, but Temporal may create multiple pools, resulting in more connections than expected. You can adjust the number of allowed idle and total connections using the SQL_MAX_IDLE_CONNS and SQL_MAX_CONNS environment variables. If you increase idle connections, also increase the total allowed connections accordingly, as SQL_MAX_IDLE_CONNS is capped by SQL_MAX_CONNS ([see scaling docs](https://docs.airbyte.com/platform/1.8/operator-guides/scaling-airbyte#what-to-scale)). 3. Ensure Sufficient Cluster Resources: Make sure your Kubernetes cluster has enough resources (CPU, memory) to handle the increased number of Temporal pods and the overall workload. Insufficient resources can lead to scheduling delays and degraded performance ([see scaling docs](https://docs.airbyte.com/platform/1.8/operator-guides/scaling-airbyte#what-to-scale)). 4. Monitor and Adjust as Needed: Use infrastructure monitoring tools to track CPU and memory usage for Temporal and adjust your scaling settings as your workload grows. Note: The knowledge sources do not provide explicit instructions for increasing Temporal's internal rate limits (such as namespace rate limits), but scaling the number of replicas and tuning database connections are the primary documented approaches for improving Temporal's performance and reliability in Airbyte. If you continue to experience rate limit issues, upgrading to the latest Airbyte and Helm chart versions may help, as newer releases include improved defaults for Temporal ([see user report](https://github.com/airbytehq/airbyte/issues/46554)).Lucas Segers
11/10/2025, 8:37 AMkapa.ai
11/10/2025, 8:37 AMkapa.ai
11/10/2025, 8:38 AMio.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: namespace rate limit exceeded means that your Airbyte deployment is hitting the Temporal namespace rate limit. This is a known issue, especially in environments with high job throughput or frequent syncs. It is commonly triggered by the SelfHealTemporalWorkflows cron job, which queries Temporal for closed workflows on a schedule ([see example](https://github.com/airbytehq/airbyte/issues/68115)). What does this mean? - Temporal enforces rate limits on API calls per namespace to prevent overload. - When the limit is exceeded, operations like listing closed workflow executions will fail with this error. - This can lead to delays in Airbyte's internal housekeeping and, in some cases, impact job scheduling and system responsiveness ([see discussion](https://github.com/airbytehq/airbyte/issues/30691)). What can you do? - Upgrade Airbyte and Helm Chart: Newer versions have improved Temporal rate limit defaults, which have resolved this issue for some users ([see user report](https://github.com/airbytehq/airbyte/issues/46554)). - Scale Temporal: Increase the number of Temporal replicas in your deployment to help distribute the load. For example, set temporal.replicaCount to a higher value in your values.yaml ([see user experience](https://github.com/airbytehq/airbyte/issues/46554)). - Cluster Resources: Ensure your Kubernetes cluster has enough CPU and memory to handle the increased load. - Temporal Rate Limit Configuration: The knowledge sources do not provide explicit steps for increasing the namespace rate limit directly. If you need to adjust this, you may need to consult Temporal's own documentation or reach out to Airbyte support, as this is not currently exposed in the Airbyte Helm chart ([see discussion](https://github.com/airbytehq/airbyte/issues/46554)). Summary: This error is due to hitting Temporal's namespace rate limit. Upgrading Airbyte, scaling Temporal, and ensuring sufficient cluster resources are the recommended actions according to the knowledge sources. Directly increasing the rate limit is not documented in the provided sources.