postgresql-container
postgresql-container copied to clipboard
k8s BUS error with huge pages enabled
There is a bug in Kubernetes environment causing: Bus error in Postgres when huge_pages are enabled in the cluster see here.
Using custom Postgres config inclusion designed into sclorg/postgresql-container it is possible to add huge_pages = off
to work around this issue. However during database initialization initdb executes Postgres binary with a null config file, causing BUS error.
I am also seeing this with a Quay operator-based deployment on OpenShift.