Files
nexus/wiki/sources/ctp-topic-64-scaling-out-with-amazon-eks.md
2026-04-19 14:51:38 +08:00

51 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "CTP Topic 64 Scaling out with Amazon EKS"
type: source
tags: [AWS, EKS, Kubernetes, Scaling, CTP]
date: 2026-04-14
---
## Source File
- [[raw/Cloud & DevOps/Public-Cloud-Learning-Sessions/04_EKS/ctp-topic-64-scaling-out-with-amazon-eks.md]]
## Summary
- 核心主题Amazon EKS 水平扩展与垂直扩展机制
- 问题域EKS 集群扩容、应用伸缩、IP 地址管理
- 方法/机制HPA水平 Pod 自动扩缩容、KEDA事件驱动扩缩容、Karpenter/C Cluster Autoscaler容量扩缩容、IPv6 解决 IP 耗尽
- 结论/价值:多维度扩展策略保障 EKS 工作负载稳定性和成本效率
## Key Claims
- HPA 是 Kubernetes 标准应用工作负载扩缩容机制,基于 CPU/内存指标计算副本数,支持自定义和外部指标
- KEDA 支持基于外部事件的扩缩容,可从零副本启动,发布指标供 HPA 使用
- Cluster Autoscaler 绑定 ASG自动扩缩组基于待调度 Pod 数量调整容量,考虑 CPU 和内存请求
- Karpenter 是开源原生容量扩缩器,直接与 EC2 API 交互,支持动态按需供给,不依赖预配置节点组
- IPv6 双栈 VPC 可解决 IP 耗尽问题,节点支持双栈 IPPod 仅需 IPv6 地址
## Key Quotes
> "The horizontal pod autoscaler is going to pull the metrics and it is going to calculate how many replicas are required for your application workload."
> "The scaling decision that is made by the cluster auto scaler, it is done on the number of pending pods in the cluster."
## Key Concepts
- [[HPA]]Horizontal Pod AutoscalerKubernetes 水平 Pod 自动扩缩容器
- [[KEDA]]Kubernetes Event-driven Autoscaling事件驱动扩缩容框架
- [[Karpenter]]AWS 开源原生容量扩缩器,直接与 EC2 API 交互
- [[Cluster Autoscaler]]:绑定 ASG 的 Kubernetes 容量扩缩器
- [[IPv6 Networking]]IPv6 网络解决 VPC IP 耗尽
## Key Entities
- [[Suravpul]]AWS 高级解决方案架构师,本次演讲嘉宾
- [[AWS]]Amazon Web Services云服务提供商
- [[EKS]]Amazon Elastic Kubernetes ServiceAWS 托管 Kubernetes 服务
## Connections
- [[HPA]] ← uses ← [[Metrics Server]]
- [[KEDA]] ← integrates_with ← [[HPA]]
- [[Cluster Autoscaler]] ← depends_on ← [[ASG]]
- [[Karpenter]] ← replaces ← [[Cluster Autoscaler]]
- [[IPv6 Networking]] ← resolves ← [[IP Exhaustion]]
## Contradictions
- 与 [[ctp-topic-59-achieving-reliability-with-amazon-eks]] 冲突:
- 冲突点EKS 扩展策略侧重点
- 当前观点本视频聚焦水平扩展机制HPA、KEDA、容量扩缩器
- 对方观点:前视频聚焦可靠性保障机制