86 Star 469 Fork 273

GVPopenEuler / iSulad

 / 详情

[Feature-request] Smart loading for remote images

已拒绝
自定义 成员
创建于  
2020-06-03 10:19

Startgz is an index-able format for tar.gz file, which is introduced by Brad Fitzpatrick. It has the great feature on remote items for pulling-smartly-when-needed. With it, the container creating time could be greatly reduced.

It is already supported by containerd and podman/buildah+fuse-overlayfs+crfs-plugin

As discussed on SIG meeting (meeting notes), next are the works should be done (copied from wiki):

isula-build

  • 支持stargz压缩格式
  • 支持标记镜像格式(MediaType或自定义LABEL)
  • 支持将新格式镜像推送到仓库

@Vanient is working on isula-build

isulad

  • 插件机制支持镜像下载hook
    • 增加plugin_event_image_pre_pull_layer()接口
    • 增加plugin_event_image_post_remove_image()接口
  • 支持仅下载元数据并保存成本地镜像
  • 支持通过现有插件替换容器rootfs

@kelhw is working on it.

SLFS(isulad插件)

  • 支持识别镜像是否为SmartLoading格式
  • 与isulad插件RESTFul对接
    • 支持新增插件接口plugin_event_image_pre_pull_layer()中识别镜像格式
    • 支持现有插件接口plugin_event_container_pre_start()中准备并修改容器rootfs
    • 支持现有插件接口plugin_event_container_post_remove()中删除容器rootfs
    • 支持新增插件接口plugin_event_image_post_remove_image()中删除本地镜像缓存
  • fuse文件系统
    • 实现fuse daemon的read()接口
    • 支持从远端镜像下载文件
      • 支持仓库鉴权
    • 支持本地缓存镜像文件
  • 配置
    • 远端仓库配置
      • 支持远端仓库地址配置
      • 支持远端仓库鉴权配置
    • 支持本地缓存路径、块大小等配置

评论 (4)

jingxiaolu 创建了需求
jingxiaolu 关联仓库设置为openEuler/iSulad
展开全部操作日志

Hey @jingxiaolu, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

openeuler-ci-bot 负责人设置为haomintsai
haomintsai 添加了
 
kind/feature
标签
jingxiaolu 修改了描述
jingxiaolu 修改了描述
jingxiaolu 任务状态新建 修改为开发中

plz assign the task to developers

jingxiaolu 修改了描述

Get the task of isulad and SLFS for the smart loading

haomintsai 添加协作者haomintsai
haomintsai 负责人haomintsai 修改为jingxiaolu
haomintsai 取消协作者haomintsai
jingxiaolu 添加协作者Vanient
jingxiaolu 修改了描述
lifeng_isula 任务状态开发中 修改为已挂起
Yikun 修改了描述
Yikun 修改了描述
haozi007 任务类型需求 修改为自定义
haozi007 任务状态已挂起 修改为待办的
haozi007 任务状态待办的 修改为已拒绝

暂无计划,挂起

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(6)
5329419 openeuler ci bot 1632792936 5595769 duguhaotian 1605235330
C
1
https://gitee.com/openeuler/iSulad.git
git@gitee.com:openeuler/iSulad.git
openeuler
iSulad
iSulad

搜索帮助