kubernetes/get-namespaces

Get Namespaces

List all namespaces

namespaces
monitoring

Command

kubectl get namespaces

Explanation

Lists all active namespaces in the cluster.

Examples

Show all namespaces

kubectl get namespaces