Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | applications: |
| 2 | - keepalived |
| 3 | classes: |
| 4 | - service.keepalived.support |
| 5 | parameters: |
Leontii Istomin | 4d72316 | 2018-02-28 18:42:12 +0100 | [diff] [blame] | 6 | _param: |
| 7 | keepalived_docker_vrrp_script_content: "docker service ls" |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 8 | keepalived: |
| 9 | cluster: |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 10 | vrrp_scripts: |
Leontii Istomin | 4d72316 | 2018-02-28 18:42:12 +0100 | [diff] [blame] | 11 | docker_service_ls: |
| 12 | content: ${_param:keepalived_docker_vrrp_script_content} |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 13 | interval: 10 |
| 14 | rise: 1 |
| 15 | fall: 1 |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 16 | 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 Pytloun | 19a4baf | 2017-03-02 14:35:38 +0000 | [diff] [blame] | 23 | priority: 101 |
Leontii Istomin | 4d72316 | 2018-02-28 18:42:12 +0100 | [diff] [blame] | 24 | track_script: docker_service_ls |