apiVersion: v1
kind: Service
metadata:
  labels:
    name: k8guard-label
  name: k8guard-discover-service
  annotations:
    prometheus.io/scrape: 'true'
    prometheus.io/path: '/metrics'
spec:
  type: NodePort
  ports:
    # The port that this service should serve on.
    - port: 3000

  # Label keys and values that must match in order to receive traffic for this service.
  selector:
     app: k8guard-discover-api
