blob: aea8b5530a1b731f215afd99c60763f522f10a2f [file] [log] [blame]
Dmitry Kalashnik1dd0fd02017-04-07 16:44:48 +04001applications:
2- keepalived
3classes:
4- service.keepalived.support
5parameters:
6 _param:
7 keepalived_vip_priority: 101
Mateusz Matuszkowiak6d63d462018-02-23 10:51:44 +01008 keepalived_prometheus_vrrp_script_content: "pidof haproxy && docker service ls"
Dmitry Kalashnik1dd0fd02017-04-07 16:44:48 +04009 keepalived:
10 cluster:
Mateusz Matuszkowiak6d63d462018-02-23 10:51:44 +010011 vrrp_scripts:
12 vip:
13 content: ${_param:keepalived_prometheus_vrrp_script_content}
14 interval: 30
15 rise: 1
16 fall: 1
Dmitry Kalashnik1dd0fd02017-04-07 16:44:48 +040017 enabled: true
18 instance:
19 prometheus_server_vip:
20 address: ${_param:keepalived_prometheus_vip_address}
21 password: ${_param:keepalived_prometheus_vip_password}
22 interface: ${_param:keepalived_prometheus_vip_interface}
23 virtual_router_id: 105
24 priority: ${_param:keepalived_vip_priority}
Mateusz Matuszkowiak6d63d462018-02-23 10:51:44 +010025 track_script: vip