blob: 42d95f160c464ae8045939945eae9e41468c5430 [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"
Victor Ryzhenkin7c8c4c62018-06-15 05:56:44 +04009 keepalived_k8s_apiserver_vip_interface: ens3
10 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
Victor Ryzhenkin64cb5d02018-06-04 17:49:10 +040011 keepalived:
12 cluster:
13 vrrp_scripts:
14 k8s_vip:
15 content: ${_param:keepalived_kube_apiserver_vrrp_script_content}
16 interval: 10
17 rise: 1
18 fall: 1
19 enabled: true
20 instance:
21 kube_apiserver_vip:
22 address: ${_param:keepalived_k8s_apiserver_vip_address}
23 password: ${_param:keepalived_k8s_apiserver_vip_password}
24 interface: ${_param:keepalived_k8s_apiserver_vip_interface}
25 virtual_router_id: 60
26 priority: ${_param:keepalived_vip_priority}
azvyagintsev609d32f2019-01-17 13:47:01 +020027 track_script: k8s_vip