You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.
In my environment, I hav AWS EKS - 1.16 with metric server v0.5.0 and hpa. I have installed this v0.10.0 Cloudwatch adapter to the cluster under namespace custom-metrics
kubectl get --raw "/apis/external.metrics.k8s.io" | jq .
ScalingActive False FailedGetExternalMetric the HPA was unable to compute the replica count: unable to get external metric perf/hello-queue-length/nil: unable to fetch metrics from external metrics API: no metric query found
1 metric_cache.go:44] metric not found ExternalMetric/perf/hello-queue-length
httplog.go:90] GET /apis/external.metrics.k8s.io/v1beta1/namespaces/perf/hello-queue-length: (2.511725ms) 400 [kube-controller-manager/v1.16.15 (linux/amd64) kubernetes/cf75c96/system:serviceaccount:kube-system:horizontal-pod-autoscaler 10.240.146.186:60812]
Both HPA (sqs-consumer-scaler) and ExternalMetric (sqs-helloworld-length) are installed on the same namespace as app. Here in this case perf
What would be the reason for this failure?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my environment, I hav AWS EKS - 1.16 with metric server v0.5.0 and hpa. I have installed this v0.10.0 Cloudwatch adapter to the cluster under namespace custom-metrics
kubectl get --raw "/apis/external.metrics.k8s.io" | jq .
I have attached IAM Role to the service-account as below:
Here
myrole
hasAssumeRoleWithWebIdentity
for the OIDC with sub assystem:serviceaccount:custom-metrics:k8s-cloudwatch-adapter
While i try to follow the steps as on scaling-kubernetes-deployments-with-amazon-cloudwatch-metrics,
the HPA shows the below error and scaling does not happen.
I see the below message on adapter logs
Both HPA (sqs-consumer-scaler) and ExternalMetric (sqs-helloworld-length) are installed on the same namespace as app. Here in this case perf
What would be the reason for this failure?
The text was updated successfully, but these errors were encountered: