-
Notifications
You must be signed in to change notification settings - Fork 34
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
Environment Internal Metadata API and CLI #2379
Comments
We have an experimental endpoint that provides information about the environment. |
This is a good start. We just also need to support endpoints to send stuff from the container. IP can be used to key off of like this in the rest URI path. The dumping to the file system is a bad code smell but I guess we can use this info in any way. But I guess this just dumps a huge file with all env info instead of a granualar api ... not a problem for now. We just need to be able to use this interface for applications to send events especially when building long running environment blueprint apps. Can you talk to @absidish and @tjamakeev about this to share your ideas. Thanks. |
I like the idea of depositing the token, with TTL and only using the depositing to an address thing once to make sure it is secure. Can we revisit this stuff when you are around? I want to make sure we can enhance this feature to be robust and support all the things we want to do with it. |
It will be nice also to document exactly how this works now and how it will work later in the future. |
The idea with token based access is this (it is just design but can be implemented based on this):
|
#2379 correcting depiction of quota on UI (->Sysnet)
#2379 correcting depiction of quota on UI (Sysnet->DEv)
#2379 correcting depiction of quota on UI (Dev->Master)
What is it?
This is about making a REST API that is only accessible from within an environment to get environment metadata and to have the environment push events up the stack to its peers and the Bazaar. It will have two parts:
No authentication is needed since the containers making the REST calls are within the
Why?
The facility is a general one. It can be used for any function. Some ideas of what we would like to use it for include:
This was asked for before several times but it never happened.
Precedents
This is not a unique idea. AWS uses this with it's Metadata API. It even has a REST API and a CLI component just as was stated here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
Also note that this API uses a non-routable special address to expose the rest API: http://169.254.169.254/latest/meta-data/
The text was updated successfully, but these errors were encountered: