Helm - Introduction and Concepts Flashcards

1
Q

What is Helm sometimes called? And why?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are advantages of helm?

A
  • 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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What actions are on a basic level possible with Helm?

A
  • 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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where and how can you recognize the running operating system?

A

in /etc/* releases* the OS is listed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do we get from multiple yamls to helm charts?

A
  • ## turn yamls files into template yamls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What values get replaced by variables when creating templates for helm?

A
  • 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does a Helm chart consist of?

A
  • values.yaml for variable-values
  • templates for object-yamls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is included in the Chart.yaml file?

A
  • Information about the chart itself.
  • Name of the Chart
  • charts version
  • keywords associated with the application
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is stored in Artifact Hub.io

A

Charts of other users
Called as a repository that stores helm charts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you search the artifactHub.io?

A

helm search hub … (wordpress for wordpress charts)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How can you add another repository to be searched for charts?

A

helm repo add bitnami https://charts.bitname.com/bitnami

-> helm search repo wordpress

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can you install charts on your cluster?

A

helm install [release-name] [chart-name]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are installtions of a chart called? What are they?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are important helm commands?

A
  • helm list
  • helm uninstall my-release
  • helm pull –untar bitname/wordpress (extracts tar-content once downloaded)
  • ls wordpress
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

With what command can you see all installed helm chart repositories?

A

helm repo list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A