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

sync podCondition when probe message of probeStates changed #1479

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

chrisliu1995
Copy link
Member

Ⅰ. Describe what this PR does

When the message corresponding to the probeStates of NodePodProbe changes, the pod Condition cannot obtain the latest message because the state remains unchanged.

Therefore, the pod Condition should also be updated when the probe message changed.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

@kruise-bot kruise-bot added the size/S size/S 10-29 label Dec 28, 2023
@chrisliu1995 chrisliu1995 changed the title sync podCondition when probe message of NodePodProbe changed sync podCondition when probe message of probeStates changed Dec 28, 2023
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fa9a9a0) 48.30% compared to head (286f4c2) 48.40%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1479      +/-   ##
==========================================
+ Coverage   48.30%   48.40%   +0.09%     
==========================================
  Files         154      157       +3     
  Lines       21667    22440     +773     
==========================================
+ Hits        10467    10862     +395     
- Misses      10048    10387     +339     
- Partials     1152     1191      +39     
Flag Coverage Δ
unittests 48.40% <100.00%> (+0.09%) ⬆️

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.

@kruise-bot kruise-bot added size/L size/L: 100-499 and removed size/S size/S 10-29 labels Jan 5, 2024
@chrisliu1995 chrisliu1995 force-pushed the probe_condition_sync branch 3 times, most recently from 62b41f4 to b66bc55 Compare January 9, 2024 13:11
@kruise-bot kruise-bot added size/XL size/XL: 500-999 and removed size/L size/L: 100-499 labels Jan 9, 2024
@zmberg zmberg closed this Jan 11, 2024
@zmberg zmberg reopened this Jan 11, 2024
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
@zmberg
Copy link
Member

zmberg commented Jan 11, 2024

/lgtm

@zmberg
Copy link
Member

zmberg commented Jan 11, 2024

/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 30a660b into openkruise:master Jan 11, 2024
27 checks passed
zmberg pushed a commit that referenced this pull request Jan 26, 2024
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
@zmberg zmberg added this to the 1.6 milestone Mar 7, 2024
ppbits pushed a commit to ppbits/kruise that referenced this pull request Apr 4, 2024
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.

3 participants