Prioritize a Specific Master Node Running Keepalived Service Such That the VIP Will Raise on it if the Node Becomes Available

Problem

Is there a way to set a Priority on a Specific Master Nodes Running Keepalived Service as a part of a PMK Multi-Master BareOS cluster such that the VIP will raise on it if the Node Becomes Available?

Environment

  • Platform9 Managed Kubernetes - All Versions

Answer

From a general perspective, there is a way to set priority in the Keepalived configuration but restarting of the pf9-kube service on the node during reboot or status check failures will revert those changes. Also, currently, there is no other way to set/persist these configuration changes for the Keepalived service.

Additional Information

Keepalived Configuration

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard