-
Notifications
You must be signed in to change notification settings - Fork 917
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
Optimization WaitForStatefulSetRollout and WaitForDeploymentRollout #3418
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
abde955
to
a16032c
Compare
/retest |
934bdf9
to
9a386a2
Compare
/ok-to-test |
4aba2ef
to
04f9a70
Compare
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #3418 +/- ##
==========================================
- Coverage 55.22% 55.12% -0.11%
==========================================
Files 221 221
Lines 20831 20870 +39
==========================================
Hits 11504 11504
- Misses 8717 8756 +39
Partials 610 610
Flags with carried forward coverage won't be shown. Click here to find out more.
|
04f9a70
to
8a5814d
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.
Can you explain why we need to do this a little bit?
More accurate status determination and event-dependent waiting instead of violent polling |
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.
More accurate status determination and event-dependent waiting instead of violent polling
Yes, agree, that's the benefit we can get from this. I'd like to invite @yanfeng1992 to take a look as he just optimized this piece of code at #3221.
/cc @yanfeng1992 |
New changes are detected. LGTM label has been removed. |
/retest |
2480ad0
to
b0c0104
Compare
I'm looking at the CLI/init tests. Don't worry about that. |
I previously looked at the updated code is relatively simple, did not do the test in their own environment karmada/pkg/version/release.go Lines 14 to 27 in cd9ca28
But I see that cicd is using the local crds.tar.gz |
Yes, because I tagged a pre-release By the way. I just disabled the |
I found out that the reason for waiting for APIService is that karmada-aggregated-apiserver uses v1.7.0, so it can't pull the image and apiservice By the way request to merge #3415 to reduce the log volume |
The main reason is that when building karmadactl, the latest tag is used as the image version. However, when parsing the |
An idea: use the committed code to build images and crds.tar.gz for testing? @RainbowMango |
It makes sense, now the crd is from the committed code, but images are not. |
ac692ed
to
0332a74
Compare
ping @RainbowMango |
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.
…Use kubernetes-sigs/application judge status Signed-off-by: helen <[email protected]>
0332a74
to
62156ff
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.
I'm hesitant to move this forward because it lacks enough benefits.
My idea is to use as many kubernetes mechanisms as possible to make code more cloud-native and faster. And using watch is cooler than wait. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: