Files
nexus/wiki/sources/public-cloud-learning-sessions-eks-optimization-part-1-of-3-compute-optimization.md
2026-04-19 14:51:38 +08:00

49 lines
2.1 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: "Public Cloud Learning Sessions - EKS Optimization Part 1 of 3 - Compute Optimization with Karpenter"
type: source
tags: [AWS, EKS, Karpenter, Cost-Optimization, Compute-Optimization]
date: 2026-04-14
---
## Source File
- [[raw/Cloud & DevOps/Public-Cloud-Learning-Sessions/04_EKS/public-cloud-learning-sessions-eks-optimization-part-1-of-3-compute-optimization.md]]
## Summary
- 核心主题EKS 计算优化,使用 Karpenter 实现自动扩缩容
- 问题域Kubernetes 集群资源管理、成本优化
- 方法/机制Karpenter 替代传统 Cluster Autoscaler直接与 EC2 Fleet API 通信,基于成本和利用率进行工作负载放置和整合
- 结论/价值:简化数据平面管理,降低节点管理复杂度,实现更优的成本效率
## Key Claims
- Karpenter 与 Kubernetes workload scheduling constructs 原生集成
- Karpenter 直接与 EC2 Fleet API 通信,降低延迟
- Karpenter 提供工作负载放置和节点整合的原生体验
- Karpenter 原生支持 Spot 中断处理,使用 EventBridge 和 SQS
## Key Quotes
> "Carpenter not only does the auto-scaling bit, but it also removes the pain points of working with node groups."
> "Carpenter has native integration with Kubernetes and it complements the native Kubernetes spot pod scheduling constraints that is available for your workloads."
## Key Concepts
- [[Karpenter]]:开源 Kubernetes compute management tool替代 Cluster Autoscaler
- [[Node-Pools]]:定义调度约束和容量限制
- [[Node-Classes]]定义实例配置细节子网、节点角色、AMI
- [[Spot-Interruption]]Spot 实例中断处理
- [[Consolidation-Policies]]:整合策略,控制成本优化行为
## Key Entities
- [[AWS]]:云服务提供商
- [[EKS]]Amazon Elastic Kubernetes Service
- [[EC2-Fleet-API]]AWS EC2 灵活计算实例 API
- [[EventBridge]]AWS 事件总线服务
- [[SQS]]AWS 简单队列服务
## Connections
- [[Karpenter]] ← extends ← [[Cluster-Autoscaler]]
- [[Karpenter]] ← integrates_with ← [[EC2-Fleet-API]]
- [[Karpenter]] ← uses ← [[EventBridge]]
- [[EKS]] ← manages ← [[Karpenter]]
## Contradictions
- (暂无)