buildx
buildx copied to clipboard
--driver kubernetes cannot set host network mode?
I want to run in hostNetwork mode with buildKit container pulled up by --driver Kubernetes. Isn't that supported now?
@morlay
waiting for https://github.com/docker/buildx/issues/893
using host network in k8s is an anti-pattern.
Right now you can kubectl edit deployment <builder name>
and add hostNetwork: true
to the pod spec. The driver options support a bunch of customizations for the deployment but as far as I can tell there's not a way to set this.
Right now you can and add to the pod spec. The driver options support a bunch of customizations for the deployment but as far as I can tell there's not a way to set this.
kubectl edit deployment <builder name>``hostNetwork: true
thanks.