Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion templates/common/on-prem/files/keepalived.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ contents:
{
if pid=$(pgrep -o keepalived); then
kill -s SIGTERM "$pid"
# Give keepalived time to shut down
while pgrep -o keepalived; do sleep 1; done
fi
}

Expand Down Expand Up @@ -146,7 +148,8 @@ contents:
fi

rm -f "$keepalived_sock"
socat UNIX-LISTEN:${keepalived_sock},fork system:'bash -c msg_handler'
socat UNIX-LISTEN:${keepalived_sock},fork system:'bash -c msg_handler' &
wait
resources:
requests:
cpu: 100m
Expand Down