kubernetes.adm.keepalived role – Setup HA Floating IP Using Keepalived
Note
This role is part of the kubernetes.adm collection (version 1.0.0).
To install it use: ansible-galaxy collection install kubernetes.adm
.
To use it in a playbook, specify: kubernetes.adm.keepalived
.
Entry point main
– Setup HA Floating IP Using Keepalived
Synopsis
Based on Software load balancing.
Keepalived requires that all nodes are in the same subnet(broadcast domain).
Parameters
Parameter |
Comments |
---|---|
The health check script template that will be used by keepalived. |
|
The network interface used by keepalived VRRP protocol. For exmaple eth0. |
|
The server with the MASTER state in |
|
Key value pairs of inventory hosts and their IPs. |
|
The VRRP instance router id. Should be unique among different instances of VRRP. See man:keepalived.conf(5) for more info. |
|
The keepalived VIP |