A

Admin • 833.24K Points
Coach

Q. Which file does `kubectl` use to connect to the Kubernetes cluster?

  • (A) ~/.kube/config
  • (B) /etc/kubernetes/kubeconfig.yaml
  • (C) /usr/local/kube/config.json
  • (D) ~/.kube/k8s.json
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin

`kubectl` by default reads the configuration from `~/.kube/config`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.