Buildx in the automated CI environment #874
dee-kryvenko
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently exploring buildx - primarily for parallel
bake
for multi-flavor images and also a caching. I got a couple of questions - documentations seems to be pretty scarce and I couldn't find any answers...A bit of context - if I were to run buildx in the automated K8s CI environment with ephemeral build pods - I wouldn't want my build pods to have access to k8s to schedule more pods etc. I would want to have a number of buildx builders running and ready to go. Also obviously CLI is not a way to go - I'll want this configuration in code, so when I do
docker buildx build
- it would connect to pre-existing farm. So a number of questions:deployment
or anything else?~/.docker/buildx/instances/k8s
on my build agent as a pipeline step, will it pick it up without ever runningdocker buildx create
?~/.docker/buildx/instances/k8s
to a running builders via aservice
endpoint or a DNS? Something tells me"Endpoint":"kubernetes:///k8s?deployment=\u0026kubeconfig="
uses k8s API to discover endpoints, can it point to a DNS record like a service or aClusterIP
?Beta Was this translation helpful? Give feedback.
All reactions