Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Pulling in metrics from multiple AWS accounts #8

Open
johnjeffers opened this issue Jul 31, 2019 · 5 comments
Open

Pulling in metrics from multiple AWS accounts #8

johnjeffers opened this issue Jul 31, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@johnjeffers
Copy link

Is it possible to pull in metrics from multiple AWS accounts? I've tried running multiple copies (using different names) connecting to different AWS accounts, but the last one that starts takes over the external metrics API, so the metrics from the other account are no longer available.

@chankh chankh added the enhancement New feature or request label Aug 6, 2019
@chankh
Copy link
Contributor

chankh commented Aug 6, 2019

It does not work that way, at any one time there can only be one external metrics provider, that's why the last one takes over the API in your case. Right now this adapter does not support pulling metrics from multiple AWS accounts. In fact this is a good suggestion.

@johnjeffers
Copy link
Author

Any progress on this? It would be extremely helpful!

@CarloColumna
Copy link

+1 on this. This feature would be very valuable for us as well.

@mmingorance-dh
Copy link

Would be good if the adapter could use federation to retrieve metrics from other accounts as well.

@mukaibot
Copy link

mukaibot commented Jul 16, 2020

Another +1 here. At my work the PaaS team operates an EKS cluster in account A, but we are encouraged to deploy our application resources (Queues, Topics, databases etc) in separate accounts B-Z. This leads to the frustrating situation of requiring an IAM role that can access things in both accounts, which is a bit harder for us to maintain - there's extra testing and coordination.

If we could get metrics from separate accounts then we could use the HPA to scale Pods based on an SQS queue that lives in a different account, making life much easier for us.

chankh added a commit that referenced this issue Aug 4, 2020
Support cross account and region by specifying `roleArn` and `region`
respectively in the `externalmetric` spec definition. Using a `roleArn`
the adapter will assume into the specified role to retrieve metrics.

Issue: #8, #30
chankh added a commit that referenced this issue Sep 16, 2020
Support cross account and region by specifying `roleArn` and `region`
respectively in the `externalmetric` spec definition. Using a `roleArn`
the adapter will assume into the specified role to retrieve metrics.

Issue: #8, #30
chankh added a commit that referenced this issue Sep 16, 2020
chankh added a commit that referenced this issue Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants