问题背景与现状
在控制台 Kubernetes 集群接入弹窗(/clusters 与 /kubernetes)中,点击创建接入后,弹窗仅展示了 helm upgrade --install ongrid-edge ... 应用安装命令。
在全新的 Linux 节点或精简容器主机上,通常并未预装 Helm CLI 工具。用户直接复制运行该命令时会报错 helm: command not found,导致集群纳管流程中断。
优化建议与方案
建议将弹窗中的执行引导明确拆分为两个步骤,并分别提供独立的一键复制操作:
- 安装Helm命令(执行一次):
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
2.安装应用命令(执行一次):
helm upgrade --install ongrid-edge 'oci://helm.cnb.cool/ongridio/ongrid-edge' --version '0.17.4' --namespace ongrid-system --create-namespace ...
为每张命令卡片配备独立的一键复制按钮及复制成功状态反馈。
问题背景与现状
在控制台 Kubernetes 集群接入弹窗(
/clusters与/kubernetes)中,点击创建接入后,弹窗仅展示了helm upgrade --install ongrid-edge ...应用安装命令。在全新的 Linux 节点或精简容器主机上,通常并未预装 Helm CLI 工具。用户直接复制运行该命令时会报错
helm: command not found,导致集群纳管流程中断。优化建议与方案
建议将弹窗中的执行引导明确拆分为两个步骤,并分别提供独立的一键复制操作:
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash2.安装应用命令(执行一次):
helm upgrade --install ongrid-edge 'oci://helm.cnb.cool/ongridio/ongrid-edge' --version '0.17.4' --namespace ongrid-system --create-namespace ...
为每张命令卡片配备独立的一键复制按钮及复制成功状态反馈。