cuigh / prometheus

The Prometheus monitoring system and time series database.
https://prometheus.io/
Apache License 2.0
3 stars 2 forks source link

swarm VIP - Bug multiple ip #7

Closed WTFKr0 closed 5 years ago

WTFKr0 commented 5 years ago

Hey

Found a bug on my last PR with multiples IP, it always take the first as the network Alias is not what i think. I have to fetch all networks to find the ID of network name, and then search this ID in service Spec

cuigh commented 5 years ago

How about using service name instead of IP in service mode?

WTFKr0 commented 5 years ago

yeah you're right, more clear like that I tested and it's OK