rabbitmq - Blocking traffic to one of the docker swarm service task containers -
there 3 distinct vms rabbitmq service deployed in global mode. goal block traffic 1 of rabbitmq service containers. tried using iptables reproduce rabbitmq network partition scenario
by adding iptables chain
iptables -a docker-ingress -d 10.255.0.33 -p tcp --dport amqp -m state --state established,related -j drop
on 2 docker nodes rabbitmq service task containers run. 10.255.0.33 ip of container swarm overlay network taken docker service inspect
output. though, traffic still passes through , network partition not reproduced. how block traffic service container correctly?
Comments
Post a Comment