Add async flow/network failure resilience to kubernetes driver
Nobody has claimed this yet.
- 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
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
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