-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Use remote Kustomize base for deploying AKS Periscope #4904
Conversation
AKS |
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.
☕️💡 LGTM , as long as it’s tested, which is the case 🙏❤️
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.
LGTM
Could you add some tests for these change? |
Please add the description in history notes |
I'm attempting to add a test now, but running into the issue that the command is interactive (there are a couple of prompts: one to confirm the user consents to the operation, and one to find out whether the user wishes to see the analysis results). The common approach to avoid this seems to be to add a
All in all, this change seems to entail a non-trivial bit of design work that's not relevant to the intent of the original PR. Should we address this (and add the test) in a separate PR? @zhoxing-ms, @FumingZhang, @Tatsinnit for thoughts. |
LGTM |
Yeah, would appreciate if you could add some unit test for these commands, since they are not related to ARM resource, I suppose live/e2e test based on vcr/recording is not suitable. |
Discussed with @FumingZhang offline: we will work on one or two follow-up PRs to shuffle the code around (modelled on the recent Further discussion may be required on whether the 'live' tests are necessary/appropriate. |
@zhoxing-ms, @FumingZhang: Added a live test to cover the |
d0e780c
to
dea2434
Compare
The latest Periscope release provides a Kustomize base file for deploying Periscope with Windows support.
These changes make use of Kustomize to remove the need for magic string replacement, and minimize the required changes to az-cli when new Periscope versions are released (we'll only have to update the release version and image tag, not the entire deployment yaml).
NOTE: the minimum supported kubectl version for Kustomize is 1.14 (released March 2019).
cc. @Tatsinnit, @FumingZhang
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json
.