Issue 59

— Kubernetes Resources Part 4 - Horizontal Pod Autoscaling : External & Custom Metrics

Hello and welcome to the Horizontal Pod Autoscaling issue again!

There were soooo many great HPA articles that we had to do another. This time we are focusing on external and custom metrics, how to use them - why use them and more. There are a couple more goodies in here like Canary Analysis and how to be Overcommitted, the right way.

Read and enjoy!


Introducing Flagger

Canary Analysis: What is it even? We will let you read more here but the tl;dr is Does the canary pass your core KPIs or not? (In keeping with the theme of this issue Flagger does consume HPA objects so don’t worry)


Horizontal Pod Autoscaling based on custom Istio metrics

Horizontal Pod Autoscaling on Istio Metrics the Banzai way!


How to build a Kubernetes Horizontal Pod Autoscaler using custom metrics

Applications use resources based on their workload (mostly) - Why not scale on the workload? That’s where custom metrics come in to play. Included is an awesome example of how to implement a provider for the custom metrics API!


Ensure High Availability and Uptime With Kubernetes Horizontal Pod Autoscaler and Prometheus

How to connect your prometheus to your Horizontal Pod Autoscaler in a nutshell. Thanks @weaveworks.


Kubernetes HPA Autoscaling with Custom and External Metrics - Using GKE and Stackdriver Metrics

Maybe you use Stackdriver for HPA? Maybe you want an example of how to use external metrics for HPA? Checkout @JessicaGreben’s slick article on how.


Kubernetes Operations: Prioritize Workload in Overcommitted Cluster

Included here because not a lot of people talk about the PriorityClass resource which is important when your over committing clusters (especially when you have horizontal autoscaling in play).


Tweet of the Week

The aha moment of HPA - love it!