-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[FEATURE REQ] Support Azure IMDS with spring #23424
Comments
IMDS also provides a Swagger specification which could be leveraged by our code generators to create the public API to support this functionality. Though it may not be required to use the Swagger specification to create this functionality, it'll just help greatly and also may provide a better ability to offer multi-version support. This still leaves an open question on where the functionality should live. There are a few potential solutions:
|
@sandeep-sen volunteered to design this feature request; and get agreement on the capabilities with @stliu in Nickel+, before we commit to implementing it in Copper semester. |
Another design consideration, IMDS has rate limiting which restricts to 5 requests per second, except for Managed Identity which is limited to 20 per seconds with 5 concurrent calls. In the case of rate limiting a 429 response will be returned which will allow for the appropriate back-off to be applied, but this still causes difficulties as there isn't a guarantee that our calls will be the only made. |
@stliu could provide a list of metadata you need. It would be helpful if you break the list into 2 sections |
@sandeep-sen are you able to get this spec complete for April so devs can pick this up in early Copper? |
actually that's exactly our sdk should consider support this, either option list here is fine #23424 (comment) |
@sandeep-sen I like @alzimmermsft suggestion, probably we should just provide all of IMDS has, since we don't know exactly which customer wants and wich customer doesn't |
@alzimmermsft we should create a new plugin library, similar to |
@sandeep-sen Can you check to see if this should be done cross-language, and if so, get the work prioritised as appropriate? Thanks |
Requirement
Next StepsCreate a MVP interfaces and review with spring team. Once spring team has approved push for arch board review MVP@lmolkova's proposal: @stliu's and @saragluna's proposal: Estimated Cost
References |
@srnagar is checking with arch board if any other language has a requirement to expose instance metadata |
Currently, there's no plan to support track 2 Azure IMDS library. If Spring libraries need this, we can generate the client from AutoRest and include it in the |
merging billing fix to public repo (Azure#23424) Co-authored-by: Gaurav Bang <gauravbang@microsoft.com>
Azure IMDS provides various useful metadata for applications, and we should have a property source to consume them and provide to customer application
The text was updated successfully, but these errors were encountered: