jrrmt / scaleway-ipmove

Small python script to swap a scaleway floating ip between to server (used with keepalived)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scaleway_ipmove

This quick code is used to swap a scaleway ip between two servers. I'm using it mixed with keepalived and kubernetes to have an HA ingress-controller Change the keepalive notify script and add a call to this python script in it

usage

scaleway-ipmove.py token servername1 servername2 ipaddr reverse_ipaddr

About

Small python script to swap a scaleway floating ip between to server (used with keepalived)


Languages

Language:Python 100.0%