Add a keepalived notify script to be aware of state transitions
Add livenessProbe to Helm chart and standalone daemonsets. I didn't add a readinessProbe since kube-keepalived-vip has no services.
Add a --http-port command line parameter with default of 8080 in case the default conflicts with other ports used on hostNetwork. Named it http-port instead of health-check-port in case other HTTP endpoints are needed in the future.
Health check logic ensures that all VIPs are present in ip addr show on MASTER instance and that no VIPs are present on BACKUP/FAULT instances.
Fix make chart on Mac OS X by using sed with backup extension
Test by ip addr del ip dev eth0 and ip addr add dev eth0
Fixes #54 by adding a /health HTTP endpoint
--http-port
command line parameter with default of 8080 in case the default conflicts with other ports used on hostNetwork. Named it http-port instead of health-check-port in case other HTTP endpoints are needed in the future.ip addr show
on MASTER instance and that no VIPs are present on BACKUP/FAULT instances.make chart
on Mac OS X by using sed with backup extensionTest by
ip addr del ip dev eth0
andip addr add dev eth0