namespaces stuck in the terminating state

cloud2000·2023년 11월 20일

namespace에 있는 finalize api를 호출함으로써 terminating state를 없앨수 있음.

$kubectl get ns argo-events -o json > argo-events.json

vi로 spec.finalizers에 있는 항목 제거.

$ vi argo-events.json
$ curl -k -H "Content-Type: application/json" -X PUT --data-binary @argo-events.json http://172.30.1.11:6443/api/v1/namespaces/argo-events/finalize
profile
클라우드쟁이

0개의 댓글