Ciao everyone, I'm deploying airbyte v 2.0.1 on ku...
# replication-troubleshooting
f
Ciao everyone, I'm deploying airbyte v 2.0.1 on kubernetes via terraform. The deploy goes smoothly but I'm not able to force the internal DB disk space. I've tried with the different keys here reported 1. `postgresql.persistence.size`Standard Helm Chart key (used in
airbyte-values.yaml
) 2. `postgresql.primary.persistence.size`Direct access key used by Bitnami PostgreSQL sub-charts. 3. `postgresql.volumeClaimTemplates[0].spec.resources.requests.storage`*Direct Kubernetes template path* (Discovered in live GKE YAML). setting those keys in the following section
Copy code
resource "helm_release" "airbyte" {
  name             = "airbyte-v2"
  repository       = "https://airbytehq.github.io/charts"
  chart            = "airbyte"
  namespace        = "airbyte"
  create_namespace = true

  set {
    name  = "<<Keys reported above>>"
    value = "50Gi"
  }
But all failed to set 50G of disk space for internal postgres and this is leading to a "no disk space left" on postgres soon. I have tried to read the documentation but I haven't found any evidence of which key I have to use. Does anyone had success to set the storage for the internal DB?
k
Based on the knowledge sources, I can see that there is indeed an issue with configuring the internal PostgreSQL database volume size in Airbyte's Helm chart. According to a [GitHub issue about Helm deployment error on internal postgresql database PVC](https://github.com/airbytehq/airbyte/issues/55172), the Airbyte Helm chart does not allow configuration of the airbyte-db internal database volume size. The issue states that this has "an hardcoded value of 500Mi" which is incompatible with some Kubernetes providers' minimum block volume sizes. The issue proposes adding a configuration parameter like:
Copy code
yaml postgresql:   storage:     volumeClaimValue: 500Mi
However, the knowledge sources do not indicate that this feature has been implemented yet. The issue remains open with users commenting that they are waiting for this feature. Important consideration: For production deployments, especially Self-Managed Enterprise, the [Implementation Guide](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-the-airbyte-database) explicitly recommends: "you must use a dedicated database instance for better reliability and backups, such as AWS RDS or GCP Cloud SQL. Don't use the default internal Postgres database,
airbyte/db
, that Airbyte spins up within the Kubernetes cluster." Recommendation: Instead of trying to configure the internal PostgreSQL database size, I would suggest configuring Airbyte to use an external PostgreSQL database where you have full control over storage. The documentation provides configuration examples for setting up external databases in your
values.yaml
file, which you can adapt to your Terraform configuration. I'm sorry, but the knowledge sources do not contain information about a working configuration key to increase the internal PostgreSQL database size in the current Helm chart versions.