Skip to content
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

recreate pod when qos changed #1866

Merged
merged 1 commit into from
Dec 23, 2024
Merged

Conversation

ABNER-1
Copy link
Member

@ABNER-1 ABNER-1 commented Dec 20, 2024

Ⅰ. Describe what this PR does

fixes #1212

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.31%. Comparing base (0d0031a) to head (99fe7c4).
Report is 133 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1866      +/-   ##
==========================================
+ Coverage   47.91%   50.31%   +2.39%     
==========================================
  Files         162      193      +31     
  Lines       23491    24891    +1400     
==========================================
+ Hits        11256    12523    +1267     
- Misses      11014    11079      +65     
- Partials     1221     1289      +68     
Flag Coverage Δ
unittests 50.31% <100.00%> (+2.39%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Spec: *oldTemp.Spec.DeepCopy(),
}
newPod := &v1.Pod{
Spec: *newTemp.Spec.DeepCopy(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is deepcopy really necessary?

test/e2e/apps/cloneset.go Show resolved Hide resolved
Copy link
Member

@furykerry furykerry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@furykerry furykerry merged commit d25416f into openkruise:master Dec 23, 2024
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request] In-place udpate support resources
2 participants