Skip to content

scheduler: elastic quota ignore terminating pod#2141

Merged
koordinator-bot[bot] merged 1 commit intokoordinator-sh:mainfrom
shaloulcy:quota_pod_delete
Jul 29, 2024
Merged

scheduler: elastic quota ignore terminating pod#2141
koordinator-bot[bot] merged 1 commit intokoordinator-sh:mainfrom
shaloulcy:quota_pod_delete

Conversation

@shaloulcy
Copy link
Contributor

Ⅰ. Describe what this PR does

pod is deleted gracefully, it may be stuck long time. some user want ignore the pods when using elastic quota

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

@codecov
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 76.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 67.86%. Comparing base (4a182a1) to head (efa1bd5).

Files Patch % Lines
...r/plugins/elasticquota/core/group_quota_manager.go 76.00% 7 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2141      +/-   ##
==========================================
- Coverage   67.87%   67.86%   -0.01%     
==========================================
  Files         441      441              
  Lines       41611    41644      +33     
==========================================
+ Hits        28242    28261      +19     
- Misses      10937    10943       +6     
- Partials     2432     2440       +8     
Flag Coverage Δ
unittests 67.86% <76.00%> (-0.01%) ⬇️

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.

@saintube saintube changed the title elastic quota ignore terminating pod scheduler: elastic quota ignore terminating pod Jul 25, 2024
Signed-off-by: chuanyun.lcy <chuanyun.lcy@alibaba-inc.com>
Copy link
Member

@saintube saintube left a comment

Choose a reason for hiding this comment

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

/lgtm

@hormes
Copy link
Member

hormes commented Jul 26, 2024

/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hormes, saintube

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@koordinator-bot koordinator-bot bot merged commit 6d7b92f into koordinator-sh:main Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants