To illustrate application scaling using Horizontal Pod Autoscaler (HPA) and cluster scaling using Cluster Autoscaler (CA), we will deploy a microservice that generates CPU load.
The microservice we will use as an example, is a trivial web service that uses a Monte Carlo method to approximate pi written in go. You can find the application code in in this github repo