Helm describes itself as a ‘package manager for kubernetes’ and can be used to deploy resources to Kubernetes.
You package your application as a chart which can contain templated files (usually Kubernetes resources) and default configuration values too use when rendering the template. Charts are reusable and values can be overridden for specific environments.
We are using Helm v3 in the workshops. So there is no
tiller. If you are using your own environment and not the workshops Cloud9 environment and you have Helm v2 the commands should work ok.
At the terminal command prompt, enter the following command to download Helm:
curl -L https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz -o helm.tar.gz
We then want to extract helm, make it executable and copy to a location in the path:
tar xvfz helm.tar.gz linux-amd64/helm chmod +x ./linux-amd64/helm sudo mv ./linux-amd64/helm /usr/local/bin
This will install
helm in your Cloud9 environment. To test to make sure the command is installed properly, execute the command:
You should see the
helm version message.
Before we leave we should tidy up by executing these commands:
rm -rf ./linux-amd64 rm helm.tar.gz