How to use latency of a service deployed on Kubernetes to Scale the deployment?
问题 I have a simple spring boot application deployed on Kubernetes on GCP. The service is exposed to an external IP address. I am load testing this application using JMeter. It is just a http GET request which returns True or False . I want to get the latency metrics with time to feed it to HorizontalPodAutoscaler to implement custom auto-scaler. How do I implement this? 回答1: Since you mentioned Custom Auto Scaler. I would suggest this simple solution which makes use of some of tools which you