Skip to content

mh-mohaghegh75/postgres-replication-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy postgres replication cluster with kubernetes.

First of all you have a docker compose file that you can run your cluster within docker container.

if you wanna deploy the cluster on k8s you have to build master and slave docker images: $ Docker build -t master_postgres:1.0.0 -f ./images/master.Dockerfile . AND $ Docker build -t slave_postgres:1.0.0 -f ./images/slave.Dockerfile .

and then you can run the cluster with k8s: $ kubectl apply -f ./k8s/postgres.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published