Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Kubernetes Autoscaling
  • Table Of Contents Toc
Kubernetes Autoscaling

Kubernetes Autoscaling

By : Christian Melendez
close
close
Kubernetes Autoscaling

Kubernetes Autoscaling

By: Christian Melendez

Overview of this book

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.
Table of Contents (20 chapters)
close
close
Lock Free Chapter
1
Part 1: Getting started with Kubernetes Autoscaling
5
Part 2: Workload Autoscaling and KEDA
9
Part 3: Node Autoscaling and Karpenter
14
Part 4: Use Cases, Patterns, and Recommendations
18
Other Books You May Enjoy
19
Index

Use case 3: Compute cost optimization

Now that we’ve explored how KEDA and Karpenter can help you autoscale web-based applications and job-based workloads, let’s take a closer look at another common use case where Karpenter helps you to cost-optimize your compute costs in a cluster. We’ll focus on what you can do with Karpenter, and how, by only making a few changes to the NodePool (and sometimes to your application), you can reduce the compute costs dramatically.

During the following lab, you’ll start with a non-optimized workload so that you can see the cost reduction while you make the changes. You’re going to use a visualization tool called eks-node-viewer, which shows you the efficiency of a cluster in terms of the allocated resources, the estimated monthly compute cost, and the hourly price, among other things. Then, we’ll introduce optimizations such as using ARM-based instances, right-sizing overprovisioned pods, and using spot...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Kubernetes Autoscaling
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon