Files
kubernetes-course/helm/README.md
2022-05-12 09:23:19 -04:00

31 lines
947 B
Markdown

# Helm
## Install helm
```
wget https://get.helm.sh/helm-v3.2.3-linux-amd64.tar.gz
```
Make sure to use the correct instructions below for the different helm versions. You can get the latest helm version from https://github.com/helm/helm/releases. If you want to install helm on Windows/MacOS then have a look at https://helm.sh/docs/intro/install/ for instructions.
## Initialize helm (helm >3.0)
Starting from 3.0, tiller has been removed. There is no need to create a service account for tiller anymore. The only command that is mandatory is the helm repo add command below:
```
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
```
## Setup S3 helm repository
Make sure to set the default region in setup-s3-helm-repo.sh
```
./setup-s3-helm-repo.sh
```
## Package and push demo-chart
```
export AWS_REGION=yourregion # if not set in ~/.aws
helm package demo-chart
helm s3 push ./demo-chart-0.0.1.tgz my-charts
```