raspbernetes / k8s-cluster-installation

Bootstrap a k8s cluster with Ansible
https://raspbernetes.github.io/
Apache License 2.0
114 stars 32 forks source link

fix keepalived config so proper master is identified #110

Closed rkage closed 3 years ago

rkage commented 3 years ago

Signed-off-by: Nick M 4718+rkage@users.noreply.github.com

Description

Current configuration does not properly assign MASTER/BACKUP options in the config file. This PR properly configures the primary and backup VIP nodes. One possible problem with the existing configuration is the situation where the API server is not started on what is advertised as the primary VIP. This fix should eliminate an unintended configuration.