- Helm repository for example charts
- Locally or cluster you fully control (=== configure control plane), where you can
- Run some docker daemon
- Install some local cluster
- Run a local cluster
- [minikube]
minikube start - [kind]
kind create cluster
- [minikube]
- Add this repository to Helm
helm repo add examples https://helm.github.io/examples- You are installing the helm chart existing in that repository NOT the helm chart under this current repo!!!
- TODO: Why does that URL is valid? Which criteria are necessaries? WHy not 'https://github.com/dancer1325/helm-examples'
- Install it
helm install ahoy examples/hello-world- 'NOTES.txt' is the output
kubectl get allto check all the packaged resources have been installed
helm uninstall ahoy
helm install hi hello-world&helm install hii hello-worldhelm listto check all the releases installedhelm status hiito check the status of the release
- Execute the commands of 'Release'
kubectl get secretsto check the Kubernetes Secrets created each time a release existskubectl get secret/SecretName -o jsonto check the data with key 'release'
helm upgrade hii hello-worldhelm listto check that a new release number has been created
helm install simple simplehelm list&kubectl get podsto check that the name of the pod is 'simple-1'
helm upgrade --set name=simple-2 simple simplehelm listto check that a new release of chart has been createdkubectl get podsto check that the name of the pod is 'simple-2'
helm rollbackhelm listto check that a new release has been createdkubectl get podsto check that the name of the pod is 'simple-1' again
helm repo listto list chart repositories
helm install simple simplekubectl get podsto check that podName is 'simple' -> 'Values.yaml' used by default
- ways to pass customized values
-f otherValue.yamlhelm upgrade -f simple/customValues.yaml simple simple&kubectl get allto check that podName is now 'simple-custom'helm uninstall simple&helm install -f simple/customValues.yaml simple simple&kubectl get allto check that podName is now 'simple-custom'
--set key=valehelm upgrade --set name=simple-upgrade simple simple&kubectl get allto check that podName is now 'simple-upgrade'