Kustomize vs Helm Flashcards

(15 cards)

1
Q

What problem does Helm solve in this lecture comparison with Kustomize

A

Helm can also customize Kubernetes manifests for different environments by replacing template variables with environment specific values

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

How does Helm represent changeable values inside Kubernetes manifests

A

Helm uses Go templating syntax with double curly braces to place variables inside template files

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

In the Helm example what does the variable replicaCount control

A

The replicaCount variable controls the value inserted into the replicas field of the Deployment

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

Where does Helm get the values that replace template variables

A

Helm gets variable values from a values yaml file

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

In the Helm example how is the container image tag customized

A

The template refers to an image tag variable and the actual version value is provided in the values yaml file

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

What folder usually contains the templated Kubernetes manifests in a Helm project

A

The templates directory usually contains the Kubernetes manifests with Helm variables in them

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

How can Helm support different environments like dev staging and prod

A

You can keep a separate values file for each environment such as values dev yaml values staging yaml and values prod yaml

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

When deploying with Helm how do environment specific settings get applied

A

You choose the values file for the target environment and Helm inserts those values into the templates during deployment

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

What makes Helm more than just an environment customization tool

A

Helm is also a package manager for Kubernetes applications and helps manage installation upgrades and releases

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

What extra capabilities does Helm provide that Kustomize does not focus on

A

Helm provides features such as conditionals loops functions and hooks

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

What is one downside of Helm templates compared with Kustomize files

A

Helm templates can become harder to read because the files include Go templating syntax instead of plain YAML only

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

Why are Helm template files not considered plain valid YAML on their own

A

Because they contain template expressions that must be rendered before they become normal Kubernetes YAML

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

What is one major readability advantage of Kustomize over Helm

A

Kustomize keeps both base files and overlays as plain readable YAML without adding a separate templating language

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

What is the main trade off between Helm and Kustomize according to the lecture

A

Kustomize is simpler and easier to read while Helm is more powerful but also more complex

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

How should you choose between Helm and Kustomize for a project

A

You should choose based on whether your project needs the simplicity of plain YAML or the extra features and package management capabilities that Helm provides

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