Create Namespace Kubectl [new] 〈2K 2026〉
By default, kubectl commands run against the default namespace. You have two options to change the target namespace.
kubectl get deployments --namespace=my-namespace create namespace kubectl
By default, kubectl commands run against the default namespace. You have two options to change the target namespace.
kubectl get deployments --namespace=my-namespace create namespace kubectl