Helm
Install
brew install helmUsing
# 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-postgreYou can also create your own Chart by using the scaffolding command
helm create mychartThis 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.yamloptionally add helm-secrets plugin
helm-secrets pluginhelm plugin install https://github.com/futuresimple/helm-secrets Last updated
Was this helpful?