apiVersion: v1
kind: Service
metadata:
  name: postgres
  namespace: petclinic
  labels:
    app: postgres
spec:
  ports:
    - port: 5432
      name: postgres
  clusterIP: None
  selector:
    app: postgres
