Skip to content

Latest commit

 

History

History

postgres

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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