Skip to content
GitLab
Explore
Sign in
libre.sh
kubernetes
foundation
Compare revisions
fe28c92a07c45db4ef9a30f2572ca36ddb901f63 to 2434a266610a1517da11c9798755ea3beb982bbd
Commits on Source (2)
feat: use node name as instance label
· c594c63e
Hugo Renard
authored
Dec 15, 2022
c594c63e
Merge branch 'feat/node-exporter-instance-label' into 'main'
· 2434a266
Hugo Renard
authored
Dec 15, 2022
feat: use node name as instance label See merge request
!1
2434a266
Hide whitespace changes
Inline
Side-by-side
monitoring/prometheus-stack.yaml
View file @
2434a266
...
...
@@ -37,10 +37,16 @@ spec:
volumeClaimTemplate
:
spec
:
accessModes
:
-
ReadWriteOnce
-
ReadWriteOnce
resources
:
requests
:
storage
:
10Gi
prometheus-node-exporter
:
prometheus
:
monitor
:
relabelings
:
-
sourceLabels
:
[
__meta_kubernetes_pod_node_name
]
targetLabel
:
instance
grafana
:
server
:
root_url
:
"
${grafana_host}"
...
...
@@ -55,4 +61,4 @@ spec:
tls
:
-
secretName
:
grafana-tls
hosts
:
-
"
${grafana_host}"
-
"
${grafana_host}"
\ No newline at end of file