deploying buildx agents with kubectl/helm #3274
itsmethemojo
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When running multiple ci pipelines for multiple projects in kubernetes it is imho more clever to deploy the the agents (in my case for amd64 and arm64) once and then reuse them from within the pipelines with
docker buildx use
. I cant find a documentation to start those agents with something other thendocker buildx create
.For me it would make more sense to bootstrap the agents with kubectl/helm. so i have this agents config in code. Is there some documentation i missed?
The parts here all rely on starting the agents with
docker buildx create
https://docs.docker.com/build/builders/drivers/kubernetes/#nativeSo what I would like to do simplified
This way i do not have to bootrap or clean agents from within the pipelines and the pipeline runner pods do not have to have permissions to do that.
Beta Was this translation helpful? Give feedback.
All reactions