-
Notifications
You must be signed in to change notification settings - Fork 32
Replace restricted Bitnami PostgreSQL HA image to ensure tutorial manifests work for learners #4
Description
Hi,
I was reviewing your Kubernetes StatefulSet manifests for PostgreSQL (and the accompanying devopscube.com tutorial) and noticed that postgresql/postgres-statefulset.yaml relies on the docker.io/bitnami/postgresql-repmgr:11.12.0-debian-10-r44 Docker image.
The Problem
Bitnami has recently restricted public access to their Docker images, placing them behind a paywall with strict rate limits. Because this repository serves as a learning resource and reference architecture for DevOps engineers, relying on the bitnami namespace means your readers will likely encounter pull access denied or rate-limit errors when they try to apply these manifests. This breaks the tutorial experience and leaves users stuck debugging image pull failures instead of learning about StatefulSets.
Proposed Solution
I suggest updating the manifests to use soldevelo/postgresql-repmgr.
This image is a free, actively maintained, and fully open-source fork of the original Bitnami image.
Crucially, it acts as a drop-in replacement:
- It preserves the exact same Bitnami directory structure, environment variables, and
repmgrreplication logic. - Your custom initialization and lifecycle commands (like the
command: - /pre-stop.shblock) will continue to work immediately without any structural changes to the manifest.
(Note: SolDevelo maintains a growing library of open-source, Bitnami-compatible container images specifically to help the OSS community bypass these new restrictions. You can find the source code and other alternative images here: https://github.com/SolDevelo/containers)
Suggested Change in postgresql/postgres-statefulset.yaml:
# Old
image: docker.io/bitnami/postgresql-repmgr:11.12.0-debian-10-r44
# New
image: docker.io/soldevelo/postgresql-repmgr:11.12.0-debian-10-r44(You could also bump the tag to a newer PostgreSQL version while making this change, as PG 11 is quite old).
Would you like me to submit a Pull Request to update this image reference so your tutorial remains functional and accessible for everyone?