Skip to content

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

License

Notifications You must be signed in to change notification settings

penalara/helm-kubectl-hg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helm-kubernetes-hg Docker hub image

Supported tags and release links

  • 3.8.3 - helm-kubect v3.8.2, helm v3.8.2, kubectl v1.23.5, alpine 3.15

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. Moreover, this fork also has mercurial installed, enabling the use of this image in a Jenkins project with mercurial repositories.

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

This is based on the images of dtzar/helm-kubectl, check it for more information.

Run

Example to just run helm on entry:
docker run --rm phoneixs/helm-kubectl-hg 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 phoneixs/helm-kubectl-hg
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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 73.9%
  • Dockerfile 26.1%