Skip to content

Commit

Permalink
Exclude NFD master from metrics
Browse files Browse the repository at this point in the history
Addresses #1.

Signed-off-by: Mike McKiernan <[email protected]>
  • Loading branch information
mikemckiernan committed Apr 15, 2024
1 parent 82df1ac commit 3adc410
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gpu-telemetry/kube-prometheus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Setting up Prometheus
#####################

.. contents::
:depth: 5
:depth: 2
:local:
:backlinks: none

Expand Down Expand Up @@ -111,6 +111,9 @@ Add the following ``configMap`` to the section on ``additionalScrapeConfigs`` in
names:
- gpu-operator
relabel_configs:
- source_labels: [__meta_kubernetes_endpoints_name]
action: drop
regex: .*-node-feature-discovery-master
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: kubernetes_node
Expand Down

0 comments on commit 3adc410

Please sign in to comment.