updating node exporter

This commit is contained in:
James Mellors 2025-05-14 18:14:55 +01:00
parent 5a3f0f32eb
commit b20c319134

View File

@ -4291,7 +4291,14 @@ prometheus:
## The scrape configuration example below will find master nodes, provided they have the name .*mst.*, relabel the
## port to 2379 and allow etcd scraping provided it is running on all Kubernetes master nodes
##
additionalScrapeConfigs: []
additionalScrapeConfigs:
- job_name: 'mini-pc-node-exporter'
static_configs:
- targets: ['192.168.68.55:9100'] # <-- YOUR MINI PC STATIC IP and Port
labels:
instance: 'mini-pc-01' # Add any identifying labels
# Add other relevant labels if needed
# e.g., group: 'external-hosts'
# - job_name: kube-etcd
# kubernetes_sd_configs:
# - role: node