Skip to content

Commit

Permalink
update keepalived config example (#315)
Browse files Browse the repository at this point in the history
add script security option for the keepalived (required
in current version of the daemon)

Signed-off-by: Waldek Maleska <waldekm@speechmatics.com>
  • Loading branch information
weakcamel authored Aug 14, 2024
1 parent db04966 commit 250d1e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/datastore/cluster-loadbalancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ backend k3s-backend
3) Add the following to `/etc/keepalived/keepalived.conf` on lb-1 and lb-2:

```
global_defs {
enable_script_security
script_user root
}
vrrp_script chk_haproxy {
script 'killall -0 haproxy' # faster than pidof
interval 2
Expand Down

0 comments on commit 250d1e8

Please sign in to comment.