Skip to content

Commit

Permalink
Add node label to prometheus metrics (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stian Haugland committed Mar 9, 2021
1 parent d83d97f commit 05a77ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-dns-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.0
version: 1.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "main-6bd7880c"
appVersion: "main-ced69cea"
6 changes: 6 additions & 0 deletions node-dns-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ spec:
- "--listen-address={{ .Values.nodeDns.listenAddress | default "0.0.0.0:8080" }}"
- "--test-hosts={{ .Values.nodeDns.testHosts }}"
- "--test-interval-seconds={{ .Values.nodeDns.testInterval | default 120 }}"
- "--node-name={{ .Values.nodeDns.nodeName | default "$(NODE_NAME)" }}"
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 05a77ed

Please sign in to comment.