Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 451 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 451 Bytes

Guide

  1. Create Namespace
kubectl create namespace postgres-server
  1. Create Persistent storage PVC
kubectl apply -f pvc.yml
  1. Create the configuration
kubectl create configmap postgres-config --from-file=main-config=postgresql.conf -n postgres-server
  1. Create Deployment
kubectl apply -f .

You can check if everything is okay by running

kubectl get svc -n postgres-server