You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PVC gets properly created, however since it's using the bitnami image, /var/lib/mysql (where the PVC is mounted) is not used. Instead, bitnami mounts the datadir under /bitnami/mysql/data/, which falls under the ephemeral storage of the pod. When the pod is recycled, the database is wiped, since nothing was written to the PVC where it was mounted, thus incurring data loss.
Description:
Deploying 4.1.x via helm, configured the following so MySQL uses a non-NFS storageClass:
The PVC gets properly created, however since it's using the bitnami image,
/var/lib/mysql
(where the PVC is mounted) is not used. Instead, bitnami mounts the datadir under/bitnami/mysql/data/
, which falls under the ephemeral storage of the pod. When the pod is recycled, the database is wiped, since nothing was written to the PVC where it was mounted, thus incurring data loss.Suggested Labels:
Severity/Critical,Type/Bug,Priority/Highest
Suggested Assignees:
@RakhithaRR
Affected Product Version:
4.1.x (deployed) and assuming others
OS, DB, other environment details and versions:
GCP GKE v1.26.8, deploying using Helm via ArgoCD
Steps to reproduce:
Related Issues:
The text was updated successfully, but these errors were encountered: