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

feat: SidecarSet updateStrategy support priorityStrategy #1325

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

y-ykcir
Copy link
Contributor

@y-ykcir y-ykcir commented Jun 29, 2023

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

fixed #1313

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

@kruise-bot kruise-bot added the size/L size/L: 100-499 label Jun 29, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2023

Codecov Report

Merging #1325 (e884b53) into master (6ca91fe) will increase coverage by 0.00%.
The diff coverage is 57.14%.

❗ 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    #1325   +/-   ##
=======================================
  Coverage   48.54%   48.54%           
=======================================
  Files         152      152           
  Lines       21240    21246    +6     
=======================================
+ Hits        10310    10313    +3     
- Misses       9801     9803    +2     
- Partials     1129     1130    +1     
Flag Coverage Δ
unittests 48.54% <57.14%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...set/validating/sidecarset_create_update_handler.go 58.52% <0.00%> (-0.53%) ⬇️
pkg/controller/sidecarset/sidecarset_strategy.go 90.07% <100.00%> (+0.23%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: ricky <yricky509@gmail.com>
@zmberg
Copy link
Member

zmberg commented Jun 30, 2023

@y-ykcir Can you add some UT for this feature?

Signed-off-by: ricky <yricky509@gmail.com>
@y-ykcir
Copy link
Contributor Author

y-ykcir commented Jul 1, 2023

@zmberg done PTAL.

@zmberg
Copy link
Member

zmberg commented Jul 4, 2023

/lgtm

@zmberg
Copy link
Member

zmberg commented Jul 4, 2023

/approve

@kruise-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zmberg

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kruise-bot kruise-bot merged commit 5e8a991 into openkruise:master Jul 4, 2023
21 checks passed
diannaowa pushed a commit to diannaowa/kruise that referenced this pull request Aug 29, 2023
…1325)

* feat: SidecarSet updateStrategy support priorityStrategy

Signed-off-by: ricky <yricky509@gmail.com>

* add ut for sidecarset priority strategy

Signed-off-by: ricky <yricky509@gmail.com>

---------

Signed-off-by: ricky <yricky509@gmail.com>
lilongfeng0902 pushed a commit to lilongfeng0902/kruise that referenced this pull request Sep 12, 2023
…1325)

* feat: SidecarSet updateStrategy support priorityStrategy

Signed-off-by: ricky <yricky509@gmail.com>

* add ut for sidecarset priority strategy

Signed-off-by: ricky <yricky509@gmail.com>

---------

Signed-off-by: ricky <yricky509@gmail.com>
ppbits pushed a commit to ppbits/kruise that referenced this pull request Apr 4, 2024
…1325)

* feat: SidecarSet updateStrategy support priorityStrategy


* add ut for sidecarset priority strategy


---------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request] SidecarSet updateStrategy support priorityStrategy
4 participants