Kubernetes, k8s

replicaset 요구명세서 troubleshooting , 트러블슈팅

youngjae5427 2023. 11. 2. 03:34

▶ troubleshooting , 트러블슈팅

5 -> 10으로 스케일아웃 진행 시 에러 발생 [STATUS -> pending 상태 지속]

pending 상태인 파드 상세정보 -> 이벤트 확인 (메세지 확인)




 0/3 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 2 node(s) had untolerated taint {node.kubernetes.io/unreachable: }. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling..

pod에 taints가 있어 해당 파드에 띄울 수 없는 상황 -> Taints 제거 진행

Taints:             node-role.kubernetes.io/unreachable:NoExecute
                    node-role.cilium.io/agent-not-ready:NoSchedule
                    node-role.kubernetes.io/unreachable:NoSchedule

kubectl taint nodes --all node-role.kubernetes.io/unreachable-

kubectl taint nodes --all node-role.cilium.io/agent-not-ready-



* running 상태 확인