k8wiz
Argo CD
Hard
Troubleshooting & Debugging

How can you retrieve the Kubernetes kubeconfig for a cluster that Argo CD is managing?

Select your answer:

Show answer and explanation

Answer: `argocd admin cluster kubeconfig <cluster-url> <output-path>`

Explanation

'argocd admin cluster kubeconfig <cluster-url> <output-path>' writes a kubeconfig built from the credentials Argo CD stores for that cluster. It's handy for checking whether Argo CD's own credentials can reach the cluster.

Read more about Argo CD