kubectl and kubeconfig · Question 9 of 12

What happens when the KUBECONFIG environment variable contains several files separated by colons?

1 answer is correct. Medium Created with AI

Show answer

Answer

  • C kubectl merges the files into one configuration

Explanation

On Linux and macOS a colon separates the paths, on Windows a semicolon. kubectl combines the clusters, users and contexts of all files; kubectl config view shows the result.

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