Replies: 4 comments
-
UPD: vip-manager removes VIP as the cleanup routine. vip-manager doesn't remove VIP because there was no such a condition in consul. vip-manager does only one job: adds vip when it needed to be added, deletes vip when it should be deleted. In what way stopping the vip-manager affects the patroni cluster? |
Beta Was this translation helpful? Give feedback.
-
Hi @pashagolub , |
Beta Was this translation helpful? Give feedback.
-
Well, yeah. Or make sure consul is in a state when VIP will be removed automatically |
Beta Was this translation helpful? Give feedback.
-
I've checked the code and I was wrong. As a cleanup routine vip-manager deconfigures virtual IP: vip-manager/ipmanager/ip_manager.go Line 58 in 7ecae13 Now the question is: why it doesn't in your case? Are there any additional information in logs? Crash maybe? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I use vip-manager 2.8.0 and consul 1.19.0
When I stopped the vip-manager service, the VIP still assigned on server.
I can see the VIP like this:
Here is the vip-manager settings:
Is this a bug? If not, is there a setting to delete VIP automatically?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions