Exercise 19 asks that we identify kube api-resources that use api_version=storage.k8s.io/v1 and store those into a file.
I can envision confusion on the actual exam with a question like this so I’d love to understand the best way to address it.
I thought the question was specifically and only interested in the
names of the resources.
As such, I provided this list:
student-node ~ ➜ k api-resources | grep -i storage.k8s.io/v1 | awk '{print $1}'
csidrivers
csinodes
csistoragecapacities
storageclasses
volumeattachments
This was marked as incorrect, and the solution seems to indicate
you need to include all the columns in the output (shortnames, apiversion, namespaced, kind)
Based on the wording of the question it didn’t seem to me anything more than the name of the api-resources was needed.
Should I have interpreted a question such as that as requiring the full output from a given command? Would this question have been marked wrong on the actual exam?