blob-csi-driver icon indicating copy to clipboard operation
blob-csi-driver copied to clipboard

Unable to upgrade blob-csi-driver from 1.13 to 1.16

Open kevball2 opened this issue 1 year ago • 0 comments

What happened: Attempting to update driver results in an error during installation

curl -skSL https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/v1.16.0/deploy/install-driver.sh | bash -s v1.16.0 blobfuse-proxy --

Warning: resource csidrivers/blob.csi.azure.com is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. The CSIDriver "blob.csi.azure.com" is invalid: spec.volumeLifecycleModes: Invalid value: []storage.VolumeLifecycleMode{"Persistent", "Ephemeral"}: field is immutable

What you expected to happen: Expectation is that the driver to update successfully

How to reproduce it: Run the following :

curl -skSL https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/v1.16.0/deploy/install-driver.sh | bash -s v1.13.0 blobfuse-proxy --

Anything else we need to know?: This cluster was created through Azure Machine Learning Studio

Environment:

  • CSI Driver version: -- image: mcr.microsoft.com/k8s/csi/blob-csi:v1.4.1 -- image: mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.13.0
  • Kubernetes version (use kubectl version): v1.23.8
  • OS (e.g. from /etc/os-release): AKSUbuntu-1804containerd-2022.07.28
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

kevball2 avatar Sep 16 '22 16:09 kevball2