keepalived #110

Supports: focal bionic xenial

Description

keepalived is used for monitoring real servers within a Linux Virtual Server (LVS) cluster.


Keepalived Charm

Keepalived is software which provides high availability by assigning two or more nodes a virtual IP and monitoring those nodes, failing over when one goes down.

This charm is maintained along with the components of Charmed Kubernetes. For full information, please visit the official Charmed Kubernetes docs.


Configuration

healthcheck_interval
(int) vrrp_script-based health-check interval, in seconds
2
network_interface
(string) Network interface name for the VIP. The default value is the result of running the following command: `route | grep default | head -n 1 | awk {'print $8'}`.
port
(int) A port to pass to clients.
443
router_id
(int) Virtual router identifier - a number between 1 and 255 that's unique within the network segment
23
vip_hostname
(string) A VIP hostname to pass to clients.
virtual_ip
(string) Virtual IP/netmask that will be moved between instances, e.g.: 10.1.2.3/16