blob: 51283b2ce0d4d246b72ea87b48d51160f9ab6b3c [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001applications:
2- keepalived
3classes:
4- service.keepalived.support
5parameters:
Leontii Istomin4d723162018-02-28 18:42:12 +01006 _param:
7 keepalived_docker_vrrp_script_content: "docker service ls"
Ondrej Smola03ff34e2016-12-01 01:30:33 +01008 keepalived:
9 cluster:
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010010 vrrp_scripts:
Leontii Istomin4d723162018-02-28 18:42:12 +010011 docker_service_ls:
12 content: ${_param:keepalived_docker_vrrp_script_content}
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010013 interval: 10
14 rise: 1
15 fall: 1
Ondrej Smola03ff34e2016-12-01 01:30:33 +010016 enabled: true
17 instance:
18 stacklight_monitor_vip:
19 address: ${_param:keepalived_stacklight_monitor_vip_address}
20 password: ${_param:keepalived_stacklight_monitor_vip_password}
21 interface: ${_param:keepalived_stacklight_monitor_vip_interface}
22 virtual_router_id: 100
Filip Pytloun19a4baf2017-03-02 14:35:38 +000023 priority: 101
Leontii Istomin4d723162018-02-28 18:42:12 +010024 track_script: docker_service_ls