0
0
Kubernetesdevops~10 mins

Creating custom Helm charts in Kubernetes - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to create a new Helm chart named myapp.

Kubernetes
helm [1] myapp
Drag options to blanks, or click blank then click option'
Ainstall
Bnew
Ccreate
Dinit
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'helm install' instead of 'helm create'.
Using 'helm init' which is deprecated.
2fill in blank
medium

Complete the Helm command to package the chart located in the current directory.

Kubernetes
helm [1] .
Drag options to blanks, or click blank then click option'
Ainstall
Bdeploy
Cbuild
Dpackage
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'helm install' instead of 'helm package'.
Using 'helm build' which is not a Helm command.
3fill in blank
hard

Fix the error in the Helm install command by completing the missing flag to specify the release name.

Kubernetes
helm install [1] ./mychart
Drag options to blanks, or click blank then click option'
Amyrelease
B--name
C--chart
Drelease
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--name' flag which is deprecated.
Using '--chart' flag incorrectly.
4fill in blank
hard

Fill both blanks to complete the Helm template command that renders templates with a custom values file.

Kubernetes
helm template [1] -f [2]
Drag options to blanks, or click blank then click option'
Amychart
Bvalues.yaml
Cmyvalues.yaml
Drelease
Attempts:
3 left
💡 Hint
Common Mistakes
Using default 'values.yaml' instead of custom 'myvalues.yaml'.
Confusing release name with chart name.
5fill in blank
hard

Fill all three blanks to create a Helm values file snippet that sets the container image repository, tag, and pull policy.

Kubernetes
image:
  repository: [1]
  tag: [2]
  pullPolicy: [3]
Drag options to blanks, or click blank then click option'
A"nginx"
B"1.21.0"
C"IfNotPresent"
D"Always"
Attempts:
3 left
💡 Hint
Common Mistakes
Using pullPolicy 'Always' which forces image pull every time.
Omitting quotes around strings.