Service discovery for outside of docker swarmDocker Swarm installation issuesIn a container cluster like Kubernetes or Docker 1.12 Swarm, how do you resolve with external DNS to the good container on the good host?Docker swarm and volumesConfiguring Azure Container Service with Docker Swarm for SSLDocker Swarm FailoverArchitecting a Docker Swarm with persistent storageControl periodic maintenance of services in a docker swarmHowto use a docker/swarm secret value as an environment variable in “docker service create”?Docker Swarm mesh ports limit only to worker nodes?Docker Network: Public IP for Swarm Scope

resoldering copper waste pipe

Passport stamps art, can it be done?

Is there a need for better software for writers?

Why is there a cap on 401k contributions?

How to get MAX value using SOQL when there are more than 50,000 rows

how to find out if there's files in a folder and exit accordingly (in KSH)

Which types of fruit can I give to my dog?

Program for finding longest run of zeros from a list of 100 random integers which are either 0 or 1

Renting a house to a graduate student in my department

Libertine font numbers have a different height than text

What are my options legally if NYC company is not paying salary?

Why do 3D printers have only one limit switch?

What dice to use in a game that revolves around triangles?

Why did they wait for Quill to arrive?

Add EnvironmentPurpose to existing TtmCdTopologyType

What is the radius of the circle in this problem?

Do Monks gain the 9th level Unarmored Movement benefit when wearing armor or using a shield?

Origins of the "array like" strings in BASIC

Was Mohammed the most popular first name for boys born in Berlin in 2018?

What is the Ancient One's mistake?

Add Columns to .csv from Multiple Files

Using wilcox.test() and t.test() in R yielding different p-values

Identity of a supposed anonymous referee revealed through "Description" of the report

Pre-1993 comic in which Wolverine's claws were turned to rubber?



Service discovery for outside of docker swarm


Docker Swarm installation issuesIn a container cluster like Kubernetes or Docker 1.12 Swarm, how do you resolve with external DNS to the good container on the good host?Docker swarm and volumesConfiguring Azure Container Service with Docker Swarm for SSLDocker Swarm FailoverArchitecting a Docker Swarm with persistent storageControl periodic maintenance of services in a docker swarmHowto use a docker/swarm secret value as an environment variable in “docker service create”?Docker Swarm mesh ports limit only to worker nodes?Docker Network: Public IP for Swarm Scope






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















The embedded DNS server inside of Docker SWARM works well for communication within SWARM. But it seems it is impossible for clients outside of SWARM to discover the deployed services within SWARM unless manually notifying the outside world.



Is it possible to leverage CoreDNS like it is used by Kubernetes to fulfill this purpose?



I am not talking about the old port bounding of container to host IP. The scenario is about containers themselves can have routable IP addresses.










share|improve this question




























    3















    The embedded DNS server inside of Docker SWARM works well for communication within SWARM. But it seems it is impossible for clients outside of SWARM to discover the deployed services within SWARM unless manually notifying the outside world.



    Is it possible to leverage CoreDNS like it is used by Kubernetes to fulfill this purpose?



    I am not talking about the old port bounding of container to host IP. The scenario is about containers themselves can have routable IP addresses.










    share|improve this question
























      3












      3








      3








      The embedded DNS server inside of Docker SWARM works well for communication within SWARM. But it seems it is impossible for clients outside of SWARM to discover the deployed services within SWARM unless manually notifying the outside world.



      Is it possible to leverage CoreDNS like it is used by Kubernetes to fulfill this purpose?



      I am not talking about the old port bounding of container to host IP. The scenario is about containers themselves can have routable IP addresses.










      share|improve this question














      The embedded DNS server inside of Docker SWARM works well for communication within SWARM. But it seems it is impossible for clients outside of SWARM to discover the deployed services within SWARM unless manually notifying the outside world.



      Is it possible to leverage CoreDNS like it is used by Kubernetes to fulfill this purpose?



      I am not talking about the old port bounding of container to host IP. The scenario is about containers themselves can have routable IP addresses.







      domain-name-system docker-swarm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 2 '18 at 16:50









      robertrobert

      183




      183




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can do this with CoreDNS and Traefik. Traefik will act as a load balancer and allow you to route to the containers based on container name. CoreDNS will take *.yourdomain.com and route it to traefik.



          A good example is shown here:
          https://dklesev.github.io/devenv/






          share|improve this answer























          • The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

            – robert
            May 2 at 17:50











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f890379%2fservice-discovery-for-outside-of-docker-swarm%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You can do this with CoreDNS and Traefik. Traefik will act as a load balancer and allow you to route to the containers based on container name. CoreDNS will take *.yourdomain.com and route it to traefik.



          A good example is shown here:
          https://dklesev.github.io/devenv/






          share|improve this answer























          • The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

            – robert
            May 2 at 17:50















          0














          You can do this with CoreDNS and Traefik. Traefik will act as a load balancer and allow you to route to the containers based on container name. CoreDNS will take *.yourdomain.com and route it to traefik.



          A good example is shown here:
          https://dklesev.github.io/devenv/






          share|improve this answer























          • The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

            – robert
            May 2 at 17:50













          0












          0








          0







          You can do this with CoreDNS and Traefik. Traefik will act as a load balancer and allow you to route to the containers based on container name. CoreDNS will take *.yourdomain.com and route it to traefik.



          A good example is shown here:
          https://dklesev.github.io/devenv/






          share|improve this answer













          You can do this with CoreDNS and Traefik. Traefik will act as a load balancer and allow you to route to the containers based on container name. CoreDNS will take *.yourdomain.com and route it to traefik.



          A good example is shown here:
          https://dklesev.github.io/devenv/







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 30 at 0:24









          NoUserExceptionNoUserException

          1161




          1161












          • The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

            – robert
            May 2 at 17:50

















          • The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

            – robert
            May 2 at 17:50
















          The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

          – robert
          May 2 at 17:50





          The given URL presents a rather complicated use case but it seems solve the problem though it may need more experiments to see if that can be used in production. I will try that later, thanks.

          – robert
          May 2 at 17:50

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f890379%2fservice-discovery-for-outside-of-docker-swarm%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos