infra
infra copied to clipboard
Crashloopbackoff when deploying postgres container on GKE
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
initdb: error: directory "/var/lib/postgresql/data" exists but is not empty
It contains a lost+found directory, perhaps due to it being a mount point.
Using a mount point directly as the data directory is not recommended.
Create a subdirectory under the mount point.
This occurs when creating in EKS as well , @jmorganca Are we updating chart with Hotfix ?
Caused by lost+found
default directory when an external volume is created. Same problem on GKE ans Scaleway.
I can fix Helm chart if you want.
Thanks for the pointer! We are currently working on a new set of Helm charts which will replace the ones in the this repo. This will be addressed in the new chart.