- Run command
$ kubectl edit directpvdrives <NEW-DRIVE-ID>
and adddirectpv.min.io.volume/pvc-12345678
in the finalizer - Run command
$ kubectl directpv cordon <NEW-DRIVE-ID>
- Run command
$ kubectl edit directpvdrives <NEW-DRIVE-ID>
and remove thedirectpv.min.io.volume/pvc-12345678
finalizer - Run command
$ ./replace.sh <OLD-DRIVE-ID> <NEW-DRIVE-ID>
Last active
May 24, 2024 04:53
-
-
Save balamurugana/9fadfb7567ed4c95bd0fa166b4cb244a to your computer and use it in GitHub Desktop.
Replace drive workaround for DirectPV < 4.0.9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment