Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Tenancy Support #228

Open
dipk-mish7 opened this issue Feb 26, 2025 · 0 comments
Open

Multi Tenancy Support #228

dipk-mish7 opened this issue Feb 26, 2025 · 0 comments

Comments

@dipk-mish7
Copy link

dipk-mish7 commented Feb 26, 2025

Summary

Need support for multiple license keys in the Instrumentation Custom Resource (CR) for teams to send APM data to their respective New Relic accounts.

Desired Behavior

Currently, the Instrumentation Custom Resource (CR) only allows for a single license key to be specified, which is fine for single-account setups. However, in a multi-team environment, where each team uses a different New Relic account with its own license key, this approach doesn’t work. We need a way for the CR to support multiple license keys so that product teams can push APM data to their respective New Relic accounts, while the infrastructure team manages the New Relic Agent Operator and the NRI bundle.

Key Points:

-> Multiple teams, each with its own New Relic account, need to send telemetry data.

-> The infrastructure team installs the NRI bundle and Agent Operator once, but each product team needs to send APM data using their specific license key.

-> The current CR doesn’t allow for multiple license keys, causing a problem where teams can't send data to their accounts.

-> A solution that allows specifying multiple licenseKeySecret entries or dynamically associating telemetry data with the correct account would be ideal.

Possible Argument

--> There can be an argument suggesting this custom resource should be deployed in each namespace ( fulfills our use case because each team have there own dedicated namespace ) and then they can pass whatever licensekeysecret in there CR, not sure if this should be preferred way.

Possible Solution with existing setup

--> Do you recommend we deploy this CR dedicated to a service and pass licensekey to it? For eg in dev namespace lets say we deploy web, app and db as 3 pods.. we can create three crs, like web-cr , app-cr and db-cr and can mention that web-cr should only watch web pod and send telemetry data. This was it can be achieved as well..

Let me know if my understanding in incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant