IK.AM


Dev > CaaS > Kubernetes

Terminatingのまま消えないNamespaceを強制的に削除するTip

Created on Wed Jul 12 2023 • Last Updated on Wed Jul 12 2023N/A Views

🏷️ Kubernetes

memo

export NS=hogehoge && echo '{"metadata":{"name":"'$NS'"},"spec":{"finalizers":[]}}' | kubectl replace --raw "/api/v1/namespaces/$NS/finalize" -f -
Found a mistake? Update the entry.