Skip to content

devnet-2: node_exporter on teku-erigon-1 listens on the docker bridge only - #49

Merged
samcm merged 1 commit into
masterfrom
teku-erigon-1-node-exporter-bind
Nov 20, 2026
Merged

samcm merged 1 commit into
masterfrom
teku-erigon-1-node-exporter-bind

Conversation

@samcm

@samcm samcm commented Nov 20, 2026

Copy link
Copy Markdown
Member

node_exporter runs with host networking and listened on every interface, so 157.180.14.228:9100/metrics was public. This host-only change makes it listen on 172.17.0.1:9100, the address the host's own Prometheus scrapes (job: node in group_vars/erigon.yaml). Only teku-erigon-1 and only port 9100 change.

Rolled out with ansible-playbook -i inventories/devnet-2/inventory.ini playbook.yaml --limit teku-erigon-1 --tags node_exporter.

… only

It listened on every interface, so its metrics were public on the host's
IP. The host's Prometheus scrapes 172.17.0.1:9100, which keeps working.

Co-authored-by: Sam Calder-Mason <samcaldermason@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a1f1f6-78d8-7130-8263-7c1043865e81
@samcm
samcm merged commit 083a35e into master Nov 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants