-
Notifications
You must be signed in to change notification settings - Fork 72
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
bugfix: Filter rs that are not part of the current Deployement #191
Conversation
Welcome @zhengjr9! It looks like this is your first PR to openkruise/rollouts 🎉 |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #191 +/- ##
=======================================
Coverage 43.39% 43.40%
=======================================
Files 52 52
Lines 5666 5674 +8
=======================================
+ Hits 2459 2463 +4
- Misses 2784 2786 +2
- Partials 423 425 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@zhengjr9 Have you met this problem ever? |
The DCO failed. Please |
yes,if i had 2 deploy which they has the same selector in the same namespace,the rollout controller while scale down and up another deploy that i didn't update it.that is the logs when i didn't update this deploy but it have relate a rollout.
|
f4562ec
to
df5d596
Compare
// select rs owner by current deployment | ||
ownedRSs := make([]*apps.ReplicaSet, 0) | ||
for _, rs := range allRSs { | ||
if rs.DeletionTimestamp.IsZero() { |
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.
if !rs.DeletionTimestamp.IsZero() {
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.
sorry,it was a silly mistake
f867f18
to
48c4c8f
Compare
Signed-off-by: zhengjr <[email protected]>
|
48c4c8f
to
4dcbc42
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: veophi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…ruise#191) Signed-off-by: zhengjr <[email protected]>
…ruise#191) Signed-off-by: zhengjr <[email protected]>
Ⅰ. Describe what this PR does
If the selectors of multiple deployments are the same, subsequent tuner operations will be performed to rs that is not the current deployment, resulting in frequent scale-up and scale -down releases