728x90
반응형
내가 자주 사용해서 메모용
NAMESPACE=my-mariadb-operator-app
kubectl proxy & kubectl get namespace $NAMESPACE -o json |jq '.spec = {"finalizers":[]}' >temp.json
kubectl replace --raw "/api/v1/namespaces/$NAMESPACE/finalize" -f ./temp.json
출처 : https://stackoverflow.com/questions/52369247/namespace-stuck-as-terminating-how-i-removed-it
나는 이 방법이 제일 편함
728x90
반응형
'기타 > K8S' 카테고리의 다른 글
Kubernetes)helm 설치 (0) | 2022.02.21 |
---|---|
udemy) CKA강의 듣고 따라하기_sample :: migthytedkim (0) | 2022.01.03 |
Kubernetes) Forbidden User 보는 방법_role,sa (0) | 2021.11.23 |
Kubernetes) Metrics server 오류_kubelet-insecure-tls (0) | 2021.11.16 |
youtube) k8s+spark+minio 실습 따라하기_2 :: mightytedkim (0) | 2021.09.21 |