Helm

Install

brew install helm

Using

# update charts repo
helm repo update

# install postgre chart
# helm install --name nginx stable/nginx-ingress
helm install --name pg --namespace default --set postgresPassword=postgres,persistence.size=1Gi stable/postgresql
kubectl get pods -n default

# list installed charts
helm ls

# delete postgre
$ helm delete my-postgre

# delete postgre and purge
$ helm delete --purge my-postgre

You can also create your own Chart by using the scaffolding command

helm create mychart

This will create a folder which includes all the files necessary to create your own package :

β”œβ”€β”€ Chart.yaml
β”œβ”€β”€ templates
β”‚   β”œβ”€β”€ NOTES.txt
β”‚   β”œβ”€β”€ _helpers.tpl
β”‚   β”œβ”€β”€ deployment.yaml
β”‚   β”œβ”€β”€ ingress.yaml
β”‚   └── service.yaml
└── values.yaml

optionally add helm-secrets plugin

helm plugin install https://github.com/futuresimple/helm-secrets 

Last updated

Was this helpful?