创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
例如:v18.6。单节点还是多节点。
容器运行时
例如,使用 docker/containerd,版本多少
KubeSphere版本信息
例如:v2.1.1/v3.0.0。离线安装还是在线安装。已有K8s安装还是全套安装。
问题是什么
[root@master1 ~]# ./kk upgrade –with-kubernetes v1.21.5 –with-kubesphere v3.2.1 -f sample.yaml
Error: Failed to download cluster config: Unsupported version: v3.2.1
Usage:
kk upgrade [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 upgrade
--skip-pull-images Skip pre pull images
--with-kubernetes string Specify a supported version of kubernetes
--with-kubesphere Deploy a specific version of kubesphere (default v3.1.0)
Global Flags:
--debug Print detailed information (default true)
--in-cluster Running inside the cluster
Failed to download cluster config: Unsupported version: v3.2.1