'''For testing purposes, all current users have access to the namespace exc-cb. This will change in the future, watch out for tutorials.'''
To switch to a different namespace, edit the corresponding line in the kubeconfig. You can also keep a list of contexts for different namespaces like this:
<syntaxhighlight lang="bash">
> kubectl config usecontexts:-context : cluster: ccu namespace: exc-cb user: your.username name: me@exc-cb.ccu- context: cluster: ccu namespace: trr161 user: your.username name: me@trr161.ccu
</syntaxhighlight>
Set the context again, and now you should be able to list the pods.
<syntaxhighlight lang="bash">
> kubectl config use-context me@exc-cb.ccu
> kubectl get pods
</syntaxhighlight>
== Which contexts are available and which resources can they access? ==
Refer to these documents:
* [[Cluster:Namespaces|Which namespaces am I allowed to use?]]
* [[Cluster:Nodes|Which compute nodes are available?]]
* [[Cluster:Nodes|Which namespace has access to which compute nodes?]]
[[Category:Tutorials]]