How do i list all the kubernetes namespaces?



  • Namespace within a kubernetes cluster that is sub-division of the cluster, various teams and projects usually have their own area to work under, namespaces allow this under a kubernetes cluster. You can create many namespaces, the default namespace is called "default", the system namespace is called "kube-system", a public namespace called "kube-public" is a special namespace, that is readable by all users, and one use is for bootstrapping the cluster

    $ kubectl get namespaces
    NAME          STATUS    AGE
    default       Active    44d
    kube-public   Active    44d
    kube-system   Active    44d
    

Log in to reply
 

© Lightnetics 2024