Comments (5)
kube-pod
seems consistent with docker-container
from buildx.
Bikeshedding: kubepod? kube-pod? k8s-pod? (I prefer kube-pod)
from buildx.
Maybe we should prioritize adding Deployment
driver.
docker buildx create --driver kube --driver-opt replicas=N
will createDeployment
with N replicas.
We should not useStatefulSet
because creatingStatefulSet
pod replicas is slow due to the pod creation order constraint.docker buildx rm
will remove theDeployment
docker buildx stop
should be NOP? Or resize theDeployment
to 0 replica?docker buildx build
will connect to aPod
inDeployment
usingkubectl exec -it POD buildctl dial-stdio
. An alternative way is to set up mTLS (which is mandatory to protect the daemon from the executor containers) andService
, but it is not straightforward to manage the lifecycle of the certificates.- To choose a
Pod
inDeployment
, we can implement bothrandom
andconsistenthash
. As we are not going to useStatefulSet
,consistenthash
will break on recreation ofReplicaSet
(on rolling update ofDeployment
). Probably this is not a huge deal. docker buildx inspect
will show the name of theDeployment
.- The user will be able to do rolling update of the
buildkitd
image usingkubectl set image
, - The user will be able to change the number of the replicas using
kubectl scale
.
from buildx.
@AkihiroSuda SGTM, except the k8s objects should probably be created on build/bootstrap, not on create.
from buildx.
PR #167
from buildx.
Related Issues (20)
- bake: default environment variable takes over override HOT 2
- `docker build` failed when using `crun` instead of `runc` HOT 4
- Opentelemetry environment variables cause the CLI to error without decent error message HOT 7
- `prune`: filtering out `ADD --checksum=... https://...` entries HOT 3
- Allow to use TypeScript for Bake HOT 3
- No running builder detected during build, "ERROR: expected 1 replicas to be ready, got 0"
- `ResourceExhausted: grpc: received message larger than max (_ vs. 4194304)` HOT 1
- Expose default dockerfile syntax version being used HOT 3
- Panic when re-bootstrapping driver in non Running state
- Funcionou perfeitamente para quem tรก usando WSL HOT 1
- docker do not honor custom ssh port in ADD instruction while cloning git repositories HOT 6
- Docker Buildx Does Not Seem To Respect Output Type Flag HOT 6
- Optimize internal ListWorkers calls
- error when merging multi-platform manifest(s) to custom tls config registry after successfully pushing for individual platforms HOT 3
- accessing secret very slow HOT 2
- `imagetools create` with single source changes copied image from `application/vnd.docker.distribution.manifest.v2+json` to `application/vnd.docker.distribution.manifest.list.v2+json` HOT 3
- build --output=type=none HOT 3
- Cannot set multi-platform bake contexts if platforms do not match exactly HOT 5
- [vendor] Update buildkit v0.14.0-rc1
- Command short description duplicated in output HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildx.