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

perf: 容器化宿主机路径与PV使用策略调整 #1782

Closed
jsonwan opened this issue Mar 1, 2023 · 2 comments
Closed

perf: 容器化宿主机路径与PV使用策略调整 #1782

jsonwan opened this issue Mar 1, 2023 · 2 comments
Assignees
Labels
done 已上线到正式环境并验收通过 kind/enhancement 功能改进特性

Comments

@jsonwan
Copy link
Collaborator

jsonwan commented Mar 1, 2023

支持不创建local PV

@jsonwan jsonwan added the kind/enhancement 功能改进特性 label Mar 1, 2023
@jsonwan jsonwan self-assigned this Mar 1, 2023
@jsonwan
Copy link
Collaborator Author

jsonwan commented Sep 4, 2023

由于文件分发依赖母机上的Agent与路径,因此HostPath是避免不了的,localPV是必须要创建的,但是localPV只因当被使用Agent的服务强依赖,其余服务存储临时文件时应当依赖抽象的PV,默认使用HostPath存储在母机,但是也要支持配置NFS以便于统一管理临时文件,防止散落在各个母机难以清理。

@jsonwan
Copy link
Collaborator Author

jsonwan commented Sep 15, 2023

分发能力依赖宿主机Agent与IP,只能HostPath,因此无需抽象为PV了。
临时文件的存储可以抽象为PVC+PV实现支持HostPath/NFS。

jsonwan added a commit to jsonwan/bk-job that referenced this issue Sep 18, 2023
分离分发对HostPath的依赖与临时文件对存储的依赖,支持分别配置。
jsonwan added a commit to jsonwan/bk-job that referenced this issue Sep 18, 2023
分离分发对HostPath的依赖与临时文件对存储的依赖,支持分别配置。
jsonwan added a commit to jsonwan/bk-job that referenced this issue Sep 18, 2023
wangyu096 added a commit that referenced this issue Sep 18, 2023
perf: 容器化宿主机路径与PV使用策略调整 #1782
@bkjob-bot bkjob-bot added the done 已上线到正式环境并验收通过 label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

2 participants