title, type, tags, sources, last_updated
| title |
type |
tags |
sources |
last_updated |
| Cluster Autoscaler |
concept |
|
| ctp-topic-70-eks-deployment-using-iac |
| ctp-topic-64-scaling-out-with-amazon-eks |
|
2026-04-24 |
Cluster Autoscaler
Overview
Cluster Autoscaler 是 Kubernetes 的自动扩缩容组件,根据资源需求自动调整 Worker Node 的数量,实现基础设施的弹性伸缩。
How It Works
- 监控资源使用情况:定期检查 Pod 的调度状态
- 检测资源不足:当 Pod 因资源不足无法调度时触发扩容
- 调用云提供商的 API:AWS 上与 Auto Scaling Groups 集成
- 自动启动新节点:在可用区中启动新 EC2 实例
- 缩容检测:当节点利用率低且 Pod 可安全驱逐时,触发缩容
AWS Integration
- 与 AWS Auto Scaling Groups 深度集成
- 支持多个 Auto Scaling Groups
- 根据 Pod 需求自动选择合适的实例类型
Related Concepts