Slim
11/04/2025, 11:01 AMkapa.ai
11/04/2025, 11:02 AM/var/lib/docker/volumes/airbyte_workspace/_data), which stores logs, temporary files, and job artifacts. Tools like ncdu can help you analyze which folders are growing fastest [[source]](https://discuss.airbyte.io/t/2417). ### 2. Manual Cleanup - Logs and Temporary Files: You can manually delete old logs and files from the workspace directory. If you’re using Minio for storage, you can SSH into the Minio pod or container and delete files inside /storage/airbyte-dev-logs/job-logging/workspace/ [[source]](https://discuss.airbyte.io/t/3101). - Minio Storage: If Minio is full, deleting logs from the storage path inside the Minio pod resolves the issue [[source]](https://discuss.airbyte.io/t/1857). ### 3. Automatic Cleanup - Log Retention Policy: Airbyte schedules periodic jobs to delete logs from syncs. By default, logs are deleted every month or when their size exceeds 5GB. You can configure this with environment variables: - MINIMUM_WORKSPACE_RETENTION_DAYS - MAXIMUM_WORKSPACE_RETENTION_DAYS - MAXIMUM_WORKSPACE_SIZE_MB However, note that in recent Airbyte versions, these variables have been replaced or are only effective in certain deployment modes [[source]](https://discuss.airbyte.io/t/332). - Current Solution: As of Airbyte v0.45.5 and later, you should use the TEMPORAL_HISTORY_RETENTION_IN_DAYS environment variable to control how long workspace files are retained. For example, to keep only 3 days of history, set: TEMPORAL_HISTORY_RETENTION_IN_DAYS=3 This will automatically clean up files older than the specified number of days [[source]](https://discuss.airbyte.io/t/2417), [[source]](https://discuss.airbyte.io/t/2714). ### 4. Additional Tips - If you’re running Airbyte via Docker, update your .env file or deployment configuration to include the retention variable. - If you’re on an older version of Airbyte, consider upgrading to at least v0.45.5 to benefit from improved cleanup features [[source]](https://discuss.airbyte.io/t/2417). --- Summary: Set the TEMPORAL_HISTORY_RETENTION_IN_DAYS environment variable to automatically clean up old files. For immediate relief, manually delete logs and temporary files from the workspace or Minio storage directories. Upgrading Airbyte to a recent version is recommended for better automated cleanup.Slim
11/04/2025, 11:05 AMkapa.ai
11/04/2025, 11:05 AMkapa.ai
11/04/2025, 11:05 AMairbyte_workspace. You can browse and delete files using a temporary container: bash # Open a shell in the airbyte_workspace volume docker run -it --rm --volume airbyte_workspace:/data busybox sh # Inside the shell, navigate and delete logs and temp files cd /data # For example, to delete all logs: find . -name "*.log" -type f -delete # Or to delete all contents (be careful!): rm -rf ./* exit This will remove files from the workspace and free up space [[Exploring Local Logs]](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs). ### 2. Clean Up Minio Storage (If Using Minio) If you are using Minio (common in Kubernetes or some Docker setups), SSH into the Minio pod or container and delete logs: bash # SSH into the Minio pod/container kubectl exec -it <minio-pod-name> -- sh # Navigate to the storage directory and delete logs cd /storage/airbyte-dev-logs/job-logging/workspace/ rm -rf ./* # You may also want to check and clean: cd /storage/airbyte-dev-logs/workload/output/ rm -rf ./* exit This will clear out the logs and free up space [[How to clean up airbyte-minio and what's stored in minio?](https://discuss.airbyte.io/t/3101)]. --- Note: Be careful with rm -rf ./* as it will delete all files in the directory. Only run it in the correct log or temp directory to avoid deleting important configuration or data files. If you need to reset the entire Airbyte environment (including all data): bash abctl local uninstall --persisted rm -rf ~/.airbyte/ This will remove all persisted data and reset Airbyte to a clean state [[Resetting the Airbyte developer environment]](https://docs.airbyte.com/platform/contributing-to-airbyte/developing-locally#resetting-the-airbyte-developer-environment). If you need more specific commands for your setup, please provide details about your deployment (Docker Compose, Kubernetes, etc.).Slim
11/04/2025, 11:11 AM# SSH into the Minio pod/container
kubectl exec -it <minio-pod-name> -- sh
# Navigate to the storage directory and delete logs
cd /storage/airbyte-dev-logs/job-logging/workspace/
rm -rf ./*
# You may also want to check and clean:
cd /storage/airbyte-dev-logs/workload/output/
rm -rf ./*
exitkapa.ai
11/04/2025, 11:11 AMkapa.ai
11/04/2025, 11:11 AM<minio-pod-name> and clean up Minio logs in your Airbyte Kubernetes deployment, follow these steps: ### 1. Find the Minio Pod Name Run the following command to list all pods in your Airbyte namespace (replace <namespace> with your actual namespace, e.g., airbyte-abctl): bash kubectl get pods -n <namespace> Look for a pod with a name similar to airbyte-minio-0 or containing minio in its name. For example, you might see: airbyte-minio-0 1/1 Running 0 4h34m [[Developing Locally - Prerequisites]](https://docs.airbyte.com/platform/1.8/contributing-to-airbyte/developing-locally#prerequisites) ### 2. SSH into the Minio Pod and Delete Logs Replace <minio-pod-name> and <namespace> in the commands below with the actual pod name and namespace you found above: bash kubectl exec -it <minio-pod-name> -n <namespace> -- sh # Inside the pod, run: cd /storage/airbyte-dev-logs/job-logging/workspace/ rm -rf ./* cd /storage/airbyte-dev-logs/workload/output/ rm -rf ./* exit > Note: The exact storage path may vary depending on your Airbyte configuration. The above paths are commonly used defaults. If you are unsure, you can use ls /storage/ to explore directories inside the Minio pod [[How to clean up airbyte-minio and what's stored in minio?](https://discuss.airbyte.io/t/3101)]. This process will help you free up storage by deleting old logs and temporary files from Minio.Slim
11/04/2025, 11:12 AMkapa.ai
11/04/2025, 11:12 AMkapa.ai
11/04/2025, 11:12 AMThe connection to the server localhost:8080 was refused - did you specify the right host or port? indicates that kubectl is not able to connect to your Kubernetes cluster. This usually happens if your kubectl context is not set to the correct cluster, or the cluster is not running. For Airbyte OSS installed via abctl, you need to ensure that your kubectl is configured to use the kubeconfig generated by kind and used by abctl. The correct command should specify the kubeconfig file and namespace, like this: bash kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods This tells kubectl to use the correct configuration file and namespace for your Airbyte deployment, as described in the documentation. If you do not specify the kubeconfig, kubectl defaults to ~/.kube/config, which may not point to your Airbyte cluster, resulting in the connection refused error [[Troubleshooting abctl FAQ]](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq). If you have not yet exported the kubeconfig, you can do so with: bash kind export kubeconfig -n airbyte-abctl After this, the kubectl command above should work as expected. Summary: Your command is almost correct, but you must specify the correct kubeconfig file for Airbyte's kind cluster. Otherwise, you will get a connection refused error.Fabrizio Spini
11/05/2025, 8:37 AMkapa.ai
11/05/2025, 8:37 AMkapa.ai
11/05/2025, 8:37 AMvalues.yaml file used with the Airbyte Helm chart. For example: yaml global: jobs: resources: limits: cpu: 250m # or your desired value memory: 500Mi # or your desired value requests: cpu: 75m memory: 150Mi This will apply to all job pods unless overridden by more specific settings [[Scaling Airbyte After Installation]](https://docs.airbyte.com/platform/1.8/enterprise-setup/scaling-airbyte). ### 2. Connector Definition (All Instances of a Connector) You can update the resource requirements for a specific connector type by updating the actor_definition table in the Airbyte database: sql update actor_definition set resource_requirements = '{"jobSpecific": [{"jobType": "sync", "resourceRequirements": {"cpu_limit": "2", "cpu_request": "2", "memory_limit": "2048Mi", "memory_request": "2048Mi"}}]}' where id = '<connector-definition-id>'; This will override the instance-wide settings for all jobs of that connector type [[Configuring Connector Resources]](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-connector-resources). ### 3. Connector-specific or Connection-specific You can also set resource requirements for a specific connector instance or even a specific connection via the Airbyte UI or API, which will take precedence over the above settings [[Configuring Connector Resources]](https://docs.airbyte.com/platform/1.8/operator-guides/configuring-connector-resources). ### Important Notes - If you have previously set resource requirements at the connector or connection level, these will override the instance-wide settings. You may need to update or remove those overrides if you want the new global settings to take effect [[workload resource requests and limits not applied for replication jobs](https://github.com/airbytehq/airbyte/issues/68162)]. - After updating your values.yaml, apply the changes with helm upgrade. If you need more granular control (e.g., only for replication jobs and not for check/discover/spec), use the connector or connection-specific settings as described above. If you need further details on the exact SQL or UI steps, let me know your Airbyte version and deployment details.Fabrizio Spini
11/05/2025, 8:41 AMkapa.ai
11/05/2025, 8:41 AMkapa.ai
11/05/2025, 8:41 AMFabrizio Spini
11/05/2025, 1:10 PMglobal:
version: "2.0.1"
airbyteUrl: "http://localhost:8000"
airbyte-server:
config:
manifestServer:
enabled: false
resources:
requests:
memory: "4Gi"
cpu: "1000m"
limits:
memory: "6Gi"
cpu: "2000m"
postgresql:
persistence:
size: 10Gi
airbyte-temporal:
resources:
limits:
memory: "1536Mi"
airbyte-worker:
resources:
limits:
memory: "2Gi"
airbyte-webapp:
resources:
limits:
memory: "1Gi"
jobs:
resources:
requests:
cpu: 1000m
memory: 2Gi
limits:
cpu: 2000m
memory: 4Gikapa.ai
11/05/2025, 1:11 PMkapa.ai
11/05/2025, 1:11 PMglobal section is required and should include keys like edition, and optionally version and airbyteUrl. - The airbyteUrl should be the actual URL where Airbyte will be accessed (not http://localhost:8000 in production). ### 2. Resource Configuration - For Helm chart V2, job resource requests and limits should be set under global.jobs.resources, not at the root jobs: level. - Similarly, resources for components like airbyte-server, airbyte-worker, etc., should be set under their respective keys, but the main job resources (for sync/check/discover jobs) must be under global.jobs.resources to be effective [[Update your values.yaml file]](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file). ### 3. Example Correction Here is a corrected version of your config for Helm chart V2: yaml global: edition: community version: "2.0.1" airbyteUrl: "http://your-airbyte-url" # Replace with your actual URL jobs: resources: requests: cpu: 1000m memory: 2Gi limits: cpu: 2000m memory: 4Gi airbyte-server: config: manifestServer: enabled: false resources: requests: memory: "4Gi" cpu: "1000m" limits: memory: "6Gi" cpu: "2000m" postgresql: persistence: size: 10Gi airbyte-temporal: resources: limits: memory: "1536Mi" airbyte-worker: resources: limits: memory: "2Gi" airbyte-webapp: resources: limits: memory: "1Gi" ### 4. Other Notes - The edition key is required in global (e.g., community or enterprise). - The jobs: block at the root level is not recognized by Helm chart V2; it must be under global.jobs. - Double-check all indentation and YAML formatting. ### 5. References - For a full reference and more examples, see the [values.yaml reference for Helm chart V2](https://docs.airbyte.com/platform/next/deploying-airbyte/values). - For migration and structure details, see [Update your values.yaml file](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file). --- Summary: Move your jobs.resources block under global.jobs.resources and ensure you include the edition key in global. The rest of your configuration appears compatible with Helm chart V2, assuming you adjust the structure as shown above. If you need more advanced customizations, refer to the [values.yaml reference](https://docs.airbyte.com/platform/next/deploying-airbyte/values).Fabrizio Spini
11/06/2025, 2:13 PMpostgresql.persistence.size is being ignored, and I'm stuck at 1Gi. What is the exact dot-notation key (e.g., postgresql.primary.persistence.size) required to force the value to 10Gi for the primary volume?kapa.ai
11/06/2025, 2:13 PMkapa.ai
11/06/2025, 2:13 PMpostgresql.persistence.size or postgresql.primary.persistence.size). The documentation and issues referenced discuss general configuration and resource overrides, but do not provide a definitive answer for this specific key in Helm chart version 2.0.19. If you need the exact key, I recommend checking the [official Airbyte Helm chart values.yaml on GitHub](https://github.com/airbytehq/airbyte-platform/blob/main/charts/v2/airbyte/values.yaml) for the most up-to-date and authoritative information, as suggested in the documentation sources.Fabrizio Spini
11/06/2025, 3:14 PMkapa.ai
11/06/2025, 3:14 PMkapa.ai
11/06/2025, 3:14 PMstdout. On Kubernetes platforms such as GKE, logs written to stdout are automatically collected by the platform’s logging agent (e.g., Google Cloud Logging/Stackdriver), which can result in significant log ingestion and storage costs if your Airbyte jobs are verbose or run frequently. There is a community discussion where a user noted that GKE collects JSONL lines from pod containers and pushes them into Cloud Logging, and they were seeking ways to optimize or format this logging to better control costs and usability. This highlights that Airbyte’s logging behavior on Kubernetes can directly impact cloud logging costs, especially if not managed or filtered appropriately [[GKE & Cloud Logging usability](https://github.com/airbytehq/airbyte/issues/6531)]. Additionally, Airbyte’s design is to write logs to immutable object storage for reliability, but logs are also output to stdout, which means any logging collector on the node (such as those in managed Kubernetes environments) will pick them up and forward them to your cloud logging solution, potentially increasing costs [[K8S Production reliable deployement](https://discuss.airbyte.io/t/346)]. To mitigate this, you may want to: - Adjust Airbyte’s log verbosity. - Set up log retention and filtering policies in your cloud logging platform. - Regularly clean up or offload logs from object storage. In summary, Airbyte’s logging on Kubernetes can contribute to increased cloud logging costs if not properly managed.Fabrizio Spini
11/17/2025, 2:49 PMkapa.ai
11/17/2025, 2:49 PMkapa.ai
11/17/2025, 2:49 PMvalues.yaml file for each deployment. There is no mention of sharing a single database across multiple Airbyte deployments, and using separate databases is the standard approach to prevent issues with overlapping data or schema conflicts [[Configuring the Airbyte Database](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-the-airbyte-database)]. Additionally, a related GitHub issue discusses the need to preconfigure separate databases (e.g., airbyte_db_1, airbyte_db_2, etc.) when using the same Postgres instance for multiple Airbyte deployments, further confirming that each deployment should have its own database [[Helm Chart: make temporal and temporal_visibility databases configurable](https://github.com/airbytehq/airbyte/issues/11157)]. In summary: Yes, you need to create 3 separate databases in Cloud SQL if you have 3 Airbyte deployments.Fabrizio Spini
11/24/2025, 8:40 AM2025-11-19 16:01:45 platform > Using job log path: /workspace/408437/0/logs.log
where can I found this log? if the container is destroyed can I retrieve the log?kapa.ai
11/24/2025, 8:40 AMkapa.ai
11/24/2025, 8:40 AM408437 - Attempt: 0 - Log file: /workspace/408437/0/logs.log How you access it depends on your deployment. --- ### 1. Via the Airbyte UI (recommended) For any deployment (Docker or Kubernetes), you can always see/download the job logs from the UI: 1. Go to the connection → Job History. 2. Find the job, click the three dots → View logs to browse them in-app. 3. Or Download logs to get a merged logs.log locally. [[Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs)] This works even if the original worker container has already been destroyed, because Airbyte persists job logs and exposes them via the UI. --- ### 2. Docker / Open Source local deployment For OSS Docker deployments, the job workspace is persisted in the airbyte_workspace Docker volume under /tmp/workspace/<job_id>/<attempt>/. [[Exploring Local Logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs)] Example for job 408437, attempt `0`: bash docker run -it --rm --volume airbyte_workspace:/data busybox ls /data/408437/0 # You should see: logs.log, catalog.json, configs, etc. docker run -it --rm --volume airbyte_workspace:/data busybox cat /data/408437/0/logs.log So even after the worker container is gone, the log is still in the volume. --- ### 3. Kubernetes On Kubernetes, you cannot rely on the worker pod after it has completed (it’s ephemeral), but you still have options: - Use the UI to view/download logs (Airbyte persists them separately, not only in the pod). [[Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs)] - For other workspace artifacts in running pods, you can kubectl exec into the job pod and inspect /config or /workspace, but once the pod is in Succeeded state you can no longer exec into it. [[Browsing on Kubernetes](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#browsing-on-kubernetes); [Browsing-output-logs on Kubernetes](https://discuss.airbyte.io/t/4175)] The knowledge sources do not document a supported way to reconstruct /workspace/…/logs.log from a terminated K8s job pod directly; log access after pod destruction is via the Airbyte UI (and any external log sink you configured), not by re-entering the pod. --- Summary - The concrete file is at /tmp/workspace/408437/0/logs.log inside the Airbyte workspace volume in Docker-based OSS. [[Exploring Local Logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs)] - On Kubernetes, worker pods are ephemeral; after they are destroyed you retrieve logs via the UI download/view logs feature, not by kubectl exec into the old pod. [[Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs)]