fix(bug): Ensure windows agent stability using hubble/legacy helm values #1128
+12
−6
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
This PR aims to fix the stability of the retina windows agent. There were 4 causes identified and each commit resolves one respectively.
Telemetry enabled also causes the agent to panic if application insights is not defined. User can change the config map as desired but default values should not cause the agent to crash (3rd commit)
kubeconfig
file cannot be found for the legacy chart values. Executing thesetkubeconfigpath.ps1
was required for the container setup (4th commit).Update:
It was later found that the missing
kubeconfig
error only exists on redeploy if the initial retina was before this change (#1118). A later GH issue was created - #1138Related Issue
#1122
Checklist
git commit -S -s ...
). See this documentation on signing commits.Screenshots (if applicable) or Testing Completed
Each commit corresponding image was built and tested on the cluster to confirm each fix works!
Additional Notes
First three problems were experienced when deploying retina using the hubble path and the last issue was experienced when deploying retina using the legacy path
Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.