![]()
Docker container image with the Kubernetes client.
Although you can easily install a statically compiled kubectl as follows:
$ wget http://storage.googleapis.com/kubernetes-release/release/v1.3.4/bin/linux/amd64/kubectl
$ chmod +x kubectl
Note: this can also be seen in the scratch (static) container build.
However, the Fedora based container will be used for ansible-container to perform
container compostion and deployment. This means that everything to maintain the lifecycle
of your app will be available from a single container.
Automated builds are available at GitLab
docker pull registry.gitlab.com/gbraad/kubernetes-client:staticdocker pull registry.gitlab.com/gbraad/kubernetes-client:fedoraAlternative automated build images are available from the Docker registry.
docker pull gbraad/kubernetes-client:fedoraSetup a local alias makes running the container a lot easier
$ alias kubectl='docker run -it --rm -v $PWD:/workspace registry.gitlab.com/gbraad/kubernetes-client:fedora kubectl'
$ kubectl --server=192.168.1.100:8080 get nodes
Content type
Image
Digest
Size
84.5 MB
Last updated
about 10 years ago
docker pull gbraad/kubernetes-client:fedora