prometheus-operator: Add node label to node-exporters
This commit is contained in:
		| @@ -366,7 +366,9 @@ spec: | |||||||
|       app: node-exporter |       app: node-exporter | ||||||
|   podMetricsEndpoints: |   podMetricsEndpoints: | ||||||
|     - port: web |     - port: web | ||||||
|       scrapeTimeout: 30s |       relabelings: | ||||||
|  |         - sourceLabels: [__meta_kubernetes_pod_node_name] | ||||||
|  |           targetLabel: node | ||||||
| --- | --- | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: ServiceAccount | kind: ServiceAccount | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user