Namespaces
Namespaces – In Kubernetes, namespaces provides a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces.
Create a namespace.
kubectl create namespace <namespace_name>
List one or more namespaces.
kubectl get namespace
Display the detailed state of one or more namespaces.
kubectl describe namespace <namespace_name>
Delete a namespace.
kubectl delete namespace <namespace_name>
Edit and update the definition of a namespace.
kubectl edit namespace <namespace_name>
Display Resource (CPU/Memory/Storage) usage for a namespace.
kubectl top namespace <namespace_name>
Last updated