Skip to content

Commit

Permalink
Merge pull request #292 from openinfradev/node-ex-hostname
Browse files Browse the repository at this point in the history
노드 매트릭에 호스트명 추가
  • Loading branch information
ktkfree authored Nov 17, 2023
2 parents 2812e55 + add3b8b commit 68f09ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,11 @@ spec:
prometheus:
monitor:
enabled: true
relabelings:
- action: replace
sourceLabels:
- __meta_kubernetes_endpoint_node_name
targetLabel: hostname
extraArgs:
- --no-collector.hwmon
tolerations:
Expand Down Expand Up @@ -809,7 +814,7 @@ spec:
kubeStateMetrics:
enabled: true
nodeExporter:
enabled: true
enabled: false
pushgateway:
enabled: true
kubelet:
Expand Down

0 comments on commit 68f09ba

Please sign in to comment.