Send SIGHUP
to reload IPVS config from /ipvs.json
formatted for facebook/gnlpy's ipvs.Pool.load_pools_from_json_list()
.
- load
ip_vs
module on the host first withmodprobe ip_vs
- run with
--cap-add NET_ADMIN
docker build -t intermedia/ipvs . && docker build -t ipvs:pytest tests
# run unit tests with coverage
docker run --rm --cap-add=NET_ADMIN -t ipvs:pytest
# run pylint
docker run --rm -t ipvs:pytest pylint ipvssync
# remote interactive debug with pyvdev
docker run --rm --cap-add=NET_ADMIN -e PYDEV_IP=10.9.3.185 -e PYDEV_PORT=4444 ipvs:pytest