apiVersion: v1
kind: Service
metadata:
  namespace: mysystem
  name: mysystem-db
  labels:
    name: database
    system: mysystem
spec:
  clusterIP: None
  ports:
    - port: 5432
      targetPort: 5432
  selector:
    name: database
    system: mysystem
    