51 lines
2.6 KiB
Markdown
51 lines
2.6 KiB
Markdown
---
|
||
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 耗尽问题,节点支持双栈 IP,Pod 仅需 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 Autoscaler,Kubernetes 水平 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 Service,AWS 托管 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、容量扩缩器)
|
||
- 对方观点:前视频聚焦可靠性保障机制 |