HI All,
i have create 1 swarm manager node and 1 swarm worker nodes. below is the information about it.
$ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
jx561q52bt5fp4xbktkwxi8z4 default Ready Active
mxbfh191mfzou60b95lemb0yt * swarm-master Ready Active Leader
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default - virtualbox Running tcp://192.168.99.100:2376 v17.10.0-ce
swarm-master * virtualbox Running tcp://192.168.99.102:2376 swarm-master (master) v17.10.0-ce
Now i have created one docker service from a micro-service image.below are the 2 instances running on swarm master and 1 worker node both are exposed at port 8098:8098
Below are the tasks created
Id Status Node Last update
jbkk9wvpuazbl0luuwu5vowi2 running default 2017-11-15 14:08:09
qxuuwhqutw7pcgex1mol0a9nv running swarm-master 2017-11-15 11:52:17
when i try to hit a rest url with 192.168.99.102:8098/rest/v1/… for 100 times through post-man client.
all the requests are getting executed in swarm- master , but not routing to worker node.which is expected as part of swarm-setup.
Is any thing more missing here!!!
Please Need your help to fix this issue.
Thanks
Sai Prasad A