

Config Maps for PostgreSQL Configurations This image will provide the functionality of providing custom configurations/environment variables of PostgreSQL like username, password, database name and path, etc.

We are using PostgreSQL 10.4 Docker image from the public registry. Config Maps for storing Postgres configurations.

To Deploy PostgreSQL on Kubernetes we need to follow below steps: You can also check the earlier blog post for basics about Deploying PostgreSQL on Docker container. Refer Kubernetes cluster installation and configuration steps for CentOS here. You can provision the Kubernetes cluster on any public cloud provider like AWS, Azure or Google cloud, etc. It doesn’t cover the installation or configuration of Kubernetes cluster, although we previously wrote about it in this blog on MySQL Galera Cluster on Kubernetes. This blog intended to provide steps to run PostgreSQL database on Kubernetes cluster. Running a PostgreSQL database on Kubernetes is a topic of discussion nowadays as Kubernetes provides ways to provision stateful container using persistent volumes, statefulsets, etc. Kubernetes is an open source container orchestration system for automating deployment, scaling and management of containerized applications.
