Autoscale with HPA and Survive a Node Failure on Kubernetes
Tune a HorizontalPodAutoscaler against real load, then take a node out and prove users never notice.
POINTS
Tune a HorizontalPodAutoscaler against real load, then take a node out and prove users never notice.
POINTS
A workload whose autoscaling is tuned from measurements rather than guesses, with evidence that it holds up under load and under failure.
Starting point: you only need a Vultr account. This challenge is self-contained, so you can do it without having done any other.
The HPA is the heart of this challenge. Do not accept defaults: choose every value and defend it with data.
Destroy the cluster and any load balancers or volumes it created when you are done so you are not billed for them.
Metrics Server running and an HPA scaling on CPU
A second HPA signal (memory or a custom metric)
HPA behavior configured for scale-up and scale-down
Resource requests justified by data
Replicas spread across nodes and a PodDisruptionBudget in place
Node failure drill with measured errors
HPA tuning shown with before and after results
How to Provision a Vultr Kubernetes Engine Cluster
How to Install and Use Kubectl to Manage a VKE Cluster
How to Deploy Metrics Server on Vultr Kubernetes Engine
How to Scale Node Pools in a Vultr Kubernetes Engine Cluster
How to Monitor Your VKE Cluster with tobs
Horizontal Pod Autoscaling
HPA walkthrough
Configure a Pod Disruption Budget