add execution right to keepalived check script
This commit is contained in:
parent
f4b1871f2d
commit
c2d64b9fc7
1
init.sh
1
init.sh
@ -47,6 +47,7 @@ config_keepalived() {
|
||||
KUBE_APISERVER_CHK_FALL=${KUBE_APISERVER_CHK_FALL:-'10'}
|
||||
KUBE_APISERVER_CHK_RISE=${KUBE_APISERVER_CHK_RISE:-'2'}
|
||||
CHECK_SCRIPT_PATH=${CHECK_SCRIPT_PATH:-'/usr/lib/keepalived/scripts/chk_kube_apiserver.sh'}
|
||||
chmod +x $CHECK_SCRIPT_PATH
|
||||
{
|
||||
echo 'vrrp_script chk_kube_apiserver {'
|
||||
echo " script \"$CHECK_SCRIPT_PATH $KUBE_APISERVER_ADDRESS $KUBE_APISERVER_PORT\""
|
||||
|
Loading…
Reference in New Issue
Block a user