This repository has been archived by the owner on Dec 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Adds first version of krustlet based agent implementation #18
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…mitations of the config parsing that Krustlet does. Krustlet does not allow building a config from scratch by just specifying a few values, so we override some values by setting environment variables from our config - BUT: it is not currently possible to specify command line parameters when starting the agent, as the Krustlet will also try to parse these and doesn't know about them, so the only possible way to pass arguments is currently via exporting a config file in the CONFIG_FILE env variable and specifying all arguments in there. An example has been added in config/agent_config
…mitations of the config parsing that Krustlet does. Krustlet does not allow building a config from scratch by just specifying a few values, so we override some values by setting environment variables from our config - BUT: it is not currently possible to specify command line parameters when starting the agent, as the Krustlet will also try to parse these and doesn't know about them, so the only possible way to pass arguments is currently via exporting a config file in the CONFIG_FILE env variable and specifying all arguments in there. An example has been added in config/agent_config
This was
linked to
issues
Nov 26, 2020
lfrancke
suggested changes
Nov 26, 2020
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.
Not done yet with the review.
Will continue tomorrow.
lfrancke
suggested changes
Nov 27, 2020
lfrancke
suggested changes
Dec 1, 2020
lfrancke
reviewed
Dec 1, 2020
lfrancke
suggested changes
Dec 2, 2020
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.
Almost there 👍
There are also still a few things open/unresolved from past reviews.
One remaining for dead code, but this is called from a test case.
lfrancke
approved these changes
Dec 2, 2020
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.
Looks good! Thank you!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the first code drop for the agent version that has been based on the Krustlet code.
Implemented functionality is: