How to deploy VIP / IPVS on ProxySQL container?

Recently we have been investigating running Percona cluster with ProxySQL on Docker Swarm, the following guide for reference:
Since ProxySQL is SQL load balancer in this Docker Stack, how could I set it up so that we could have active/passive ProxySQL containers running on two runners node with nearly instant fail-over, so all application will still using the same DB hostname / IP as target without changing anything?
(And please, I don’t make the rule nor bends it, that’s our business requirement to have IP HA available on Docker Swarm)

With ProxySQL the first question you need to answer is: Where do i put it? You can check this blog post but pretty much is either in the same server (or container) used by your apps or on its own layer. The suggested approach is always app+proxysql together and use the ProxySQL Cluster solution (  ) to keep configuration in sync. 
And for HA you could use Keepalived to move the Virtual IPs, as described here: However, implementation within Swarm might be different