Skip to content

部署问题-部署中提示line 217: sealos: command not found #187

@zhuyifeiRuichuang

Description

@zhuyifeiRuichuang

如下所示,受限中国地区设备网络限制,无法直接拉取脚本,我单独下载脚本到本地后执行部署命令,遇到部署异常。
我当前有四个主机,每个8c16G 300GB.
我该如何排查问题。
完整的本地部署测试文档可以参考哪里。
部署没看到配置主机节点的地方,执行部署命令时,如何知道我有哪些节点参与部署。

root@master1:/opt# SEALOS_V2_CLOUD_VERSION=latest SEALOS_V2_PROXY=true bash ./install.sh 
==========================================================================================================
You are installing the open source version of Sealos Cloud. Some features are missing. 
For full functionality, please purchase the commercial edition: https://sealos.io/contact
==========================================================================================================
 INFO [2025-10-11 15:29:14] >> Using GitHub proxy for downloads. 
 INFO [2025-10-11 15:29:14] >> [Step 1] Environment and dependency checks... 
 ERROR [2025-10-11 15:29:14] >> Environment sealos_cloud_domain is not set. Please set it, e.g.: sealos.io 
root@master1:/opt# SEALOS_V2_CLOUD_DOMAIN=172.16.0.25.nip.io SEALOS_V2_CLOUD_VERSION=latest SEALOS_V2_PROXY=true bash ./install.sh
==========================================================================================================
You are installing the open source version of Sealos Cloud. Some features are missing. 
For full functionality, please purchase the commercial edition: https://sealos.io/contact
==========================================================================================================
 INFO [2025-10-11 15:31:18] >> Using GitHub proxy for downloads. 
 INFO [2025-10-11 15:31:18] >> [Step 1] Environment and dependency checks... 
 INFO [2025-10-11 15:31:18] >> Environment and dependency checks passed. 
 INFO [2025-10-11 15:31:18] >> Sealos CLI is not installed, do you want to install it? (y/n):  
 y
 INFO [2025-10-11 15:31:35] >> Pulling image: ghcr.dockerproxy.net/labring/sealos/kubernetes:v1.28.15 
./install.sh: line 217: sealos: command not found
root@master1:/opt# 
root@master1:/opt# 
root@master1:/opt# 
root@master1:/opt# 
root@master1:/opt# curl -sfL https://raw.githubusercontent.com/labring/sealos/refs/heads/main/scripts/cloud/install-v2.sh | \
  SEALOS_V2_CLOUD_VERSION=latest SEALOS_V2_PROXY=true bash -

root@master1:/opt# 
root@master1:/opt# ll
total 36
drwxr-xr-x  2 root root  4096 Oct 11 15:28 ./
drwxr-xr-x 18 root root  4096 May 20  2022 ../
-rwxr-xr-x  1 root root 24921 Oct 11 15:28 install.sh*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions