오늘도 한 뼘 더
[k8s] eksctl : [!] 1 pods are unevictable from node 본문
DevOps & Infra/K8S(Kubernetes)
[k8s] eksctl : [!] 1 pods are unevictable from node
나른한댕댕이🐶 2024. 7. 16. 16:26728x90
반응형
# 배경
aws eks를 통해 만들어진 nodegroup을 삭제하는 과정에서 다음과 같은 에러 메시지가 뜨면서 삭제가 되지 않는 문제가 발생했다.
# 문제
pod가 삭제되는 중에 pending 문제가 발생하여 해당 에러가 발생할 수 있다는 걸 알았고 명령어로 검색한 결과 다음과 같이 pod들이 pending이 되고 있었다.
이중 해당 문제를 발생시키는 pod는 ebs-csi-controller pod이다.
# 해결 방법
ebs-csi-controller pod를 삭제한 후 nodegroup을 삭제하도록 한다.
$ kubectl delete deployment ebs-csi-controller
$ eksctl delete nodegroup --cluster [CLUSTER] --name [NODEHROUP]
728x90
반응형
'DevOps & Infra > K8S(Kubernetes)' 카테고리의 다른 글
[k8s] AWS EKS - Error: invalid version, supported values: 1.21, 1.22, 1.23, 1.24 (0) | 2024.05.29 |
---|---|
[Helm] Helm 업데이트 시 설명 추가하기 (0) | 2024.04.16 |
[k8s] kubeconfig context 이름 변경하기 (2) | 2024.04.03 |
[Helm] helm upgrade 할 때 했던 실수 (0) | 2024.02.21 |
[Helm] Error: Kubernetes cluster unreachable: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1" (2) | 2023.12.07 |
Comments