Support for attaching to a task
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.7k
- Forks
- 676
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
This feature is similar to docker attach - it allows to live attach into a running container.
We currently do have logs support which is a unidirectional one-to-many stream. Attach on the other hand is a one-to-one bidirectional stream with TTY support and such.
A few ideas:
- We may do this point to point (e.g. no need to go through the manager except for initial connection agreement, such as credentials)
- We may use the SSH protocol (helps a lot with terminal management and so forth). We may even support direct SSH client connections.
This needs a design doc in collaboration with security (/cc @cyli @diogomonica)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by comparing the existing logs stream with docker attach, then develop the requested design document with the security collaborators. Define the connection model, credential handoff, bidirectional TTY behavior, and whether SSH or a direct point-to-point connection is appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100