Details

      Description

      I would like to maintain container names when recreating a docker container with Marathon.

      Example: I have 2 Mesos slaves (A, B) with 6 instances of an app (3 docker containers on each slave):

      {{On host A: }}

      {{APP-1, APP-2, APP-3 }}

      On host B:

      {{ APP-4, APP-5, APP-6 }}

       

      I would like that if docker container "APP-2" fails, host A or B to spawn another docker container named: "APP-2" not "APP-a-different-uuid".

      I've tried with constraints but no luck. Stateful application with persistent volumes is not what I need.

      How can I enforce this ? Is there a way to enforce mesos/marathon to only allocate 6 instances and preserve the names no matter on which slaves they will be spawned ? It's a matter of trying to spawn a new instance and link it to the old storage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                screwyy screwyy
                Team:
                Orchestration Team
                Watchers:
                Matthias Eichstedt, screwyy
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: