Install CloudNativePG PostgreSQL operator.
Read k8s-install.sh and run to install the operator :
bash cnpg/install.shSee manifest/postgis-cluster.yaml to create a sample cluster :
kubectl -n cnpg apply -f "cnpg/manifest/postgis-cluster.yaml"See manifest/job-import-naturalearth.yaml to import sample data :
kubectl -n cnpg apply -f "cnpg/manifest/job-import-naturalearth.yaml"