创建部署问题时,请参考下面模板:
操作系统信息,例如:物理机,Centos7.5

Kubernetes版本信息,v1.20.4 。

KubeSphere版本信息,v3.1.1。新系统安装 使用allinon方式安装。

问题是什么,报错日志是什么,最好有截图。

clusterconfiguration.installer.kubesphere.io/ks-installer unchanged
WARN[12:15:09 CST] Task failed …
WARN[12:15:09 CST] error: KubeSphere startup timeout.
Error: Failed to deploy kubesphere: KubeSphere startup timeout.
Usage:
kk create cluster [flags]

Flags:
–download-cmd string The user defined command to download the necessary binary files. The first param ‘%s’ is output path, the second param ‘%s’, is the URL (default “curl -L -o %s %s”)
-f, –filename string Path to a configuration file
-h, –help help for cluster
–skip-pull-images Skip pre pull images
–with-kubernetes string Specify a supported version of kubernetes (default “v1.19.8”)
–with-kubesphere Deploy a specific version of kubesphere (default v3.1.0)
–with-local-storage Deploy a local PV provisioner
-y, –yes Skip pre-check of the installation

Global Flags:
–debug Print detailed information (default true)
–in-cluster Running inside the cluster

Failed to deploy kubesphere: KubeSphere startup timeout.
您在 /var/spool/mail/root 中有新邮件

不知道和我自己的代理配置是否有关系。。,没开代理很多东西下不动。。
export proxy=“http://192.168.31.116:7890
export http_proxy=$proxy
export https_proxy=$proxy
export no_proxy=‘lb.kubesphere.local,192.168.31.91,localhost,127.0.0.1,localaddress,.localdomain.com’

内存应该是8G
[root@lie-nas ~]# cat /proc/meminfo
MemTotal: 7898424 kB
MemFree: 5397672 kB
MemAvailable: 6292132 kB

cpu信息如下
[root@lie-nas ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
4 Intel® Core™ i5-4210U CPU @ 1.70GHz


磁盘空间应该也还够
[root@lie-nas ~]# df -hl
文件系统 容量 已用 可用 已用% 挂载点
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.8G 0 3.8G 0% /dev/shm
tmpfs 3.8G 12M 3.8G 1% /run
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
/dev/sdb4 103G 4.1G 99G 4% /
/dev/sdb2 1014M 142M 873M 14% /boot
/dev/sdb1 200M 12M 189M 6% /boot/efi

export no_proxy=‘*.local,192.168.31.91,localhost,127.0.0.1,localaddress,.localdomain.com’
然后卸载重装好了。。。玩玩看看。。

    lie5860
    docker运行镜像是通过运行在后台的docker daemon从dockerhub拉取的,因此你在命令行 export 的http_proxy等环境变量并不会生效,dockerd仍然是通过你的本地网络去连接dockerhub,可能因此导致了超时。

    而你等待一段时间再次安装时,可能镜像拉取成功,安装也成功了。