StatefulSet의 Pod가 보이지 않을 때 조치
2025. 2. 13. 22:41ㆍk8s
증상: pod가 안보임
kubectl get pods -A
확인
kubectl get statefulset -A
kubectl describe statefulset/{name} -n {namespace}
# Events 확인
조치
event에 있는 이슈 해결후, statefulset 삭제 후, 재기동
kubectl delete statefulset/{name} -n {namespace}
kubectl apply -f {filename}.yml
'k8s' 카테고리의 다른 글
K8s ubunbu에 containerd 기반으로 master node 설치(실패) (0) | 2025.02.15 |
---|---|
Kubectl initContainer 로그 출력하기 (0) | 2025.02.15 |
Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionP (0) | 2025.02.13 |
K8s ubunbu에 설치(실패) (0) | 2025.02.13 |
K8s token값 secret으로 저장하기 (0) | 2025.02.11 |