kube-keepalived-vip icon indicating copy to clipboard operation
kube-keepalived-vip copied to clipboard

conflict custom notify script and healthcheck

Open unteem opened this issue 5 years ago • 1 comments

Hi. There is an issue if you use a notify script with env variable KEEPALIVED_NOTIFY as there is already a notify script for the health check. It seems that keepalived only accept one notify script.

Workaround is to add the health check script in the custom notify script but it might be best for the health check to use a check script (like its done for haproxy) instead of notify script? What do you think?

unteem avatar May 07 '19 09:05 unteem

It can't use a script since it specifically needs the MASTER/BACKUP state that the notify script provides it as parameters.

steven-sheehy avatar May 16 '19 16:05 steven-sheehy