apiVersion: v1
kind: Service
metadata:
  annotations:
    prometheus.io/port: "9113"
    prometheus.io/scrape: "true"
  labels:
    app: pgsql
    deploy: sourcegraph
  name: pgsql
spec:
  ports:
  - name: pgsql
    port: 5432
    targetPort: pgsql
  selector:
    app: pgsql
  type: ClusterIP
