-
Notifications
You must be signed in to change notification settings - Fork 250
chore: support stopping clusters with flat discrete ordinals #10002
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
Conversation
|
Auto Cherry-pick Instructions |
|
/pick release-1.1 |
3463723 to
7165b64
Compare
7165b64 to
78fe72e
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #10002 +/- ##
==========================================
+ Coverage 51.35% 51.47% +0.12%
==========================================
Files 541 541
Lines 58804 58763 -41
==========================================
+ Hits 30196 30251 +55
+ Misses 25644 25559 -85
+ Partials 2964 2953 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
18a97ce to
6cab44e
Compare
6cab44e to
d17bb75
Compare
| if _, ok := template2OrdinalSetMap[status.Name]; !ok { | ||
| template2OrdinalSetMap[status.Name] = sets.New[int32]() | ||
| // template2OrdinalSetMap[DefaultTemplateName].Insert(its.Status.AssignedOrdinals[DefaultTemplateName].Discrete...) | ||
| // globalUsedOrdinalSet.Insert(its.Status.AssignedOrdinals[DefaultTemplateName].Discrete...) |
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 be removed?
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.
Done.
| } | ||
|
|
||
| func GeneratePodNamesByComp(comp *appsv1.Component) ([]string, error) { | ||
| func GenerateDesiredPodNamesByITS(runningITS, protoITS *workloads.InstanceSet) ([]string, error) { |
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.
GenerateDesiredPodNamesByITS and GeneratePodNamesByITS are very similar names and may be confusing
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.
Rename GeneratePodNamesByITS to GetCurrentPodNamesByITS.
|
/approve |
|
/cherry-pick release-1.1 |
(cherry picked from commit 544c4a0)
|
🤖 says: cherry pick action finished successfully 🎉! |
close #9998