I was trying to create a alert if the scaling ever reached the HPA’s maximum replicas value, but it doesn’t seem like NewRelic is pulling that information from the metrics daemon? It’s documented at https://github.com/kubernetes/kube-state-metrics/blob/master/Documentation/horizontalpodautoscaler-metrics.md
Hey @ggreer that’s a great alerting idea. I’m curious if you curl
<ksm-url>/metrics do you see any of the listed
@avialpando can you verify that if the kube-state-metrics version is correct, that the newrelic infra agent does pull the ReplicataSet max info? I’m having difficulties getting this exact information as well
Hey @garrett.marone - The data New Relic pulls from KSM can be found here: https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/kubernetes-monitoring-integration#view-data
Yes, I have access to all that information, but specifically I was hoping to be able to get MaxReplicas, which is made available in kube-state-metrics as kube_hpa_spec_max_replicas, and that doesn’t seem to be availabe in newrelic. Can you verify this? or let us know when that particular metric is slated to be made available?