Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-7062

Add the ability to allocate a TTY to a container via Marathon

    Details

    • Epic Link:
    • Sprint:
      Marathon Sprint 1.10-1, Marathon Sprint 1.10-3, Marathon Sprint 1.10-7
    • Story Points:
      1

      Description

      As part of the debugging work for Argus, Mesos added a new TTYInfo field to its ContainerInfo protobuf. This allows a container to optionally be launched with its STDIN, STDOUT, and STDERR redirected through a server side PTY device.

      https://github.com/apache/mesos/blob/master/include/mesos/v1/mesos.proto#L2428

      Setting this field triggers the creation of a new component in Mesos called an IOSwitchboard, which allows external clients to connect to the STDIN, STDOUT, and STDERR from a remote machine. This is extremely useful for debugging, as well as for attaching your local terminal to long running services that have been launched as Mesos tasks (e.g. a python interpreter or the SPARK shell).

      Currently this feature is not exposed via marathon, so there is no way to take advantage of it in DC/OS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                junterstein Johannes Unterstein
                Reporter:
                klueska Kevin Klues (Inactive)
                Team:
                Orchestration Team
                Watchers:
                daltonmatos, Jason Gilanfarr (Inactive), Johannes Unterstein, Kevin Klues (Inactive), Matthias Veit (Inactive)
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: