How to manually switch keepalived?
- Go to the desired pods:
kubectl -n d8-keepalived exec -it keepalived-<name> -- sh
- Edit the
/etc/keepalived/keepalived.conf
file and in the line with thepriority
parameter, replace the value with the number of keepalived pods + 1. - Send a signal to reread the configuration:
kill -HUP 1
.