Kubectl Namespaces and Context
Namespaces limit scope, aka 'virtual clusters'
Not related to Docker / Linux namespaces
Won't need them in small clusters
There are some built-in, to hide system stuff from kubectl users
kubectl get namespaceskubectl get all --all-namespaces
Context changes kubectl cluster and namespace, see
~/.kube/configfilekubectl config get-contextskubectl config set*<-- see help for this
Last updated
Was this helpful?