heydonovan / helm-kubectl

Docker Hub image with helm and kubectl on top of alpine linux with bash

Home Page:https://hub.docker.com/r/dtzar/helm-kubectl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helm-kubernetes Docker hub image

Build Status Docker Stars Docker Automated build Docker Pulls

Supported tags and release links

  • 3.0.3 - helm v3.0.3, kubectl v1.17.2, alpine 3.11
  • 3.0.2 - helm v3.0.2, kubectl v1.17.0, alpine 3.10
  • 3.0.1 - helm v3.0.1, kubectl v1.16.3, alpine 3.10
  • 3.0.0 - helm v3.0.0, kubectl v1.16.2, alpine 3.10
  • 2.16.1 - helm v2.16.1, kubectl v1.16.2, alpine 3.10
  • 2.16.0 - helm v2.16.0, kubectl v1.16.2, alpine 3.10
  • 2.15.2 - helm v2.15.2, kubectl v1.16.2, alpine 3.10
  • 2.15.1 - helm v2.15.1, kubectl v1.16.2, alpine 3.10
  • 2.15.0 - helm v2.15.0, kubectl v1.16.2, alpine 3.10
  • 2.14.3 - helm v2.14.3, kubectl v1.15.2, alpine 3.10
  • 2.14.2 - helm v2.14.2, kubectl v1.15.0, alpine 3.10
  • 2.14.1 - helm v2.14.1, kubectl v1.14.3, alpine 3.9
  • 2.14.0 - helm v2.14.0, kubectl v1.14.1, alpine 3.9
  • 2.13.1 - helm v2.13.1, kubectl v1.14.1, alpine 3.9
  • 2.13.0 - helm v2.13.0, kubectl v1.13.4, alpine 3.9
  • 2.12.3 - helm v2.12.3, kubectl v1.13.2, alpine 3.8
  • 2.12.2 - helm v2.12.2, kubectl v1.13.2, alpine 3.8
  • 2.12.1 - helm v2.12.1, kubectl v1.13.1, alpine 3.8
  • 2.12.0 - helm v2.12.0, kubectl v1.13.0, alpine 3.8
  • 2.11.0 - helm v2.11.0, kubectl v1.11.3, alpine 3.8
  • 2.10.0 - helm v2.10.0, kubectl v1.11.2, alpine 3.8
  • 2.9.1 - helm v2.9.1, kubectl v1.10.2, alpine 3.7
  • 2.9.0 - helm v2.9.0, kubectl v1.10.2, alpine 3.7
  • 2.8.2 - helm v2.8.2, kubectl v1.9.4, alpine 3.7
  • 2.8.1 - helm v2.8.1, kubectl v1.9.2, alpine 3.7
  • 2.8.0 - helm v2.8.0, kubectl v1.9.2, alpine 3.7
  • 2.7.2 - helm v2.7.2, kubectl v1.8.3, alpine 3.6
  • 2.7.0 - helm v2.7.0, kubectl v1.8.1, alpine 3.6
  • 2.6.2 - helm v2.6.2, kubectl v1.7.9, alpine 3.6
  • 2.6.1 - helm v2.6.1, kubectl v1.7.6, alpine 3.6
  • 2.6.0 - helm v2.6.0, kubectl v1.7.4, alpine 3.6
  • 2.5.1 - helm v2.5.1, kubectl v1.7.2, alpine 3.6
  • 2.5.0 - helm v2.5.0, kubectl v1.6.6, alpine 3.6
  • 2.4.2 - helm v2.4.2, kubectl v1.6.4, alpine 3.6
  • 2.4.1 - helm v2.4.1, kubectl v1.6.2, alpine 3.5
  • 2.3.1 - helm v2.3.1, kubectl v1.6.2, alpine 3.5

Overview

This lightweight alpine docker image provides kubectl and helm binaries for working with a Kubernetes cluster. A local configured kubectl is a prerequisite to use helm per helm documentation. This image is useful for general helm administration such as deploying helm charts and managing releases. It is also perfect for any automated deployment pipeline needing to use helm which supports docker images such as Concourse CI, Jenkins on Kubernetes, Travis CI, and Circle CI. Having bash installed allows for better support for troubleshooting by being able to exec / terminal in and run desired shell scripts. Git installed allows installation of helm plugins.

If it is desired to only use kubectl and have kubectl as the entry command (versus this image as bash entry command), I recommend checking out this image instead: lachlanevenson/kubectl

Run

Example to just run helm on entry:
docker run --rm dtzar/helm-kubectl helm
By default kubectl will try to use /root/.kube/config file for connection to the kubernetes cluster, but does not exist by default in the image.

Example for use with personal administration or troubleshooting with volume mount for kubeconfig files:
docker run -it -v ~/.kube:/root/.kube dtzar/helm-kubectl
The -v maps your host docker machine Kubernetes configuration directory (~/.kube) to the container's Kubernetes configuration directory (root/.kube).

Build

For doing a manual local build of the image:
make docker_build

This image is now fully automated via travisci.org.
For reference this .travis.yml file can be validated via:
docker run --rm -it -v yourclonedreporoot:/project caktux/travis-cli lint ./travis.yml

About

Docker Hub image with helm and kubectl on top of alpine linux with bash

https://hub.docker.com/r/dtzar/helm-kubectl/

License:MIT License


Languages

Language:Dockerfile 73.9%Language:Makefile 26.1%