kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.36k stars 550 forks source link

Qingcloud CSI is not upgraded when upgrading from 1.16.7/KS2.1.1->1.18.6/KS3.0.0 #249

Closed Ma-Dan closed 4 years ago

Ma-Dan commented 4 years ago

Install KS2.1.1 will install old version of Qingcloud CSI, upgraded with kk to KS 3.0.0, Qingcloud CSI is not upgraded, this will result to user creation ReadWriteMany(RWX) volume pending in KS 3.0.0 image

pixiake commented 4 years ago

Qingcloud-csi's documentation can be refered to for update qingcloud-csi. https://github.com/yunify/qingcloud-csi

Ma-Dan commented 4 years ago

Run the following commands to upgrade Qingcloud CSI manually

git clone https://github.com/yunify/qingcloud-csi.git
cd qingcloud-csi/
git checkout v1.1.1
kubectl delete -f  deploy/disk/kubernetes/releases/qingcloud-csi-disk-v1.1.1.yaml
kubectl delete sc csi-qingcloud

helm repo add test https://charts.kubesphere.io/test
helm install test/csi-qingcloud --name-template csi-qingcloud --namespace kube-system \
--set config.qy_access_key_id=KEY,config.qy_secret_access_key=SECRET,config.zone=ZONE,sc.type=2
min-zh commented 4 years ago

/kind need-to-verify

Ma-Dan commented 4 years ago

Manual qingcloud-csi upgrading verified