Git Product home page Git Product logo

Comments (1)

ZhuoZhuoCrayon avatar ZhuoZhuoCrayon commented on June 18, 2024

文件分发 & 存储 支持制品库预研

影响范围

  • Agent & Plugin 挂载 NFS 路径(/data/bkee/public/bknodeman/)的存储 及 下载
  • 作业平台文件分发
  • Agent手动安装curl获取安装包

Agent

wecom-temp-c5d4e2501bc9fbe918a6d2bdf8336f82

Plugin NFS

wecom-temp-2a701eefb38ca959f1ef7d4b0fbb1221

作业平台文件分发

wecom-temp-b6a34badae8c04be15e6f171c8b7c8cd

实现方案

通过环境变量配置文件「读取」& 「保存」的 存储类型

  • 抽象存储系统API:计划使用 -> File storage API
  • 根据环境变量返回 FileStorageClass

保持NFS & 对象存储 挂载路径的一致性

  • 保持原有路径 /data/bkee/public/bknodeman/ 不变
  • 服务器文件一次性迁移到对象存储平台,即可完成从NFS -> 对象存储的替换,无需关注DB层面

待定:抽象作业平台分发文件相关API

  • 分发路径不变的情况下,source的定义、job的版本有区分
  • 在各个业务逻辑分散实现,不利于代码维护

@zhangzhw8 @xyjunco

from bk-nodeman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.