Study. uk . com
  1. Home
  2. All questions
  3. Question 469

CKA study material · question 469 of 1000

Which command reveals which cluster kubectl is currently talking to?

  1. kubectl cluster-info dump
  2. kubectl get nodes -o wide
  3. kubectl config current-context
  4. kubectl version --short
Show the answer

Answer: C. kubectl config current-context

current-context shows where commands go; use-context switches it, and a wrong context explains surprising results.

Source: kubectl Quick Reference (Kubernetes) — Kubectl context and configuration

Challenge yourself on this topic → Study as cards