Difference between revisions of "Kubectl get namespaces"

From wikieduonline
Jump to navigation Jump to search
Line 40: Line 40:
 
== Related ==
 
== Related ==
 
* <code>[[kubectl get all --all-namespaces]]</code>
 
* <code>[[kubectl get all --all-namespaces]]</code>
 +
* [[kubectl create namespace]]
  
 
== See also ==
 
== See also ==

Revision as of 12:00, 9 August 2023

EKS

kubectl get namespaces
NAME              STATUS   AGE
default           Active   44h
kube-node-lease   Active   44h
kube-public       Active   44h
kube-system       Active   44h

EKS + Kots

NAME              STATUS   AGE
default           Active   28d
yourapp-kots     Active   28d
kube-node-lease   Active   28d
kube-public       Active   28d
kube-system       Active   28d

Minikube

kubectl get namespaces
NAME                   STATUS   AGE
default                Active   3d21h
kube-node-lease        Active   3d21h
kube-public            Active   3d21h
kube-system            Active   3d21h
kubernetes-dashboard   Active   3d21h


kubectl get namespaces
NAME              STATUS    AGE
default           Active   24h
kube-node-lease   Active   24h
kube-public       Active   24h
kube-system       Active   24h


kubectl delete namespaces --all

Related

See also

Advertising: