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

[YUNIKORN-55] Add pod labels and annotations to allocation ask attributes #107

Merged
merged 3 commits into from Jun 16, 2020

Conversation

adamantal
Copy link

No description provided.

pkg/common/resource.go Outdated Show resolved Hide resolved
pkg/common/resource.go Outdated Show resolved Hide resolved
pkg/common/resource.go Outdated Show resolved Hide resolved
pkg/common/resource_test.go Outdated Show resolved Hide resolved
pkg/common/resource.go Outdated Show resolved Hide resolved
pkg/common/resource.go Outdated Show resolved Hide resolved
pkg/common/resource.go Outdated Show resolved Hide resolved
@adamantal
Copy link
Author

Updated the PR with your review items.

Right now all the labels and annotation have been dropped off from the patch. This doesn't really make sense without at least a few of them, so @yangwwei @wilfred-s could you please list a few of them that we are going to need in the scheduler-core side?

Thanks!

@adamantal
Copy link
Author

Updated the PR with the offline comments. Please don't merge until YUNIKORN-135 and the SI part of this issue is pushed.

@adamantal
Copy link
Author

Using the constants from SI side. Please review apache/yunikorn-scheduler-interface#20 first.

@adamantal
Copy link
Author

Recreated the diff because of YUNIKORN-153.

@yangwwei @wilfred-s could you please review?

@yangwwei
Copy link
Contributor

hi @adamantal could you please rebase this as apache/yunikorn-scheduler-interface#20 now is merged.

@adamantal
Copy link
Author

Thanks @yangwwei for reminding me. Rebased the patch, pending on jenkins.

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2020

Codecov Report

Merging #107 into master will increase coverage by 0.51%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   53.13%   53.65%   +0.51%     
==========================================
  Files          32       32              
  Lines        3030     3040      +10     
==========================================
+ Hits         1610     1631      +21     
+ Misses       1357     1346      -11     
  Partials       63       63              
Impacted Files Coverage Δ
pkg/cache/task.go 60.16% <100.00%> (ø)
pkg/common/si_helper.go 56.04% <100.00%> (+21.47%) ⬆️
pkg/dispatcher/dispatcher.go 85.32% <0.00%> (-1.84%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ace5f8b...fb6be8e. Read the comment docs.

pkg/common/si_helper.go Outdated Show resolved Hide resolved
pkg/common/si_helper.go Outdated Show resolved Hide resolved
@adamantal
Copy link
Author

When reimplemented the patch, somehow some commits got lots (like use the constants from the SI change and to remove the annotations).
Readded the changes and fixed the review items.

@yangwwei yangwwei merged commit 903efa7 into apache:master Jun 16, 2020
@adamantal
Copy link
Author

Thanks for merging this @yangwwei

@adamantal adamantal deleted the YUNIKORN-55 branch June 17, 2020 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants