Wiley Wang
Wiley Wang
- As far as I known, for Kubernetes CSI driver, volume ID is generated by storage system or CSI plugin. Volume name is generated by Kubernetes CSI sidecar. https://github.com/kubernetes-csi/external-provisioner/blob/0c56ab07a68cbe7b186d96f2afa8e00b5895066b/pkg/controller/controller.go#L455 -...
If your storage system is only allowed to set volume name, you cloud set volume name to CSI suggested name and regard the volume name as primary key. https://github.com/container-storage-interface/spec/blob/master/spec.md#createvolume ```...
# qingcloud csi v0.2.x ## storage class ``` # kubectl get sc csi-qingcloud -oyaml allowVolumeExpansion: true apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.beta.kubernetes.io/is-default-class":"true","storageclass.kubesphere.io/supported_access_modes":"[\"ReadWriteOnce\"]"},"name":"csi-qingcloud"},"parameters":{"fsType":"ext4","maxSize":"1000","minSize":"10","stepSize":"10","type":"3"},"provisioner":"csi-qingcloud","reclaimPolicy":"Delete"} storageclass.beta.kubernetes.io/is-default-class: "true" storageclass.kubesphere.io/supported_access_modes: '["ReadWriteOnce"]' creationTimestamp:...
# qingcloud csi v1.1.0 ## storage class ``` # kubectl get sc csi-qingcloud -oyaml allowVolumeExpansion: true apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: annotations: storageclass.beta.kubernetes.io/is-default-class: "true" storageclass.kubernetes.io/is-default-class: "true" creationTimestamp: "2019-07-26T20:55:07Z" name: csi-qingcloud...
Cannot edit spec.csi.driver in PV * spec.persistentvolumesource: Forbidden: is immutable after creation Seems that we can't modify PV's spec.csi.driver field https://github.com/kubernetes/kubernetes/blob/825e07d4723be6ebfc96d92ba1d3bc82f06cd307/pkg/apis/core/validation/validation.go#L1838-L1842
How to upgrade to qingcloud csi v1.1.0 1. In Kubernetes v1.14+, please set correct feature-gates https://github.com/yunify/qingcloud-csi/tree/master#installation 1. uninstall previous qingcloud csi v0.2.x resource except configmap 1. configure qingcloud csi v1.1.0...
/kind feature
/remove-kind feature
Azure mirror: https://github.com/Azure/container-service-for-azure-china/blob/master/aks/README.md#22-container-registry-proxy
- According to this issue https://github.com/grpc/grpc-go/issues/2636, CSI test should update gRPC to the latest version. - After CSI test v2.3.0 update to gRPC v1.24.0, it is not broken at DeleteSnapshot...