Open akshaysgithub opened 4 years ago
@akshaysgithub ,I am getting same issue,Did you resloved your issue ?
I have the same problem. custom metrics is not working.
@akshaysgithub so once i had the IRSA annotation correct and was able to use the role (i sniped the pod to ensure it wasn't using a bad token or anything). The thing that fixed it for me was the type
(I originally had None
specified) but when i moved to Count
it started to populate as expected
You can take a look there : https://github.com/awslabs/k8s-cloudwatch-adapter/issues/51 They explain how you can debug this case.
After lot of research, I was stuck like you. And I realize that when I want to retrieve my custom metrics (Generated by a SaaS), I needed to specify all dimensions, that they have added. And then suddently, all my metrics appears. Link to AWS Doc
I'm hitting the same issue for unit: Percent with hpa v2beta2, on the other hand unit: Count works fine
Also posted on SO : https://stackoverflow.com/questions/64087291/kubernetes-hpa-hpa-not-showing-information-from-external-metrics
Hello friends,
I am working on setting up memory based metrics, as our app is memory intensive. I have defined a Custom/ContainerInsights namespace, but I still cannot see my metrics in cloudwatch and hpa always shows current value to 0. Only thing I changed since my trial is to migrate hpa from v1beta1 to v2beta2...no luck. What am I missing?
metrics-file :
HPA file :
kubectl describe externalmetrics magentomemory
In the file below, the current value is always at 60.
Please note, I don't have containerinsights installed, I only installed k8s adapter. I can see it working, logs :