new driver: kubernetes by AkihiroSuda · Pull Request #167 · docker/buildx (original) (raw)

Tested with kind and GKE
TODOs:

Note: "nodes" shown in docker buildx ls are unrelated to Kubernetes "nodes".
Probably buildx should come up with an alternative term.

Usage:

$ kind create cluster $ export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"

$ docker buildx create --driver kubernetes --driver-opt replicas=3 --use $ docker buildx build -t foo --load .

--load loads the image into the local Docker.

Driver options

Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp

Close #22