apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
  name: node-feature-discovery
  labels:
    app.kubernetes.io/name: node-feature-discovery
    app.kubernetes.io/instance: node-feature-discovery
spec:
  podMetricsEndpoints:
    - honorLabels: true
      interval: 10s
      path: /metrics
      port: http
      scheme: http
  namespaceSelector:
    matchNames:
      - node-feature-discovery
  selector:
    matchExpressions:
      - {key: app.kubernetes.io/instance, operator: In, values: ["node-feature-discovery"]}
      - {key: app.kubernetes.io/name, operator: In, values: ["node-feature-discovery"]}
