pumba icon indicating copy to clipboard operation
pumba copied to clipboard

Contact services on a different host in docker swarm

Open astha-textiq opened this issue 4 years ago • 1 comments
trafficstars

@alexei-led I have downloaded the image on one of the nodes of my docker swarm and I can kill the containers present on the same node.

sudo docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock pumba --interval=10s --random --log-level=info kill --signal=SIGKILL "re2:^redis" However, some of my services are hosted on a different node in the docker swarm. The same command doesnt work for them. The documentation gives the parameter --host but I tried passing public, private ip addresses and it doesnt work either. I am pretty sure I am using it wrong.

Any suggestions on how to kill the services present on different nodes? I can scale them down to 0 and then 1 but that I can do without the tool itself.

astha-textiq avatar Apr 27 '21 01:04 astha-textiq

@astha-textiq check if the remote port is open and not blocking access from IP you are running pumba. configure TLS if required (pumba support working with TLS)

alexei-led avatar May 25 '21 11:05 alexei-led

no plans to support Docker swarm. Closing.

alexei-led avatar Jan 12 '23 14:01 alexei-led