0
0
Kubernetesdevops~10 mins

Upgrading and rolling back releases in Kubernetes - Interactive Code Practice

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

Complete the command to upgrade a Helm release named 'myapp' with the chart located in './chart'.

Kubernetes
helm upgrade myapp [1]
Drag options to blanks, or click blank then click option'
Arelease
Bmychart
C./chart
Dupgrade
Attempts:
3 left
💡 Hint
Common Mistakes
Using the release name again instead of the chart path.
Using 'upgrade' as the chart argument.
Using an unrelated word like 'release'.
2fill in blank
medium

Complete the command to rollback the Helm release 'myapp' to revision 2.

Kubernetes
helm rollback myapp [1]
Drag options to blanks, or click blank then click option'
A2
Bcurrent
Clatest
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'latest' or 'current' instead of a revision number.
Using the wrong revision number.
3fill in blank
hard

Fix the error in the command to upgrade 'myapp' with the chart './chart' and set the image tag to 'v2'.

Kubernetes
helm upgrade myapp [1] --set image.tag=v2
Drag options to blanks, or click blank then click option'
Amyapp
B./chart
Cchart
Dv2
Attempts:
3 left
💡 Hint
Common Mistakes
Using the release name instead of the chart path.
Trying to fill a value for the image tag blank that doesn't exist.
4fill in blank
hard

Fill both blanks to upgrade 'myapp' with the chart './chart' and set the replica count to 3.

Kubernetes
helm upgrade myapp [1] --set [2]=3
Drag options to blanks, or click blank then click option'
A./chart
BreplicaCount
Creplicas
Dcount
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'replicas' or 'count' instead of 'replicaCount'.
Using an incorrect chart path.
5fill in blank
hard

Fill all three blanks to rollback 'myapp' to revision 1 and verify the status.

Kubernetes
helm rollback [1] [2] && helm status [3]
Drag options to blanks, or click blank then click option'
Amyapp
B1
Cmyapp-release
Dstatus
Attempts:
3 left
💡 Hint
Common Mistakes
Using a different release name in the status command.
Using 'myapp-release' instead of 'myapp'.
Using 'status' as a release name.