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

Monitoring KEDA

Another important aspect for operating KEDA is monitoring. This effectively means observing metrics that define the status or health of a system. So, in this case, we’re interested in observing metrics from KEDA’s components. In Chapter 3, you already used Prometheus and Grafana to monitor the resource utilization of a workload with the purpose of right-sizing the requests of CPU and memory. To monitor KEDA’s components, we’re going to continue using these tools and take advantage of what KEDA’s components already provide.

KEDA’s components already expose a certain number of metrics for Prometheus to scrape. As most of the work in KEDA is done in the operator, you’ll find that most of the metrics come from this component. However, KEDA also exposes metrics for KEDA’s metric server and KEDA’s admission webhook. All these metrics can be scraped by Prometheus on port 8080 at the /metrics endpoint.

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