Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable liveness probe until keepalived.conf exists
Keepalived doesn't necessarily start immediately when its container is created. It waits until keepalived.conf exists. In some case, it takes longer for the config file to be created than for the liveness probe to time out, which triggers unnecessary restarts of the container. Once the monitor populates keepalived.conf it will send the reload command, which starts keepalived. This change just adds a check for the keepalived.conf file to the liveness probe. This way, the liveness probe will always succeed until keepalived.conf is created.
- Loading branch information