Skip to content

keep separate k3d kubeconfig files #646

Discussion options

You must be logged in to vote

Hi @Yasinmohammed007 , let me just go through all the parts of your question 👍

I dont want to use switch context

This is actually the "standard way" of doing things as per https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/, but it's fine, if that's not suitable for you (in any case, checkout https://github.com/ahmetb/kubectx which makes handling multiple contexts super easy).

i was searching on k3d docs

Then this is what you were searching for: https://k3d.io/usage/kubeconfig/
When you create a k3d cluster with default parameters, k3d will merge the kubeconfig from the new cluster into whatever is specified as your default kubeconfig ($HOME…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Yasinmohammed007
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants