Sign inSign up

gbraad/kubernetes-client

By gbraad

•Updated about 10 years ago

Kubernetes client container

Image
0

2.1K

gbraad/kubernetes-client repository overview

⁠Kubernetes client

"Prompt"

Docker container image with the Kubernetes client.

⁠Motivation

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.

⁠Registries

⁠Gitlab

Automated builds are available at GitLab⁠

  • Static:
    docker pull registry.gitlab.com/gbraad/kubernetes-client:static
  • Fedora:
    docker pull registry.gitlab.com/gbraad/kubernetes-client:fedora
⁠Docker hub

Alternative automated build⁠ images are available from the Docker registry.

  • Fedora:
    docker pull gbraad/kubernetes-client:fedora

⁠Usage

⁠Setup an alias

Setup a local alias makes running the container a lot easier

⁠Container based on Fedora
$ alias kubectl='docker run -it --rm -v $PWD:/workspace registry.gitlab.com/gbraad/kubernetes-client:fedora kubectl'
⁠Issue command
$ kubectl --server=192.168.1.100:8080 get nodes

⁠Authors

Tag summary

Content type

Image

Digest

Size

84.5 MB

Last updated

about 10 years ago

docker pull gbraad/kubernetes-client:fedora