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
Unable to specify requests/limits on CPU/memory for kubernetes driver (error: no valid drivers found: invalid driver option limits.cpu for driver kubernetes) #982
Hello, we're trying to create a buildx builder in Kubernetes using the following command: docker buildx create --name kubernetes-buildx-builder --driver kubernetes --driver-opt replicas=3,namespace=docker-buildx,loadbalance=sticky,limits.cpu=4,requests.cpu=4,limits.memory=4G,requests.memory=4G --use kubernetes-buildx-builder
However, when we do that, we can see the following error when we run the docker buildx bake command: error: no valid drivers found: invalid driver option limits.cpu for driver kubernetes
We have tried pretty much all we could think of, changing G to Gi, removing the memory limits/requests, removing limits.cpu, but no matter what we do, it will always say that there is a problem with one of the 4 parameters specified for the requests/limits.
There must be something that we're missing here, but we're out of ideas. Does anyone here have an idea why this happens? Or maybe an example of a command that does work?