Kubernetes allows you to create external IP services. In Docker Swarm, can I set an endpoint for each service separately from the node IP address?
For instance:
node1 192.168.1.22 node2. 192.168.1.23
My service:
myweb1 192.168.1.101. 80
So, I would have tasks performed on each node, but the service would be available at http://192.168.1.101 .
You can not. A service in Swarm mode can only be assigned to an Overlay network, therefore, a service cannot be transferred to a host network without any bridge (for example: using the option --publish).
--publish
, ( Overlay) Swarm ip , , node.
Source: https://habr.com/ru/post/1654213/More articles:What is wrong with my intersection check algorithm? - c ++meta object using "static virtual" functions - c ++How can I effectively implement x [i] [j] = y [i + j] in numpy? - pythonКак связать метод в RadioGroup с событием checkChanged с привязкой данных - androidCusom event attributes in android binding application: onMyEvent - androidПроблема с повторной обработкой Android с анимацией - androidSwift3 linked to a chain in case of EU condition errors? - swiftapplication.properties outside the jar file, like - javaES6 type causes error - javascriptUnderstanding the Gossip Protocol - javaAll Articles