-
Notifications
You must be signed in to change notification settings - Fork 377
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
feat(scale): support scale the resource not restart pod #645
Conversation
Codecov Report
@@ Coverage Diff @@
## master #645 +/- ##
=======================================
Coverage 10.65% 10.65%
=======================================
Files 863 863
Lines 81726 81726
=======================================
Hits 8709 8709
Misses 72098 72098
Partials 919 919
|
@@ -33,6 +33,9 @@ func (s *ServiceGroupImpl) Scale(sg *apistructs.ServiceGroup) (apistructs.Servic | |||
if len(sg.Services) != 1 { | |||
return apistructs.ServiceGroup{}, fmt.Errorf("services count more than 1") | |||
} | |||
if oldSg.ProjectNamespace != "" { |
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.
add annotation
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.
/approve
/cherry-pick release/1.0 |
Automated cherry pick failed, please resolve the confilcts and create PR manually.
|
What type of this PR
Add one of the following kinds:
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Specified Reviewers:
/assign @your-reviewer
Need cherry-pick to release versions?
Add comment like
/cherry-pick release/1.0
when this PR is merged.