Helm - Introduction and Concepts Flashcards
What is Helm sometimes called? And why?
Package Manager for Kubernetes.
Looks at Kubernetes objects as part of a big package, as a group.
Lets us treat our Kubernetes apps as apps instead of a collection of objects
What are advantages of helm?
- we use a single command to install our app, no matter how many objects are needed (helm install wordpress …)
- helm adds automatically every object needed to Kubernetes
- we can customize the settings of our app at install time
- we have a single spot, where we keep all the values for the settings (value.yaml)
What actions are on a basic level possible with Helm?
- install our app with a single command (helm install wordpress)
- upgrade our app (helm upgrade wordpress)
- rollback an upgrade (helm rollback wordpress)
- uninstall the app (helm uninstall wordpress)
Where and how can you recognize the running operating system?
in /etc/* releases* the OS is listed
How do we get from multiple yamls to helm charts?
- ## turn yamls files into template yamls
What values get replaced by variables when creating templates for helm?
- values that might change between environments
Llike an - container image
- PV capacitry
- secret keys
The specified variable names will be used to fetch the values from the values.yaml
What does a Helm chart consist of?
- values.yaml for variable-values
- templates for object-yamls
What is included in the Chart.yaml file?
- Information about the chart itself.
- Name of the Chart
- charts version
- keywords associated with the application
What is stored in Artifact Hub.io
Charts of other users
Called as a repository that stores helm charts
How can you search the artifactHub.io?
helm search hub … (wordpress for wordpress charts)
How can you add another repository to be searched for charts?
helm repo add bitnami https://charts.bitname.com/bitnami
-> helm search repo wordpress
How can you install charts on your cluster?
helm install [release-name] [chart-name]
What are installtions of a chart called? What are they?
release
Each release has a release-name
Each release, even of the same app is a separate thing.
helm install release-1 bitname/wordpress and helm install release-2 bitnami/wordpress create independent apps
What are important helm commands?
- helm list
- helm uninstall my-release
- helm pull –untar bitname/wordpress (extracts tar-content once downloaded)
- ls wordpress
With what command can you see all installed helm chart repositories?
helm repo list