kubectl and kubeconfig · Question 2 of 12
What does a context in the kubeconfig combine?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A A cluster, a user and optionally a default namespace
Explanation
A context links a cluster entry with a user's credentials and can set a namespace. kubectl config use-context switches between contexts, for example between a test and a production cluster.