initial git commit saving configs
This commit is contained in:
15
shared-db/postgres-nodeport.yaml
Normal file
15
shared-db/postgres-nodeport.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: shared-postgres-nodeport
|
||||
namespace: db
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
cnpg.io/cluster: shared-postgres
|
||||
role: primary
|
||||
ports:
|
||||
- name: postgres
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
nodePort: 30432
|
||||
Reference in New Issue
Block a user