docker / docker/buildx

Add async flow/network failure resilience to kubernetes driver

Open
#1,923 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/driver/kubernetes kind/enhancement status/triage
Dominant language
Go
Stars
4.5k
Forks
682
Avg merge
2d 14h
Merged PRs (30d)
29

Description

Description

In situations where kubernetes connection is guarded or passes proxy or is using unstable connection - can we have ability to launch jobs asynchronously?

In more detail: can we have something like:

docker buildx build --detach ...

implemented where build is being initiated and once all necessary information passed over to builder connection is intentionally severed while build completes autonomously?

With above implementation and for the workflows that depend on build completion but are on unstable connection option --poll can be added:

docker buildx build --detach --poll ...

which would still launch autonomous build, but having all the build information at hand could periodically poll build status and report back all the way until completion. Which on surface will look like present synchronous flow but would be more resilient to network failures.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Kubernetes driver and the existing docker buildx build synchronous flow. Define how --detach transfers all build information before disconnecting, and how --poll tracks the autonomous build through completion. Done means unstable or severed connections no longer prevent the build from completing or reporting its status.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, kubernetes
Domain
cli, devops, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.