-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add feature flag for setting DT_INITIAL_CONNECT_RETRY_MS
env-var to webhook injected containers
#790
Merged
luhi-DT
merged 8 commits into
master
from
feature/add-option-to-set-initialConnectRetryMs
May 20, 2022
Merged
Add feature flag for setting DT_INITIAL_CONNECT_RETRY_MS
env-var to webhook injected containers
#790
luhi-DT
merged 8 commits into
master
from
feature/add-option-to-set-initialConnectRetryMs
May 20, 2022
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
luhi-DT
changed the title
Add feature flag for setting DT_INITIAL_CONNECT_RETRY_MS env-var to webhook injected containers
Add feature flag for setting ‘DT_INITIAL_CONNECT_RETRY_MS‘ env-var to webhook injected containers
May 19, 2022
luhi-DT
changed the title
Add feature flag for setting ‘DT_INITIAL_CONNECT_RETRY_MS‘ env-var to webhook injected containers
Add feature flag for setting ´DT_INITIAL_CONNECT_RETRY_MS´ env-var to webhook injected containers
May 19, 2022
luhi-DT
changed the title
Add feature flag for setting ´DT_INITIAL_CONNECT_RETRY_MS´ env-var to webhook injected containers
Add feature flag for setting May 19, 2022
DT_INITIAL_CONNECT_RETRY_MS
env-var to webhook injected containers
waodim
previously approved these changes
May 20, 2022
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.
Everything seems fine to me.
mjgrzybek
suggested changes
May 20, 2022
mjgrzybek
reviewed
May 20, 2022
mjgrzybek
approved these changes
May 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
In order to support istio, we need to give customer the possibility to set
DT_INITIAL_CONNECT_RETRY_MS
via the webhook to their containers, in order to delay the startup of the agent. It was decided that it should be a feature flag, rather than tightly coupling it with theenableIstio
field in the CR. Therefore I introduced thefeature.dynatrace.com/oneagent-initial-connect-retry-ms
feature flag, where customers can set the preferred value.How can this be tested?
Create a Dynakube (either with applicationMonitoring or cloudNative) and add the annotation
feature.dynatrace.com/oneagent-initial-connect-retry-ms: "<value>"
to it. Any pod which is injected now should get the env varDT_INITIAL_CONNECT_RETRY_MS
set to its containers, with the according value.Checklist