apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  namespace: probes
  name: ping-server
spec:
  endpoints:
    - interval: 30s
      port: metrics
  namespaceSelector:
    matchNames:
      - probes
  selector:
    matchLabels:
      probe: ping-server
