Dockerized kubectl
CLI tool for Kubernetes. Built on top of Alpine Linux (very small) with glibc
installed (required by kubectl
).
$ docker run --rm --net=host wernight/kubectl kubectl --help
It's mostly meant to be used during continuous integration or as part of an automated build/deployment:
- So that your machine (e.g. build server) doesn't need
kubectl
to be installed; only Docker. - To avoid
kubectl config use-context
and similar to affect your build and other projects' builds.