You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/container-storage/prepare-linux-edge-volumes.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,24 +23,28 @@ The article describes how to prepare Linux for Edge Volumes using AKS enabled by
23
23
24
24
### Uninstall previous instance of Azure Container Storage enabled by Azure Arc extension
25
25
26
-
If you previously installed Azure Container Storage enabled by Azure Arc, you must uninstall the previous instance.
26
+
If you previously installed a version of Azure Container Storage enabled by Azure Arc before version 2.1.0-preview, you must uninstall that previous instance in order to install the newer version. Versions after 2.1.0-preview will be upgradable and will not require this uninstall.
27
27
28
-
1. Before you delete the extension, delete your configPod, Persistent Volume Claim (PVC), and Persistent Volume (PV) using the following commands. You must maintain the order of these delete commands. Replace `YOUR_POD_FILE_NAME_HERE`, `YOUR_PVC_FILE_NAME_HERE`, and `YOUR_PV_FILE_NAME_HERE` with your respective file names:
28
+
1. In order to delete the old version of the extension, the Kubernetes resources holding references to old version of the extension must be cleaned up. Any pending resources will hold the clean-up of the extension. There are at least two ways to clean up these resources, either using `kubectl delete <resource_type> <resource_name>` or by 'un-applying' the YAML files used to create the resources. The resources that need to be deleted are typically the 'pod(s)', the PVC referenced, and the subvolume CRD (if *Cloud Ingest Edge Volume* was configured). Alternatively, the 4 following YAML files can be be fed to 'kubectl delete -f' using the following commands in the specified order. These variables must be updated with your information:
29
+
30
+
-`YOUR_DEPLOYMENT_FILE_NAME_HERE`: Add your deployment file name(s). In this documentation, the file name used was `deploymentExample.yaml`. If you created multiple deployments, each one must be deleted on a separte line.
31
+
-`YOUR_PVC_FILE_NAME_HERE`: Add your Persistent Volume Claim file name(s). In this documentation, if you used the *Cloud Ingest Edge Volume*, the file name used was `cloudIngestPVC.yaml`. If you used the *Local Shared Edge Volume*, the file name used was `localSharedPVC.yaml`. If you created multiple PVCs, each one must be deleted on a separate line.
32
+
-`YOUR_EDGE_SUBVOLUME_FILE_NAME_HERE`: Add your Edge Subvolume file name(s). In this documentation, the file name used was `edgeSubvolume.yaml`. If you created multiple subvolumes, each one must be deleted on a separate line.
33
+
-`YOUR_EDGE_STORAGE_CONFIGURATION_FILE_NAME_HERE`: Add your Edge Storage Configuration file name here. In this documentation, the file name used was `edgeConfig.yaml`.
1. After you delete your configPod, PVC, and PV from the previous step, uninstall the extension using the following command. Replace `YOUR_RESOURCE_GROUP_NAME_HERE`, `YOUR_CLUSTER_NAME_HERE`, and `YOUR_EXTENSION_NAME_HERE` with your respective information:
42
+
1. After you delete the files for your deployment(s), PVC(s), Edge Subvolume(s), and Edge Storage Configuration from the previous step, you can uninstall the extension using the following command. Replace `YOUR_RESOURCE_GROUP_NAME_HERE`, `YOUR_CLUSTER_NAME_HERE`, and `YOUR_EXTENSION_NAME_HERE` with your respective information:
1. If you installed the extension prior to the 1.1.0-preview release (released on 4/19/24) and have a preexisting `config.json` file, be aware that the `config.json` schema changed. Remove the old `config.json` file using `rm config.json`. You can find the new values in the instructions for your specific environment (Arc-connected AKS on Azure, Edge Essentials, or Ubuntu).
0 commit comments