Upgrading
- Upgrade the WebApi and the driver to the same version: the controller in
Httpmode and the WebApi share the volume logic, and a version mismatch can surface as failed detaches or wrong idempotency. Order: WebApi first (docker compose pull && docker compose up -d), then the chart. - Driver:
helm upgrade hypervcsi ./hypervcsi-helm/charts/hypervcsi -n csi-hyperv -f my-values.yamlwith the newglobal.imageTag. Node driver pods restart one by one; mounted volumes stay mounted. - Sidecar versions come with the chart. Check the chart’s release notes for the minimum Kubernetes version before upgrading the chart on an older cluster.
- From chart versions whose selectors still contained the chart version (before 1.1.x): the DaemonSet and
Deployment selectors changed and are immutable. Delete them once without deleting the pods, then upgrade:
Terminal window kubectl -n csi-hyperv delete daemonset <release>-hypervcsinodedriver --cascade=orphankubectl -n csi-hyperv delete deployment <release>-hypervcsicontroller --cascade=orphan - Hyper-V nodes: Windows updates and PowerShell 7 updates do not affect the driver as long as
Test-HypervCsiHost.ps1still passes. Re-run it after an in-place OS upgrade.