We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dksshddl/eks-log-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
kubelet.md•1.61 KiB
# EKS Kubelet 트러블슈팅 가이드
## Kubelet 역할
- Pod 라이프사이클 관리 (생성, 삭제, 헬스체크)
- 컨테이너 런타임(containerd)과 통신
- 노드 상태를 API 서버에 보고
- Volume 마운트 처리
## 핵심 점검 포인트
### 1. Kubelet 서비스 상태
`kubelet/kubelet_service.txt`:
```bash
● kubelet.service - Kubernetes Kubelet
Active: active (running)
```
### 2. Kubelet 로그 분석
`kubelet/kubelet.log` 주요 에러 패턴:
| 에러 메시지 | 원인 | 해결 |
|-------------|------|------|
| `PLEG is not healthy` | 컨테이너 런타임 문제 | containerd 확인 |
| `failed to create pod sandbox` | CNI/런타임 문제 | VPC CNI, containerd 확인 |
| `eviction manager: attempting to evict pod` | 리소스 부족 | 디스크/메모리 확인 |
### 3. PLEG (Pod Lifecycle Event Generator)
PLEG 문제는 노드 NotReady의 주요 원인:
```
PLEG is not healthy: pleg was last seen active 3m0s ago
```
**원인:**
- containerd 응답 지연
- 과도한 Pod 수
- 디스크 I/O 병목
### 4. 노드 리소스 압박
| Condition | 임계값 | 확인 파일 |
|-----------|--------|-----------|
| DiskPressure | 디스크 90% 이상 | storage/mounts.txt |
| MemoryPressure | 메모리 부족 | system/top.txt |
| PIDPressure | PID 고갈 | system/ps.txt |
## EKS Log Collector 파일 매핑
| 점검 항목 | 파일 위치 |
|-----------|-----------|
| Kubelet 로그 | kubelet/kubelet.log |
| Kubelet 설정 | kubelet/kubeconfig.yaml |
| 서비스 상태 | kubelet/kubelet_service.txt |
| 프로세스 목록 | system/ps.txt |
| 디스크 사용량 | storage/mounts.txt |