Skip to content

Commit 788e525

Browse files
authored
Update csi-migrate-in-tree-volumes.md
1 parent 42242e8 commit 788e525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/aks/csi-migrate-in-tree-volumes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ The following are important considerations to evaluate:
110110
i=$((i + 1))
111111
else
112112
PVC_CREATION_TIME=$(kubectl get pvc $PVC -n $NAMESPACE -o jsonpath='{.metadata.creationTimestamp}')
113-
if [[ $PVC_CREATION_TIME > $STARTTIMESTAMP ]]; then
113+
if [[ $PVC_CREATION_TIME >= $STARTTIMESTAMP ]]; then
114114
if [[ $ENDTIMESTAMP > $PVC_CREATION_TIME ]]; then
115115
PV="$(kubectl get pvc $PVC -n $NAMESPACE -o jsonpath='{.spec.volumeName}')"
116116
RECLAIM_POLICY="$(kubectl get pv $PV -n $NAMESPACE -o jsonpath='{.spec.persistentVolumeReclaimPolicy}')"
@@ -183,7 +183,7 @@ The following are important considerations to evaluate:
183183
* `namespace` - The cluster namespace
184184
* `sourceStorageClass` - The in-tree storage driver-based StorageClass
185185
* `targetCSIStorageClass` - The CSI storage driver-based StorageClass, which can be either one of the default storage classes that have the provisioner set to **disk.csi.azure.com** or **file.csi.azure.com**. Or you can create a custom storage class as long as it is set to either one of those two provisioners.
186-
* `startTimeStamp` - Provide a start time in the format **yyyy-mm-ddthh:mm:ssz**.
186+
* `startTimeStamp` - Provide a start time **before** PVC creation time in the format **yyyy-mm-ddthh:mm:ssz**
187187
* `endTimeStamp` - Provide an end time in the format **yyyy-mm-ddthh:mm:ssz**.
188188
189189
```bash

0 commit comments

Comments
 (0)