Is there a way to get the metric that initiated pod scaling in Kubernetes?

Viewed 17

I have a Kubernetes cluster deployed in AWS. The pods are set to auto-scale based on memory, CPU total average usage, and based on request latency of the services.

Scaling works as expected. I am wondering if there is a Kubernetes event that fires when scaling that indicates which metric was used for the scaling? Whether the scaling happened due to memory usage or CPU usage etc.

0 Answers
Related