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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications