I'm curious if there is a way to use metricbeat as a source for scaling resources in Kubernetes using HPA, as described here https://learnk8s.io/autoscaling-apps-kubernetes
The idea would be for instance to scale up the number of pods based on gathering some metric from the pod, such as number of http requests pr second, kafka consumer lag or whatever.
Should just follow this I guess. https://github.com/kubernetes-sigs/custom-metrics-apiserver/blob/master/docs/getting-started.md
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.