Sign inSign up

petebachant/helm-kubectl-awscli

By petebachant

•Updated about 3 years ago

Docker image with Helm, kubectl, and the AWS CLI installed.

Image
0

2.9K

petebachant/helm-kubectl-awscli repository overview

⁠helm-kubernetes Docker hub image with the AWS CLI

ci Docker Stars Docker Pulls

This is a fork of https://github.com/dtzar/helm-kubectl⁠ that adds the AWS CLI.

⁠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 petebachant/helm-kubectl-awscli 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 petebachant/helm-kubectl-awscli 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 run make docker.

Tag summary

Content type

Image

Digest

sha256:4d4d3ae42…

Size

91.7 MB

Last updated

about 3 years ago

docker pull petebachant/helm-kubectl-awscli