Compare commits

...

2 Commits

Author SHA1 Message Date
1d0d1f7eb2 Add a public VIP to the k8s cluster 2021-04-29 11:48:22 -05:00
2c3fe97089 Ensure rolling restarts of keepalived 2021-04-29 11:48:15 -05:00
2 changed files with 9 additions and 0 deletions

View File

@ -53,4 +53,12 @@
advert_int: 1
auth_pass: "{{ secret_keepalived_pass }}"
vip: "192.168.102.202/16"
- name: VI_4
state: "{{ keepalived_state | default('BACKUP') }}"
interface: eth0
virtual_router_id: 53
priority: "{{ keepalived_priority }}"
advert_int: 1
auth_pass: "{{ secret_keepalived_pass }}"
vip: "192.168.102.240/16"
tags: [ k8s, keepalived ]

View File

@ -2,4 +2,5 @@
# vim:ft=ansible:
---
- name: restart keepalived
throttle: 1
systemd: name=keepalived state=restarted