<@U04S8PLJWMT> How to set up a clean up of the per...
# ask-ai
a
@kapa.ai How to set up a clean up of the persistent volume "airbyte-minio-pv-claim-airbyte-minio-0" ? What is stored in it ?
k
The persistent volume claim (PVC) named
airbyte-minio-pv-claim-airbyte-minio-0
is used by the MinIO pod in Airbyte deployments on Kubernetes. This volume primarily stores Airbyte job logs and related log data. Users have confirmed that deleting the contents of this volume only affects logs and does not impact critical configuration or workflow data—so it is generally safe to clean up if you only want to remove logs and free up space [How to clean up airbyte-minio and what's stored in minio?](https://discuss.airbyte.io/t/3101), [S3 Minio Storage Full](https://discuss.airbyte.io/t/1857), [Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812), [Github Issue: [helm] MinIO statefulset not working](https://github.com/airbytehq/airbyte/issues/36801). ### What is stored in
airbyte-minio-pv-claim-airbyte-minio-0
? - Job logs: The main content is logs generated by Airbyte jobs, typically found under directories like
/storage/airbyte-storage/job-logging/workspace/
or
/storage/airbyte-dev-logs/job-logging/workspace/
inside the MinIO pod. - Other log-related data: Some users also mention workload output logs under
/storage/airbyte-storage/workload/output
. ### How to clean up the volume? To clean up the logs and free up space without deleting the entire PVC, you can manually delete files inside the relevant directories: 1. Exec into the MinIO pod:
Copy code
sh    kubectl exec -it -n <namespace> airbyte-minio-0 -- /bin/bash
2. Delete log files:
Copy code
sh    rm -rf /storage/airbyte-storage/job-logging/workspace/*    rm -rf /storage/airbyte-storage/workload/output/*
(Adjust the path if your deployment uses a different log directory, e.g.,
/storage/airbyte-dev-logs/job-logging/workspace/
.) This will remove the logs and free up space on the PVC, resolving issues related to MinIO storage being full [How to clean up airbyte-minio and what's stored in minio?](https://discuss.airbyte.io/t/3101), [S3 Minio Storage Full](https://discuss.airbyte.io/t/1857), [Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812). ### Automating Cleanup There is currently no built-in automatic log cleanup for MinIO in Airbyte. Users must manually delete logs or set up their own automation (e.g., a Kubernetes CronJob or a script) to periodically clean up old log files [Github Issue: [platform] airbyte-minio-0 pod restarts because of storage space is full](https://github.com/airbytehq/airbyte/issues/44556). Note: Deleting the entire PVC will remove all logs, but you should only do this if you are sure you do not need any of the stored logs. If you need to increase storage instead, you can adjust the
volumeClaimValue
in your Helm values file (e.g., set to
2Gi
instead of the default
500Mi
) [Github Issue: All sync jobs hanging indefinitely](https://github.com/airbytehq/airbyte/issues/55812).