xion
1
kubesphere v4.1.2
# 下载 ks-core
wget https://github.com/bookgh/helm-charts/raw/refs/heads/gh-pages/main/ks-core-1.1.4.tgz
# 部署 KubeSphere(注意更换 redis持久化存储 openebs-hostpath,或不启用 ha)
helm upgrade --install -n kubesphere-system \
--create-namespace ks-core ks-core-1.1.4.tgz \
--set global.imageRegistry=swr.cn-east-2.myhuaweicloud.com/ks \
--set extension.imageRegistry=swr.cn-east-2.myhuaweicloud.com/ks \
--set console.nodePort=30880 \
--set ha.enabled=true \
--set redisHA.enabled=true \
--set redisHA.persistentVolume.storageClass=openebs-hostpath \
--debug \
--wait
kubesphere v4.1.3
# 下载 ks-core
wget https://github.com/bookgh/helm-charts/raw/refs/heads/gh-pages/main/ks-core-1.1.5.tgz
# 部署 KubeSphere(注意更换 redis持久化存储 openebs-hostpath,或不启用 ha)
helm upgrade --install -n kubesphere-system \
--create-namespace ks-core ks-core-1.1.5.tgz \
--set global.imageRegistry=swr.cn-east-2.myhuaweicloud.com/ks \
--set extension.imageRegistry=swr.cn-east-2.myhuaweicloud.com/ks \
--set console.nodePort=30880 \
--set ha.enabled=true \
--set redisHA.enabled=true \
--set redisHA.persistentVolume.storageClass=openebs-hostpath \
--debug \
--wait
kubesphere v4.2.x(不推荐/需要License授权)
chart=oci://hub.kubesphere.com.cn/kse/ks-core
version=1.2.3
helm upgrade --install -n kubesphere-system \
--create-namespace ks-core $chart --debug --wait \
--version $version --reset-values --set extension.imageRegistry=swr.cn-north-9.myhuaweicloud.com/ks \
--set ha.enabled=true \
--set redisHA.enabled=true \
--debug \
--wait
xion
3
安装示例是启用高可用模式,如果不需要高可用模式参考以下命令
# 下载 ks-core
wget https://github.com/bookgh/helm-charts/raw/refs/heads/gh-pages/main/ks-core-1.1.4.tgz
# 部署 KubeSphere v4.1.2
helm upgrade --install -n kubesphere-system \
--create-namespace ks-core ks-core-1.1.4.tgz \
--set global.imageRegistry=swr.cn-east-2.myhuaweicloud.com/ks \
--set extension.imageRegistry=swr.cn-east-2.myhuaweicloud.com/ks \
--set console.nodePort=30880 \
--debug \
--wait