You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
I run Kube-aws V 0.9.7 and try to hit the etcd metrics endpoint for Prometheus to scrape.
I run 3 etcd. I use the ENI method.
The first etcd node (node 0) answers to curl requests on :2379/metrics using the ENI IP.
However If I use the same method for node1 and node2 I obtain Failed to connect to 10.11.14.114 port 2379: Connection refused
For etcd1 and etcd2, the trick is to use the instance IP. In which case it works.
To summarise:
etcd0 answers to metrics request on ENI IP (eth1)
etcd1 and etcd2 answers to metric request on instance IP (eth0)
It would be better for my Prometheus to hit the ENI as they will remain the same even if a node goes down and is replaced.
At the moment, if I loose etcd1 or etcd2, I'll have to change my prometheus config to point to the new IP address.
The text was updated successfully, but these errors were encountered:
Vince-Cercury
changed the title
Etcd metrics endpoints answers on the wrong IP
Etcd metrics endpoints answers on the wrong network interface
Sep 5, 2017
I run Kube-aws V 0.9.7 and try to hit the etcd metrics endpoint for Prometheus to scrape.
I run 3 etcd. I use the ENI method.
The first etcd node (node 0) answers to curl requests on :2379/metrics using the ENI IP.
However If I use the same method for node1 and node2 I obtain
Failed to connect to 10.11.14.114 port 2379: Connection refused
For etcd1 and etcd2, the trick is to use the instance IP. In which case it works.
To summarise:
It would be better for my Prometheus to hit the ENI as they will remain the same even if a node goes down and is replaced.
At the moment, if I loose etcd1 or etcd2, I'll have to change my prometheus config to point to the new IP address.
The text was updated successfully, but these errors were encountered: