-
Notifications
You must be signed in to change notification settings - Fork 97
Adapter authorization issue #44
Comments
@rbrigden -- I had same problem, but fixed by adding
Obviously, this still needs to be fixed in the manifest. |
the usage of configmap had been removed, which version are you using? |
@chankh -- I'm using:
which matches: https://github.com/awslabs/k8s-cloudwatch-adapter/blob/master/deploy/adapter.yaml |
@chankh -- Oh, good catch... Yes, I added a
Is |
By default the adapter will try to get the region from EC2 metadata API, unless you are getting metrics from a different region, you should not need to specify |
@chankh -- I still get the following error:
|
@lanecm seems like the adapter is trying to get configmap |
@chankh -- Searching for
Might be a problem with the identical named rolebindings? |
@lanecm I've check the configs from other adapters as well, they all seems to be sharing the
looks like the permissions should be granted there |
@chankh I am also getting same error with eks 1.14
If I try to add configmaps permission to resources as @lanecm suggested to
Any ideas? |
@patelronak I fixed it error message after grant extension-apiserver-authentication-reader permissions.
|
@acgs771126 thank you very much for that insight. I was able to get over that error but pods are still not scaling and I do not see any errors in any of the logs. I am seeing
The hpa config looks correct to me
|
I was able to resolve the above error by using helm deployment instead of the adapter.yaml file deployment for the adapter. |
what is your external metric setting? |
When I check the logs with
kubectl -n custom-metrics logs -l=app=k8s-cloudwatch-adapter
, the following error message is firing off repeatedlyThe text was updated successfully, but these errors were encountered: