Hello All
I am new to Nutanix and new to Kubernetes so my apologises for the newbie questions?
I've played with docker and kubernetes on my Windows machine but having a brain freeze transitioning to the karbon cluster.
How do I get kubectl to use my configure file I downloaded from Karbon?
Currently kubectl is only talking to my docker VM's?
Many thanks in advance
J
Playing with Karbon
This topic has been closed for comments
Hi Thewanandonly,
Please see this Kubernetes documentation for more information:
https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/
In summary, you have 3 options:
Please see this Kubernetes documentation for more information:
https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/
In summary, you have 3 options:
- Place the kubeconfig file in ~/.kube/config
- Set it as an environment variable ($ export KUBECONFIG=karbon-kubectl.cfg)
- Specify it each time you run a kubectl command ($ kubectl --kubeconfig karbon-kubectl.cfg get pods)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.