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

Parameters

Parameter

Comments

keepalived_check_script_template

string / required

The health check script template that will be used by keepalived.

keepalived_interface

string / required

The network interface used by keepalived VRRP protocol. For exmaple eth0.

keepalived_master

string / required

The server with the MASTER state in keepalived.conf. Must be an inventory host.

keepalived_peers

dictionary / required

Key value pairs of inventory hosts and their IPs.

keepalived_router_id

integer / required

The VRRP instance router id.

Should be unique among different instances of VRRP.

See man:keepalived.conf(5) for more info.

keepalived_vip

string / required

The keepalived VIP