metal-stack / firewall-controller

A kubernetes controller running on bare-metal firewalls, creating nftables rules, configures suricata, collects network metrics
MIT License
49 stars 4 forks source link

After firewall-update, nftables/node_exporter endpoints point to wrong ip address #167

Closed mwennrich closed 1 year ago

mwennrich commented 1 year ago
$ k get endpoints
NAME                ENDPOINTS          AGE
nftables-exporter   10.64.140.3:9630   658d
node-exporter       10.64.140.3:9100   658d

ID                                              LAST EVENT      WHEN    STARTED                 AGE     HOSTNAME                                        IPS             SIZE            IMAGE                           PARTITION
f0aa7a00-0e0d-11eb-8000-3cecef6b3a04            Phoned Home     3s      2023-09-21T16:16:23Z    16h 46m shoot--xxx-firewall-33357        10.64.140.1     c1-xlarge-x86   firewall-ubuntu-3.0.20230822    fel-wps101

/ # wget -qO- 10.64.140.1:9100/metrics|head
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 2.5317e-05
go_gc_duration_seconds{quantile="0.25"} 2.7983e-05