Intermediate
Kubernetes
Q66 / 100
What is the purpose of "context" in kubectl configuration (kubeconfig)?
Correct! Well done.
Incorrect.
The correct answer is B) A context groups together a cluster, a user (credentials), and a namespace, allowing kubectl to easily switch between different clusters or configurations using "kubectl config use-context"
B
Correct Answer
A context groups together a cluster, a user (credentials), and a namespace, allowing kubectl to easily switch between different clusters or configurations using "kubectl config use-context"
Explanation
kubeconfig files can define multiple contexts (cluster + user + namespace combinations), letting users switch which cluster/credentials kubectl targets without re-authenticating each time.
Progress
66/100