-
Notifications
You must be signed in to change notification settings - Fork 57
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
[FEATURE] 2.0 Proxy 支持配置临时文件传输路径 #1757
Labels
Comments
GONGONGONG
added a commit
to GONGONGONG/bk-nodeman
that referenced
this issue
Aug 29, 2023
GONGONGONG
added a commit
to GONGONGONG/bk-nodeman
that referenced
this issue
Aug 29, 2023
CohleRustW
added a commit
to CohleRustW/bk-nodeman
that referenced
this issue
Aug 29, 2023
CohleRustW
added a commit
to CohleRustW/bk-nodeman
that referenced
this issue
Sep 5, 2023
GONGONGONG
added a commit
to GONGONGONG/bk-nodeman
that referenced
this issue
Sep 5, 2023
CohleRustW
added a commit
to CohleRustW/bk-nodeman
that referenced
this issue
Sep 5, 2023
是否支持配置重载? |
wyyalt
pushed a commit
that referenced
this issue
Sep 6, 2023
CohleRustW
added a commit
to CohleRustW/bk-nodeman
that referenced
this issue
Sep 6, 2023
wyyalt
pushed a commit
that referenced
this issue
Sep 7, 2023
wyyalt
pushed a commit
that referenced
this issue
Sep 7, 2023
wyyalt
pushed a commit
that referenced
this issue
Sep 7, 2023
wyyalt
pushed a commit
that referenced
this issue
Sep 7, 2023
wyyalt
pushed a commit
that referenced
this issue
Sep 8, 2023
wyyalt
pushed a commit
that referenced
this issue
Sep 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景
大文件传输场景下,/var/ /usr/ 分区空间可能比较小导致磁盘空间满
功能
功能实现
建议的方案
Proxy 的临时文件目录默认放到
/data/gse${GSE版本}_bkte${Agent实例编号,留空表示0}
gse${GSE版本}_bkte${Agent实例编号,留空表示0} 从 Agent 安装路径中取,比如 Agent 安装路径为 /usr/local/gse2_test,取 gse2_test
1.0 渲染逻辑:
apps/backend/subscription/steps/agent_adapter/legacy.py Line 473
2.0 渲染逻辑(需要实现,为了和 1.0 进行区分,2.0 在配置的临时文件目录基础上,加上 file_cache,例如配置路径为 /data/gse2_test,渲染值为 /data/gse2_test/file_cache):
apps/backend/subscription/steps/agent_adapter/config_context/context_helper.py Line 213
前端默认值:
前端的默认值是从 ap.agent_config.linux.data_path 中取的,需要修改,可以考虑接入点返回值中,加一个
file_cache_dirs
的变量,前端表单默认值从这里取实现方案
功能自测
功能点 1
描述代码变更涉及功能点及自测截图
功能点 2
描述代码变更涉及功能点及自测截图
...
The text was updated successfully, but these errors were encountered: