# KIND-AUTOSCALING ## Kind 환경에서 Cluster Autoscaler 시뮬레이션 ### 문제점 - Kind는 Docker 컨테이너 기반이라 실제 클라우드 리소스가 없음 - 진짜 Cluster Autoscaler는 AWS/GCP/Azure API가 필요 ### 해결책 #### 1. **수동 노드 스케일링 스크립트** (실용적) ```bash # 스크립트 실행 chmod +x kind-autoscaler.sh ./kind-autoscaler.sh # 기능: - CPU 사용률 모니터링 - Pending Pod 감지 - 자동 노드 추가/제거 - Min: 3, Max: 10 노드 ``` #### 2. **Kwok (Kubernetes WithOut Kubelet)** - 가상 노드 ```bash # Kwok 설치 kubectl apply -f https://github.com/kubernetes-sigs/kwok/releases/download/v0.4.0/kwok.yaml # 가상 노드 생성 kubectl apply -f - <