JAEN

Kubernetes

kubectl get ns

SafeList namespaces

kubectl get namespaces

Lists cluster namespaces. One stuck in Terminating usually means leftover finalizers.

Examples

  • kubectl get nsNamespaces and phases

Syntax

kubectl get ns / kubectl create ns <name>

Before you run it

Read only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store