A user needs to identify the namespaces that may be accessed.
Which command will provide the desired output?
A . kubect1 get storageclasses
B. kubect1 config use-context
C. kubect1 config get-contexts
D. kubect1 get contexts
Answer: C
Explanation:
A user can have permissions on multiple namespaces. The kubectl commands are typically actioned against the current active namespace.
View the list of available namespaces:
kubectl config get-contexts
Change the current active namespace:
kubectl config use-context <namespace>
Latest 5V0-23.20 Dumps Valid Version with 62 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund