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

add proposal about supporting predownload in vk #1842

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ABNER-1
Copy link
Member

@ABNER-1 ABNER-1 commented Dec 1, 2024

Ⅰ. Describe what this PR does

add proposal about supporting predownload in vk

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

@ABNER-1 ABNER-1 force-pushed the proposal/support_predownload_in_vk branch from 5183486 to 52cd03f Compare December 1, 2024 02:20
Copy link

codecov bot commented Dec 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.95%. Comparing base (0d0031a) to head (a2d20d7).
Report is 128 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1842      +/-   ##
==========================================
+ Coverage   47.91%   49.95%   +2.04%     
==========================================
  Files         162      192      +30     
  Lines       23491    24668    +1177     
==========================================
+ Hits        11256    12324    +1068     
- Misses      11014    11067      +53     
- Partials     1221     1277      +56     
Flag Coverage Δ
unittests 49.95% <ø> (+2.04%) ⬆️

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.

对于用户在 ImageListPullJob 指定的镜像,我们根据指定的镜像创建一个临时pod,并从该pod上进行预热。

1. 增加一个字段标识是否需要在 vk 上进行预热
计划在已有的 ImageListPullJob CR 上增加一个字段 `spec.predownloadInVK`,用于标识是否需要在 vk 上进行预热
Copy link
Member

Choose a reason for hiding this comment

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

it is not necessary to add new field, a featuregate should suffice

Copy link
Member Author

@ABNER-1 ABNER-1 Dec 3, 2024

Choose a reason for hiding this comment

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

I believe that in a large cluster, there may be many imageLists that require pre-download, but not necessarily all imageList need to pre-download in VK.
Generally, there are only few images will be cached, like 20 in ECI.
So it is reasonable to allow users to enable or disable it.

docs/proposals/20241127-predownload-in-vk-zh.md Outdated Show resolved Hide resolved
docs/proposals/20241127-predownload-in-vk-zh.md Outdated Show resolved Hide resolved
@ABNER-1 ABNER-1 force-pushed the proposal/support_predownload_in_vk branch from 52cd03f to 5ee31ae Compare December 3, 2024 03:53
Signed-off-by: Abner-1 <yuanyuxing.yyx@alibaba-inc.com>
@ABNER-1 ABNER-1 force-pushed the proposal/support_predownload_in_vk branch from 5ee31ae to 351c7a3 Compare December 3, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants