scylladb / scylla-ansible-roles

Ansible roles for deploying and managing Scylla, Scylla-Manager and Scylla-Monitoring
44 stars 38 forks source link

support changing of default docker network for monitoring role #382

Closed tarzanek closed 5 months ago

tarzanek commented 5 months ago

default docker subnet

172.17.0.0/16

might be too big

monitoring role should be able to set a smaller one, e.g. 172.17.0.0/24 or maybe even /28 for monitoring purpose

workaround/fix is to have a daemon.json file created before deploying docker:

#stop monitoring
sudo bash -c 'echo { \"bip\": \"172.17.0.1/28\" } > /etc/docker/daemon.json'
sudo systemctl restart docker
#start monitoring