K8s Terminating Namespace 강제 삭제

1 개요[ | ]

A namespace is stuck in the Terminating state
K8s Terminating namespace 삭제
just workaround
kubectl proxy &
NAMESPACE=네임스페이스
kubectl get ns ${NAMESPACE} -ojson | grep -v '"kubernetes"$' | curl -k -H "Content-Type: application/json" -XPUT --data-binary @- localhost:8001/api/v1/namespaces/$NAMESPACE/finalize
pkill kubectl
root cause
kubectl get apiservice | grep False

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}