apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: version-checker
  namespace: version-checker
  labels:
    app.kubernetes.io/name: version-checker
    app.kubernetes.io/instance: version-checker
    app.kubernetes.io/part-of: version-checker
spec:
  selector:
    matchLabels:
      app: version-checker
  endpoints:
    - port: web
      path: /metrics
