1
0
Fork 0

Let nodes access their own prometheus metrics

This commit is contained in:
Daniel Lovbrotte Olsen 2023-03-04 04:08:46 +01:00
parent db69d28b42
commit a9d04ed286
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
systemd.services.prometheus-node-exporter.serviceConfig = { systemd.services.prometheus-node-exporter.serviceConfig = {
IPAddressDeny = "any"; IPAddressDeny = "any";
IPAddressAllow = [ IPAddressAllow = [
"127.0.0.1"
"::1"
values.hosts.ildkule.ipv4 values.hosts.ildkule.ipv4
values.hosts.ildkule.ipv6 values.hosts.ildkule.ipv6
]; ];