homelab/kubernetes: cloudnative-pg how to copy existing db
- add documentation regarding how to copy existing DB using cloudnative-pg
This commit is contained in:
12
kubernetes/cloud-native-pg/pgmain-svc.yaml
Normal file
12
kubernetes/cloud-native-pg/pgmain-svc.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: pgmain-svc
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 5432
|
||||
targetPort: 5432
|
||||
selector:
|
||||
cnpg.io/cluster: master-postgres
|
||||
|
||||
Reference in New Issue
Block a user