Kubernetes Namespace Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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:

https://medium.com/@clouddev.guru/how-to-fix-kubernetes-namespace-deleting-stuck-in-terminating-state-5ed75792647e