This commit is contained in:
12600k-rog-d4
2026-08-24 00:35:30 +08:00
parent 32b308bc08
commit b673ed62f9
24 changed files with 483 additions and 393 deletions

View File

@@ -24,8 +24,11 @@ stress:
disk_dir: "" # 磁盘压测目录,空=自动临时目录
temp_interval: 10s # 温度采样间隔
temp_limit: 90 # 温度上限(°C)超过判失败0=不判定
auto_install: true # 缺工具时在线安装apt/dnf/yum 等),需要目标机可联网
use_mirror: false # 在线安装是否切换国内镜像源(清华TUNA)。国内网络卡顿/超时再改 true
# --- Docker 镜像(压测统一在容器中执行,工具与脚本预装在镜像里)---
# 固定分发模式:目标机无镜像时,上传本地导出的 tar 并 docker load不依赖 registry
docker_image: "stress-test:latest" # 压测镜像名,镜像维护见 docker/stress-test/
docker_tar: "docker/stress-test/stress-test.tar" # 本地镜像文件docker save -o 导出)
docker_args: "--network=host --privileged" # Docker 运行参数,--privileged 可访问完整资源
# --- 工作流 ---
workflow: