This video shows how to create Postgres Docker image and Kubernetes cluster step-by-step. Also, we talk about Kubernetes persistent volume and persistent volume claims. To access the Postgres database inside the
K8s cluster, we use pgAdmin.
===============================================
Chapters:
00:05 Postgresql in Docker & Kubernetes
01:02 Postgresql Dockerfile
03:20 Build & Test Postgres Docker Image
05:57 pgAdmin & Postgres Docker Container
08:49 Stop & Remove Postgres Container
09:49 Creating K8s Yaml Files
11:32 K8s Persistent Volume (PV) & Persistent Volume Claim (PVC)
13:44 Postgres Cluster PV & PVC Yamls
16:36 Postgres Cluster Deployment, Service, and Ingress Yamls
20:46 Apply Postgres K8s Yamls
23:58 pgAdmin & Postgres Cluster
===============================================
Subscribe for more content on Startup Documentary:
/ @collabshare
Watch next – [ Startup Documentary: • startup documentary ]
===============================================
Let’s connect:
Instagram – collabshare.dev
===============================================
References:
How to install pgAdmin: https://www.pgadmin.org/
===============================================
Important Quote to Keep in Mind:
“Stop overthinking and do what you must do RIGHT NOW!”
~Ramin Esmzad~