blob: 7e03d2587be19c87e62a53ab9b84cacc0479a879 [file] [log] [blame]
Victor Ryzhenkin64cb5d02018-06-04 17:49:10 +04001applications:
2- keepalived
3classes:
4- service.keepalived.support
5parameters:
6 _param:
7 keepalived_vip_priority: 101
8 keepalived_kube_apiserver_vrrp_script_content: "pidof haproxy && systemctl status kube-apiserver.service --quiet --no-pager"
9 keepalived:
10 cluster:
11 vrrp_scripts:
12 k8s_vip:
13 content: ${_param:keepalived_kube_apiserver_vrrp_script_content}
14 interval: 10
15 rise: 1
16 fall: 1
17 enabled: true
18 instance:
19 kube_apiserver_vip:
20 address: ${_param:keepalived_k8s_apiserver_vip_address}
21 password: ${_param:keepalived_k8s_apiserver_vip_password}
22 interface: ${_param:keepalived_k8s_apiserver_vip_interface}
23 virtual_router_id: 60
24 priority: ${_param:keepalived_vip_priority}
25 track_script: k8s_vip