What is a kubeconfig file and context?
BeginnerConceptExtending Kubernetes: Helm, CRDs, Operators & kubectl
Answer
~/.kube/config holds clusters (server + CA), users (credentials) and contexts (cluster + user + namespace). kubectl config use-context switches clusters, and KUBECONFIG can merge multiple files.
kubectl config get-contexts
kubectl config set-context --current --namespace=shop
More on Extending Kubernetes: Helm, CRDs, Operators & kubectl
What is Helm and what problem does it solve?BeginnerWhat are the basic Helm commands?BeginnerWhat is a CustomResourceDefinition (CRD)?BeginnerWhat is an Operator?BeginnerWhat are `kubectl get`, `describe`, `logs` and `exec` used for?BeginnerHow is a Helm chart structured and how does templating work?Intermediate