Skip to content

Commit 7f8a955

Browse files
committed
tweaks
1 parent 57da58f commit 7f8a955

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

articles/aks/csi-disk-move-subscriptions.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Move Azure Disk Persistent Volumes in Azure Kubernetes Service (AKS)
2+
title: Move Azure Disk persistent volumes in Azure Kubernetes Service (AKS)
33
titleSuffix: Azure Kubernetes Service
4-
description: Learn how to move a persistent volume between Azure Kubernetes Service clusters in the same subscription or a different subscription and in the same region.
4+
description: Learn how to move a persistent volume between Azure Kubernetes Service clusters in the same subscription or a different subscription.
55
author: tamram
66

77
ms.author: tamram
@@ -15,21 +15,20 @@ This article describes how to safely move Azure Disk persistent volumes from one
1515

1616
The sequence of steps to complete this move are:
1717

18-
* Confirm the Azure Disk resource state on the source AKS cluster isn't in an **Attached** state to avoid data loss.
18+
* To avoid data loss, confirm that the Azure Disk resource state on the source AKS cluster isn't in an **Attached** state.
1919
* Move the Azure Disk resource to the target resource group in the same subscription or a different subscription.
2020
* Validate that the Azure Disk resource move succeeded.
2121
* Create the persistent volume (PV) and the persistent volume claim (PVC) and then mount the moved disk as a volume on a pod on the target cluster.
2222

2323
## Before you begin
2424

25-
* You need an Azure [storage account][azure-storage-account].
2625
* Make sure you have Azure CLI version 2.0.59 or later installed and configured. To find the version, run `az --version`. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli].
2726
* Review details and requirements about moving resources between different regions in [Move resources to a new resource group or subscription][move-resources-new-subscription-resource-group]. Be sure to review the [checklist before moving resources][move-resources-checklist] in that article.
2827
* You have an AKS cluster in the target subscription and the source cluster has persistent volumes with Azure Disks attached.
2928

3029
## Validate disk volume state
3130

32-
Preserving data is important while working with persistent volumes to avoid risk of data corruption, inconsistencies, or data loss. To prevent loss during the migration or move process, you must first verify the disk volume is unattached by performing the following steps.
31+
It's important to avoid risk of data corruption, inconsistencies, or data loss while working with persistent volumes. To mitigate these risks during the migration or move process, you must first verify that the disk volume is unattached by performing the following steps.
3332

3433
1. Identify the node resource group hosting the Azure managed disks using the [`az aks show`][az-aks-show] command and add the `--query nodeResourceGroup` parameter.
3534

@@ -43,7 +42,7 @@ Preserving data is important while working with persistent volumes to avoid risk
4342
MC_myResourceGroup_myAKSCluster_eastus
4443
```
4544
46-
1. List the managed disks using the [`az disk list`][az-disk-list] command referencing the resource group returned in the previous step.
45+
1. List the managed disks using the [`az disk list`][az-disk-list] command. Reference the resource group returned in the previous step.
4746
4847
```azurecli-interactive
4948
az disk list --resource-group MC_myResourceGroup_myAKSCluster_eastus
@@ -72,7 +71,7 @@ Preserving data is important while working with persistent volumes to avoid risk
7271
7372
1. If `diskState` shows `Attached`, first verify if any workloads are still accessing the volume and stop them first. After a period of time, disk state returns state `Unattached` and can then be moved.
7473
75-
## Move persistent volume
74+
## Move the persistent volume
7675
7776
To move the persistent volume or volumes to another AKS cluster, follow the steps described in [Move Azure resources to a new resource group or subscription][move-resources-new-subscription-resource-group]. You can use the [Azure portal][move-resources-using-porta], [Azure PowerShell][move-resources-using-azure-powershell], or use the [Azure CLI][move-resources-using-azure-cli] to perform the migration.
7877
@@ -85,17 +84,17 @@ During this process, you reference:
8584
> [!NOTE]
8685
> Because of the dependencies between resource providers, this operation can take up to four hours to complete.
8786
88-
## Verify that the disk volume has moved
87+
## Verify that the disk volume has been moved
8988
90-
After moving the disk volume to the target cluster resource group, validate the resource in the resource group list using the [`az disk list`][az-disk-list] command referencing the destination resource group the resources were moved to. In this example, the disks were moved to a resource group named *MC_myResourceGroup_myAKSCluster_westus*.
89+
After moving the disk volume to the target cluster resource group, validate the resource in the resource group list using the [`az disk list`][az-disk-list] command. Reference the destination resource group where the resources were moved. In this example, the disks were moved to a resource group named *MC_myResourceGroup_myAKSCluster_westus*.
9190
9291
```azurecli-interactive
9392
az disk list --resource-group MC_myResourceGroup_myAKSCluster_westus
9493
```
9594

9695
## Mount the moved disk as a volume
9796

98-
To mount the moved disk volume, you'll create a static persistent volume with the resource ID copied in the previous steps, the persistent volume claim, and in this example a simple pod.
97+
To mount the moved disk volume, create a static persistent volume with the resource ID copied in the previous steps, the persistent volume claim, and in this example, a simple pod.
9998

10099
1. Create a *pv-azuredisk.yaml* file with a persistent volume. Update the *volumeHandle* field with the disk resource ID from the previous step.
101100

0 commit comments

Comments
 (0)