aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/authentication/components/oauth2-proxy/ci/servicemonitor-values.yaml
blob: 0c232bf5c1806465f5637668079d1af5c0f3969f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
metrics:
  enabled: true
  serviceMonitor:
    enabled: true
    annotations:
      key: value
    metricRelabelings:
    - action: keep
      regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
      sourceLabels: [__name__]

    relabelings:
    - sourceLabels: [__meta_kubernetes_pod_node_name]
      separator: ;
      regex: ^(.*)$
      targetLabel: nodename
      replacement: $1
      action: replace