1. 원인 확인 및 삭제
#네임스페이스 확인
kubectl get namespaces
NAME STATUS AGE
azureserviceoperator-system Terminating 53m #53분째 삭제되고 있지 않은 네임스페이스
cert-manager Active 28h
default Active 24d
kube-node-lease Active 24d
kube-public Active 24d
kube-system Active 24d
local-path-storage Active 18d
meshery Active 103m
monitoring Active 23d
traefik Active 22d
#원인
spec:
finalizers: #정의파일에 finalizers 필드가 있다고 한다.
- kubernetes
#삭제 명령어
kubectl get ns azureserviceoperator-system -o json | \
jq '.spec.finalizers=[]' | \
kubectl replace --raw "/api/v1/namespaces/azureserviceoperator-system/finalize" -f -'ops > kubernetes' 카테고리의 다른 글
| 쿠버네티스의 postStart and preStop handlers (0) | 2026.02.20 |
|---|---|
| readinessProbe & livenessProbe (0) | 2026.02.15 |
| is invalid: metadata.annotations: Too long: may not be more than 262144 bytes (0) | 2026.02.03 |
| 컨테이너 실행 유저 설정하기 (0) | 2026.01.30 |
| docker registry용 secret 생성하기 (0) | 2026.01.30 |