-
Notifications
You must be signed in to change notification settings - Fork 178
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
New environment variable to expose informers details in json format #456
New environment variable to expose informers details in json format #456
Conversation
waiting for #441 |
56f3e82
to
ab49b25
Compare
Hey @SchSeba as #441 was merged could you rebase your PR ? i wonder if we should look at a different way of implementing this. this is related to: #303 in this case, we may expose the information i a bit of a different way than whats proposed here.
WDYT ? |
ab49b25
to
8c1562f
Compare
Pull Request Test Coverage Report for Build 4016059018Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
I can try to implement it that way sure. A bit more complicated but It may be nicer :)
I must say I have a problem with the structured format as it will be more complicated for the applications that want to use it for example instead of just using pure bash
they will need to install jq for the parsing In general, I don't expect a large number of extra env variables here. |
cool ! thx :)
yes
i dont think we will hit issues max size is quite large. |
4202525
to
8a632b6
Compare
Example in the cover message (1st message) is not accurate as it does not reflect the added env keys and values ("token": "test" and "bla": 1) also could you update commit message to reflect changes done by this PR ?
Also since the first iteration, i think we should change the topic of this PR as we essentially introduce a single new env variable which contains additional information about allocated devices. we then introduce a new info provider that adds information into this env variable. |
just an initial review. i still need to dig deeper into this. thx for working on it @SchSeba ! |
3fe60a8
to
7ce7d18
Compare
@adrianchiris when you have time please give another look |
8cf2d66
to
70a98b9
Compare
4c84f66
to
049b676
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replied on current comments. will now review again
Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
049b676
to
d9774d3
Compare
Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
d9774d3
to
ffb8e3e
Compare
Hi @adrianchiris when you have time please give it another review I hope now it's in a final state to get merge :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one (minor) comment otherwise LGTM
Merging this one. @SchSeba if you could followup with a PR to adjust the comment (to address the last open issue here) once you are back :) |
This commit adds support for the sriov-device-plugin to inject extra env variables
example:
inside the container:
to access the info the container the user can use something like jq
Signed-off-by: Sebastian Sch [email protected]