按照官方升级文档进行操作,下载了最新版的kk,然后执行:
./kk upgrade –with-kubernetes v1.21.5 –with-kubesphere v3.2.0 -f config-sample.yaml

最后升级失败,报错信息是:
INFO[16:39:40 CST] Deploying KubeSphere …
v3.2.0
WARN[16:39:42 CST] Currently, the logging function of KubeSphere does not support . If is used, the logging function will be unavailable. node=19.228.63.34
[ccq02063 19.228.63.34] MSG:
namespace/kubesphere-system unchanged
namespace/kubesphere-monitoring-system unchanged
[ccq02063 19.228.63.34] MSG:
namespace/kubesphere-system unchanged
serviceaccount/ks-installer unchanged
customresourcedefinition.apiextensions.k8s.io/clusterconfigurations.installer.kubesphere.io unchanged
clusterrole.rbac.authorization.k8s.io/ks-installer unchanged
clusterrolebinding.rbac.authorization.k8s.io/ks-installer unchanged
deployment.apps/ks-installer unchanged
WARN[17:24:13 CST] Task failed …
WARN[17:24:13 CST] error: KubeSphere startup timeout.
Error: Failed to upgrade kubesphere: KubeSphere startup timeout.
我是在公司内网的服务器上部署的,内网服务器不能直接连接互联网,而是通过配置代理。
第一次安装的时候,配置了代理,使用在线升级的方式,下载下来了所有安装的组件和镜像。最后还是报startup timeout错误。
第二次尝试安装,就取消了服务器的代理,安装到最后还是提示KubeSphere startup timeout.
请问这个问题的原因是什么?是否跟网络和代理有关系,谢谢