You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
I am attempting to append builder nodes to my buildx kubernetes driver. I have taints on the Kubernetes compute that I wish to tolerate. Upon following the docs, I could not get it to work.
Expected behaviour
docker buildx create --debug --name charming_chaplygin --append --node buildx-arm64 --driver-opt image=533267232274.dkr.ecr.us-east-1.amazonaws.com/dockerhub/moby/buildkit:v0.17.0 --driver-opt namespace=buildx --driver-opt requests.cpu=2 --driver-opt requests.memory=4G --driver-opt requests.ephemeral-storage=3Gi --driver-opt nodeselector=gha=true --driver-opt tolerations=key=build-agent,value=true --driver-opt annotations=karpenter.sh/do-not-disrupt=true --platform linux/arm/v7
WARNING: new settings may not be used until builder is restarted
charming_chaplygin
Actual behaviour
docker buildx create --debug --name charming_chaplygin --append --node buildx-arm64 --driver-opt image=533267232274.dkr.ecr.us-east-1.amazonaws.com/dockerhub/moby/buildkit:v0.17.0 --driver-opt namespace=buildx --driver-opt requests.cpu=2 --driver-opt requests.memory=4G --driver-opt requests.ephemeral-storage=3Gi --driver-opt nodeselector=gha=true --driver-opt tolerations=key=build-agent,value=true --driver-opt annotations=karpenter.sh/do-not-disrupt=true --platform linux/arm/v7
WARNING: new settings may not be used until builder is restarted
ERROR: failed to initialize builder charming_chaplygin (buildx-arm64): invalid driver option value for driver kubernetes
Contributing guidelines
I've found a bug and checked that ...
Description
I am attempting to append builder nodes to my buildx kubernetes driver. I have taints on the Kubernetes compute that I wish to tolerate. Upon following the docs, I could not get it to work.
Expected behaviour
Actual behaviour
Buildx version
github.com/docker/buildx v0.18.0 fa4461b
Docker info
Builders list
Configuration
N/A
Build logs
Additional info
I was able to get it to work by escaping quotes around the toleration like so:
So at the very least I think the docs should be updated to reflect this. The better solution would be to fix it, this doesn't seem right.
The text was updated successfully, but these errors were encountered: