Difference between revisions of "Kubectl get namespaces"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
[[kubectl delete namespaces]] --all | [[kubectl delete namespaces]] --all | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubernetes get all --all-namespaces]]</code> | ||
== See also == | == See also == |
Revision as of 20:19, 4 December 2021
Contents
EKS
kubectl get namespaces NAME STATUS AGE default Active 44h kube-node-lease Active 44h kube-public Active 44h kube-system Active 44h
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
kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- Kubernetes namespaces:
kubectl get namespaces
,kube-system namespace
,--namespace
Advertising: