Exploring the Existing Namespaces
In this lesson, we will explore and discuss briefly about the existing Namespaces.
Now that we know that our cluster has multiple Namespaces, let’s explore them a bit.
Getting the Existing Namespaces
We can list all the Namespaces through the kubectl get namespaces
command. As with the most of the other Kubernetes objects and resources, we can also use a shortcut ns
instead of the full name.
Press + to interact
kubectl get ns
The output is as follows.
Press + to interact
NAME STATUS AGEdefault Active 3mkube-public Active 3mkube-system Active 3m
We can see that three Namespaces were set up automatically when we created the Minikube cluster.
The default Namespace
The default
Namespace is the one we used all this time. If we do not ...
Access this course and 1400+ top-rated courses and projects.