Build efficient, cost-optimized clusters with KEDA and Karpenter
Christian Melendez

#Kubernetes
#Autoscaling
#KEDA
#Karpenter
#AWS
#GCP
#Azure
#HPA
#VPA
🚀 یاد بگیر چطور بارهای کاری رو بهشکل بهینه مقیاسپذیر کنی، هزینههای کلاود رو کاهش بدی و عملکرد رو بهتر کنی
با استراتژیهای واقعی و عملی برای مقیاسدهی رویدادمحور و مقیاسدهی در سطح زیرساخت.
✨ ویژگیهای کلیدی
• مقیاسدهی خودکار بارهای کاری و زیرساخت Kubernetes با استفاده از KEDA و Karpenter
• بهبود عملکرد، کاهش هزینههای کلاود و حذف هدررفت منابع با مقیاسدهی هوشمندانهتر
• کار با لابراتوارهای عملی، سناریوهای واقعی و راهنمای گامبهگام از خالق Karpenter Blueprints
📘 توضیح کتاب
Kubernetes ستون فقرات زیرساختهای مدرن مبتنی بر کانتینره، اما مقیاسدهی کارآمد اون هنوز چالشبرانگیزه. این کتاب یک راهنمای جامع در اختیار متخصصان کلاود قرار میده تا با ترکیب قدرتمند Kubernetes Event-Driven Autoscaler (KEDA) و Karpenter، اتواسکیل پویا برای اپلیکیشنها و زیرساخت پیادهسازی کنن؛ جایی که Karpenter بهعنوان نسل جدید autoscaler کلاستر در AWS نقش کلیدی داره.
از مبانی اتواسکیل شروع میکنی، بعد سراغ HPA و VPA میری و در ادامه بهصورت عملی با KEDA برای بارهای کاری رویدادمحور و با Karpenter برای مقیاسدهی دیتا پلین کار میکنی. با کمک سناریوهای واقعی، بهترین رویهها و الگوهای دقیق، یاد میگیری کلاسترهای Kubernetes مقاوم، مقیاسپذیر و مقرونبهصرفه رو در محیطهای پروداکشن مستقر کنی.
در پایان کتاب، میتونی استراتژیهای عملی اتواسکیل رو پیادهسازی کنی تا عملکرد بهتر بشه، هزینههای کلاود کاهش پیدا کنه و over-provisioning از بین بره.
🎯 آنچه یاد خواهید گرفت
• ساخت یک پایه محکم از مفاهیم اتواسکیل در Kubernetes و اجزای اون
• مقیاسدهی Deploymentها، Jobها و StatefulSetها با استفاده از CRDهای KEDA
• پیکربندی استراتژیهای مقیاسدهی مبتنی بر رویداد با متریکها و زمانبندیها
• استقرار و مدیریت Karpenter برای تامین زیرساخت on-demand
• بررسی تکنیکهای پیشرفته اختلال نودها و مدیریت چرخه عمر
• ترکیب KEDA و Karpenter برای پیادهسازی اتواسکیل سرتاسری
• بهینهسازی هزینهها با Spot Instanceها، scale-to-zero و جایگذاری هوشمند بارهای کاری
• اعمال الگوهای واقعی و مانیتورینگ عملکرد اتواسکیل در محیط پروداکشن
👥 این کتاب مناسب چه کسانی است
این کتاب برای مهندسان DevOps، متخصصان SRE، معماران کلاود و حرفهایهای Kubernetes مناسبه که میخوان مصرف منابع رو بهینه کنن و مقیاسپذیری رو بهبود بدن.
آشنایی پایه با مفاهیم Kubernetes و محیطهای کلاود مثل AWS، GCP و Azure فرض گرفته شده.
📑 فهرست مطالب
بخش 1: شروع کار با اتواسکیل در Kubernetes
1. مقدمهای بر اتواسکیل در Kubernetes
2. نمای کلی اتواسکیل بارهای کاری
3. اتواسکیل بارهای کاری با HPA و VPA
بخش 2: اتواسکیل بارهای کاری و KEDA
4. اتواسکیل رویدادمحور در Kubernetes – بخش اول
5. اتواسکیل رویدادمحور در Kubernetes – بخش دوم
6. عملیات اتواسکیل بارهای کاری
بخش 3: اتواسکیل نودها و Karpenter
7. نمای کلی اتواسکیل دیتا پلین
8. اتواسکیل نودها با Karpenter – بخش اول
9. اتواسکیل نودها با Karpenter – بخش دوم
10. عملیات مدیریتی Karpenter
بخش 4: سناریوها، الگوها و توصیهها
11. سناریوهای عملی اتواسکیل در Kubernetes
12. الگوها و توصیهها
13. فعالسازی مزایای اختصاصی شما
👤 درباره نویسنده
کریستین ملندز معمار ارشد راهکارها و لید EMEA در حوزه Compute در AWS هست و سابقه قوی در مهندسی پلتفرم Kubernetes داره. از سال ۲۰۱۷ با Kubernetes کار کرده و به سازمانهای بزرگ، از جمله شرکتهای مخابراتی، هواپیمایی و حملونقل آنلاین، کمک کرده تا بارهای کاریشون رو بهینه کنن.
او خالق پروژه Karpenter Blueprints و یکی از مشارکتکنندگان فعال در راهکارهای اتواسکیل در فضای cloud-native محسوب میشه و بهطور منظم در زمینه Karpenter و استراتژیهای بهینهسازی Kubernetes، ارائه و کارگاه برگزار میکنه.
Learn to scale workloads efficiently, reduce cloud costs, and optimize performance with real-world strategies for event-driven and infrastructure-level scaling
Kubernetes is the backbone of modern containerized infrastructure, but scaling it efficiently remains a challenge. Kubernetes Autoscaling equips cloud professionals with this comprehensive guide to dynamically scaling applications and infrastructure using the powerful combination of Kubernetes Event-Driven Autoscaler (KEDA) and Karpenter, AWS’s next-generation cluster autoscaler.
You’ll begin with autoscaling fundamentals, move through HPA and VPA, and then get hands-on KEDA for event-driven workloads and Karpenter for data plane scaling. With the help of real-world use cases, best practices, and detailed patterns, you’ll deploy resilient, scalable, and cost-effective Kubernetes clusters across production environments.
By the end of this book, you’ll be able to implement practical autoscaling strategies to improve performance, reduce cloud costs, and eliminate over-provisioning.
This book is ideal for DevOps engineers, SREs, cloud architects, and Kubernetes professionals who want to optimize resource usage and improve scalability. A basic understanding of Kubernetes concepts and cloud environments, i.e., AWS, GCP, and Azure, is assumed.
Table of Contents
Part 1: Getting started with Kubernetes Autoscaling
Chapter 1: Introduction to Kubernetes Autoscaling
Chapter 2: Workload Autoscaling Overview
Chapter 3: Workload Autoscaling with HPA and VPA
Part 2: Workload Autoscaling and KEDA
Chapter 4: Kubernetes Event-Driven Autoscaling - Part 1
Chapter 5: Kubernetes Event-Driven Autoscaling - Part 2
Chapter 6: Workload Autoscaling Operations
Part 3: Node Autoscaling and Karpenter
Chapter 7: Data Plane Autoscaling Overview
Chapter 8: Node Autoscaling with Karpenter - Part 1
Chapter 9: Node Autoscaling with Karpenter - Part 2
Chapter 10: Karpenter Management Operations
Part 4: Use Cases, Patterns, and Recommendations
Chapter 11: Practical Use Cases for Autoscaling in Kubernetes
Chapter 12: Patterns and Recommendations
Chapter 13: Unlock Your Exclusive Benefits
About the Author
Christian Melendez is Principal Specialist Solutions Architect and EMEA Lead for Compute at AWS, with a strong background in Kubernetes platform engineering. He has been working with Kubernetes since 2017, helping large enterprises—including telecommunications, airline, and ride-hailing companies—optimize their workloads. Christian is the creator of the Karpenter Blueprints project and an active contributor to autoscaling solutions in the cloud-native space. He frequently delivers talks and workshops on Karpenter and Kubernetes optimization strategies.









