Skip to content

Support a remote engine #3624

Closed as not planned
Closed as not planned

Description

@sipsma

Right now the engine is presumed to be local to SDK clients.

Instead we are considering supporting the engine being on a remote machine (and colocated w/ buildkitd): #3595

There's a lot of things we need to do to get this to work though, which themselves branch out into many subissues. This issue lists out the top level problems that need to be solved and links to existing issues for them. We can modify this list as we think of new things.

  1. Session state and source stickiness: Replace session stickiness with source pinning #3613
    • Technically a viable solution to this is to just keep using the same sessions that exist today, but from each of our SDKs (somehow). But as discussed in that issue it seems like there are alternatives highly worth considering
  2. Local dir import and export: Investigate using filesync protocol/service with remote engine #3629
    • How do clients sync the bits back and forth, over what protocol, etc.
  3. OCI tarball export back to clients, Add Container/File export and check for workdir escaping #3348 (comment)
  4. Log streaming back to clients
  5. SSH agent forwarding (needed to support use of private git repos)
  6. Auth token handling
    • Auth tokens may just be part of broader secret story but I'm listing here because buildkit treats auth providers differently than secrets

Activity

  1. added
    area/engine
    on Oct 31, 2022
  2. sipsma commented on Dec 6, 2022

    @sipsma
    ContributorAuthor

    We're not currently pursuing this, we're currently going down the path of rmbracing the local engine session binary. Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/engine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions