文档/初始化配置预设

初始化配置预设#

Profile 是 Manager 初始化预设。普通工作节点加入不使用 profile,应在各节点运行 luma node join ... --region <cn|global|home|custom> --name <node-name>。自定义区域用 luma region create 创建。

single-node#

在一台公共服务器运行:

用法:

luma bootstrap --domain luma.example.com --profile single-node

cn-edge#

中国大陆公共边缘节点:

工作节点区域#

工作节点采用区域优先的加入方式:

luma node join https://luma.example.com --token <node-join-token> --region cn --name cn-worker-1
luma node join https://luma.example.com --token <node-join-token> --region global --name global-sg-1
luma node join https://luma.example.com --token <node-join-token> --region home --name home-mac-mini