Building Your Own Custom Metrics API for Kubernetes Horizontal Pod Autoscaler

Building Your Own Custom Metrics API for Kubernetes Horizontal Pod Autoscaler

Kubernetes is a lot of fun, has lots of features and usually supports most of one’s whims as a container orchestration tool in a straight-forward fashion.


However, one request from my direct manager had made me sweat during my attempts to achieve it: auto-scale pods according to a complicated logic criteria.