Skip to content

PacktPublishing/Kubernetes-Autoscaling

Repository files navigation

Kubernetes Autoscaling, First Edition

This is the code repository for Kubernetes Autoscaling, First Edition, published by Packt.

Build efficient, cost-optimized clusters with KEDA and Karpenter

Christian Melendez

      Free PDF       Graphic Bundle       Amazon      

About the book

Kubernetes Autoscaling, First Edition

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.

Key Learnings

  • Gain a solid foundation in Kubernetes autoscaling and its components
  • Scale deployments, jobs, and StatefulSets using KEDA's CRDs
  • Configure event-based scaling strategies using metrics and schedules
  • Deploy and manage Karpenter for on-demand infrastructure provisioning
  • Explore advanced node disruption and lifecycle techniques
  • Combine KEDA and Karpenter to implement full-stack autoscaling
  • Optimize costs using Spot Instances, scale-to-zero, and workload placement
  • Apply real-world patterns and monitor autoscaling performance in production

Chapters

Unity Cookbook, Fifth Edition
  1. Introduction to Kubernetes Autoscaling
  2. Workload Autoscaling Overview
  3. Workload Autoscaling with HPA and VPA
  4. Kubernetes Event-Driven Autoscaling (KEDA)
  5. KEDA in Action on AWS EKS
  6. Metrics, Monitoring, and Observability
  7. Data Plane Autoscaling Overview
  8. Getting Started with Karpenter
  9. Karpenter on AWS
  10. Karpenter Management Operations
  11. Practical Use Cases
  12. Patterns and Best Practices

Requirements for this book

To be filled

Get to know Authors

Christian Melendez 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.

Other Related Books

About

Kubernetes Autoscaling, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors