Kubernetes Namespace Operations: Difference between revisions
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
kubectl get namespace <errant-namespace> -o json > data.json | kubectl get namespace <errant-namespace> -o json > data.json | ||
</ | </syntaxhighlight> |
Revision as of 20:39, 15 June 2020
Internal
Overview
kubectl create ns <namespace-name>
kubectl get namespaces|ns
kubectl delete namespace|ns <namespace-name>
Recipes
Namespace Deleting Stuck in "Terminating" State
Noticed with EKS 1.16.
Solution here:
kubectl get namespace <errant-namespace> -o json > data.json