I’m on the very first steps on Kubernetes, and have a question if there any way to create context based on my kubeconfig file and then re-use by using
kubectl --context mycontext ?
It’s a bit annoying to have in every command I execute with kubectl
something like:
kubectl -kubeconfig=~/.kube/<clustername>-kubeconfig.yaml
Or maybe there is some more advanced ways on how to handle authorization more easily?
Any help is much appreciated!
4