apiVersion: v1
kind: Service
metadata:
  name: pgsql-app
  labels:
    app: pgsql-app
spec:
  type: NodePort
  ports:
   - port: 5432
  selector:
   app: pgsql-app
