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

The Kubernetes Metrics Server

Before diving into the details of how to use HPA, let me cover a crucial component: the Kubernetes Metrics Server. In the previous chapter, I explored the use of Prometheus and Grafana for rightsizing pods based on historical usage patterns. However, HPA, by default, utilizes a different source of metrics to determine when to scale pod replicas.The Metrics Server plays a crucial role in this process, providing real-time resource utilization data that HPA relies on for making scaling decisions. It serves as the primary source of container resource metrics for Kubernetes' autoscaling mechanisms.In the following sections, I'll cover the what and why of the Metrics Server in detail, discussing its purpose, importance, and implementation within a Kubernetes cluster.

Metric Server: The What and the Why

The Kubernetes Metrics Server is a cluster-wide aggregator of resource usage data. While not a built-in component of Kubernetes, it's a crucial add...

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