mc support upload
Description
mc support upload 将文件从本地文件系统复制到 SUBNET 工单。
需要完成 SUBNET 注册
mc support 命令面向已在 MinIO SUBNET 注册的 MinIO 部署设计,以确保诊断和
性能测试获得最佳结果。
未注册 SUBNET 的部署无法使用 mc support 命令。
Syntax
mc support profile 命令具有以下语法:
mc [GLOBALFLAGS] support profile \
ALIAS \
FILE \
[--comment "string"] \
[--enc] \
[--issue integer]
Parameters
- ALIAS
- Required
MinIO 部署的 alias。
Global Flags
此命令支持 全局标志 中的任意选项。
Examples
Upload a file to an issue
此命令将本地文件系统中的文件 ./trace.log 上传到别名为 minio1 的部署对应的 SUBNET issue 10001。
mc support upload --issue 10001 minio1 ./trace.log
Upload a file to an issue with a comment for MinIO Engineers
此命令将本地文件系统中的文件 ./trace.log 上传到别名为 minio1 的部署对应的 SUBNET issue 10001。
该命令还会附加一条关于该文件的注释,供 MinIO Engineers 查看。
mc support upload --issue 10001 --comment "here is the requested trace log" minio1 ./trace.log