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

webhook: add node webhook for resource amplification #1785

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

hormes
Copy link
Member

@hormes hormes commented Dec 21, 2023

ref #1539

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 38 lines in your changes are missing coverage. Please review.

Comparison is base (437ed19) 66.42% compared to head (d2c28e8) 66.97%.
Report is 28 commits behind head on main.

Files Patch % Lines
...ns/resourceamplification/resource_amplification.go 72.15% 19 Missing and 3 partials ⚠️
pkg/webhook/node/mutating/mutating_handler.go 69.81% 11 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1785      +/-   ##
==========================================
+ Coverage   66.42%   66.97%   +0.54%     
==========================================
  Files         396      406      +10     
  Lines       43720    45445    +1725     
==========================================
+ Hits        29040    30435    +1395     
- Misses      12525    12786     +261     
- Partials     2155     2224      +69     
Flag Coverage Δ
unittests 66.97% <73.42%> (+0.54%) ⬆️

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.

@hormes hormes force-pushed the add_node_webhook branch 2 times, most recently from 40d585e to 73a8c83 Compare December 21, 2023 06:13
@eahydra eahydra changed the title add node webhook for cpu normalization webhook: add node webhook for cpu normalization Dec 26, 2023
@hormes hormes changed the title webhook: add node webhook for cpu normalization webhook: add node webhook for resource amplification Dec 28, 2023
@hormes hormes force-pushed the add_node_webhook branch 2 times, most recently from 0d3ec9c to 82f9abd Compare December 29, 2023 02:30
@ZiMengSheng
Copy link
Contributor

/milestone v1.4

@koordinator-bot koordinator-bot bot added this to the v1.4 milestone Jan 3, 2024
@zqzten
Copy link
Member

zqzten commented Jan 5, 2024

/lgtm

@hormes hormes added the approved label Jan 8, 2024
@eahydra eahydra removed the approved label Jan 8, 2024
Signed-off-by: 逐灵 <fansong.cfs@alibaba-inc.com>
@eahydra
Copy link
Member

eahydra commented Jan 9, 2024

/lgtm
/approve

@hormes hormes added the approved label Jan 9, 2024
@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: eahydra, zqzten

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

@koordinator-bot koordinator-bot bot merged commit c62d869 into koordinator-sh:main Jan 9, 2024
20 checks passed
bowen-intel pushed a commit to kangclzjc/koordinator that referenced this pull request Jan 16, 2024
…1785)

Signed-off-by: 逐灵 <fansong.cfs@alibaba-inc.com>
ls-2018 pushed a commit to ls-2018/koordinator that referenced this pull request Mar 25, 2024
…1785)

Signed-off-by: 逐灵 <fansong.cfs@alibaba-inc.com>
yangfeiyu20102011 pushed a commit to yangfeiyu20102011/koordinator that referenced this pull request Jul 29, 2024
…inator-sh#1785)

Signed-off-by: 逐灵 <fansong.cfs@alibaba-inc.com>

fix conflicts in
- apis/extension/node_resource_amplification.go
- apis/extension/node_resource_amplification_test.go
- pkg/slo-controller/noderesource/plugins/batchresource/util_test.go
- pkg/webhook/node/plugins/resourceamplification/resource_amplification.go
"k8s.io/api/core/v1".Node in argument to extension.GetNodeRawAllocatable
"k8s.io/api/core/v1".Node in argument to extension.GetNodeResourceAmplificationRatios
- pkg/webhook/node/plugins/resourceamplification/resource_amplification_test.go
GetNodeRawAllocatable
yangfeiyu20102011 pushed a commit to yangfeiyu20102011/koordinator that referenced this pull request Jul 29, 2024
feat: webhook: add node webhook for resource amplification (koordinator-sh#1785)

See merge request cloud/cloud-native/miks/koordinator!87
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.

None yet

4 participants