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
**What installation models are available in version 2.1.x and later?**
@@ -43,7 +43,7 @@ Azure Container Storage is a cloud-based volume management, deployment, and orch
43
43
**Behavior:**
44
44
- Installs only the installer.
45
45
- No storage-specific driver or node agent is installed initially.
46
-
- Creating a StorageClass later triggers the correct CSI driver installation.
46
+
- Creating a storage class later triggers the correct CSI driver installation.
47
47
48
48
**Installer + storage type(s)**
49
49
Use this option when you know the backend(s) required.
@@ -60,7 +60,7 @@ Azure Container Storage is a cloud-based volume management, deployment, and orch
60
60
61
61
**Behavior:**
62
62
- Installs the installer plus the selected CSI driver(s).
63
-
- Creates default StorageClass objects if none exists.
63
+
- Creates default storage class objects if none exists.
64
64
- Supports comma-separated storage types.
65
65
66
66
Supported storage types for version 2.1.0 and later: `ephemeralDisk` (local NVMe) and `elasticSan` (Azure Elastic SAN).
@@ -69,27 +69,27 @@ Azure Container Storage is a cloud-based volume management, deployment, and orch
69
69
**How do installation models work with Terraform?**
70
70
The extension configuration supports the same flows as Azure CLI:
71
71
72
-
-**Installer-only (choose storage later):** Set `enable-azure-container-storage` to `true`. Create a StorageClass later to trigger driver installation.
72
+
-**Installer-only (choose storage later):** Set `enable-azure-container-storage` to `true`. Create a storage class later to trigger driver installation.
73
73
-**Installer + storage type(s):** Set `enable-azure-container-storage` to a storage type value such as `ephemeralDisk`, `elasticSan`, or a comma-separated list like `ephemeralDisk,elasticSan`. This installs the installer and the selected CSI drivers.
74
74
75
75
Supported storage types for version 2.1.0 and later: `ephemeralDisk` (local NVMe) and `elasticSan` (Azure Elastic SAN).
76
76
77
77
* <aid="azure-container-storage-components"></a>
78
78
**What components are installed in installer-only mode?**
79
-
Installer-only mode creates the installer and telemetry deployments in the `kube-system` namespace, but doesn't install any CSI drivers or node agents until you enable a storage type or create a StorageClass.
79
+
Installer-only mode creates the installer and telemetry deployments in the `kube-system` namespace, but doesn't install any CSI drivers or node agents until you enable a storage type or create a storage class.
80
80
81
81
| Component | Resource type | Name | Description |
82
82
|---|---|---|---|
83
-
| Installer | Deployment | acstor-cluster-manager | Core controller that watches StorageClass objects and orchestrates CSI driver lifecycle |
83
+
| Installer | Deployment | acstor-cluster-manager | Core controller that watches storage class objects and orchestrates CSI driver lifecycle |
If you enable a storage type during installation, the driver installs immediately and default StorageClass objects are created if missing. If you choose installer-only, the driver installs when you create a StorageClass (or if a StorageClass already exists).
88
+
If you enable a storage type during installation, the driver installs immediately and default storage class objects are created if missing. If you choose installer-only, the driver installs when you create a storage class (or if a storage class already exists).
Copy file name to clipboardExpand all lines: articles/storage/container-storage/install-container-storage-aks.md
+13-48Lines changed: 13 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,9 +104,9 @@ Run the following command to create a new AKS cluster and install Azure Containe
104
104
az aks create -n <cluster-name> -g <resource-group> --node-vm-size Standard_L8s_v3 --enable-azure-container-storage --generate-ssh-keys
105
105
```
106
106
107
-
The deployment can take up to 5 minutes. CSI driver installation is deferred until you create a StorageClass or enable a storage type later.
107
+
The deployment can take up to 5 minutes. CSI driver installation is deferred until you create a storage class or enable a storage type later.
108
108
109
-
Follow the instructions for creating a [local NVMe](use-container-storage-with-local-disk.md)StorageClass or [Elastic SAN](use-container-storage-with-elastic-san.md)StorageClass.
109
+
Follow the instructions for creating a [local NVMe](use-container-storage-with-local-disk.md)storage class or [Elastic SAN](use-container-storage-with-elastic-san.md)storage class.
110
110
111
111
### Installer + storage type installation
112
112
@@ -116,7 +116,7 @@ Run the following command to create a new AKS cluster and install Azure Containe
116
116
az aks create -n <cluster-name> -g <resource-group> --node-vm-size Standard_L8s_v3 --enable-azure-container-storage ephemeralDisk --generate-ssh-keys
117
117
```
118
118
119
-
This command installs the installer, deploys the `ephemeralDisk` driver, and creates a default StorageClass. You can install and use both local NVMe and Elastic SAN by providing comma-separated values such as `ephemeralDisk,elasticSan`.
119
+
This command installs the installer, deploys the `ephemeralDisk` driver, and creates a default storage class. You can install and use both local NVMe and Elastic SAN by providing comma-separated values such as `ephemeralDisk,elasticSan`.
120
120
121
121
## Install Azure Container Storage on an existing AKS cluster
122
122
@@ -128,7 +128,7 @@ Run the following command to enable Azure Container Storage on an existing AKS c
128
128
az aks update -n <cluster-name> -g <resource-group> --enable-azure-container-storage
129
129
```
130
130
131
-
The deployment can take up to 5 minutes. When it completes, the cluster has the Azure Container Storage installer component installed. CSI driver installation is deferred until you create a StorageClass or enable a storage type later. Follow the instructions for creating a [local NVMe](use-container-storage-with-local-disk.md)StorageClass or [Elastic SAN](use-container-storage-with-elastic-san.md)StorageClass.
131
+
The deployment can take up to 5 minutes. When it completes, the cluster has the Azure Container Storage installer component installed. CSI driver installation is deferred until you create a storage class or enable a storage type later. Follow the instructions for creating a [local NVMe](use-container-storage-with-local-disk.md)storage class or [Elastic SAN](use-container-storage-with-elastic-san.md)storage class.
132
132
133
133
### Installer + storage type installation
134
134
@@ -138,7 +138,7 @@ Run the following command to enable Azure Container Storage on an existing AKS c
138
138
az aks update -n <cluster-name> -g <resource-group> --enable-azure-container-storage elasticSan
139
139
```
140
140
141
-
This command installs the installer, deploys the Elastic SAN CSI driver, and creates a default StorageClass. You can install and use both local NVMe and Elastic SAN by providing comma-separated values such as `ephemeralDisk,elasticSan`.
141
+
This command installs the installer, deploys the Elastic SAN CSI driver, and creates a default storage class. You can install and use both local NVMe and Elastic SAN by providing comma-separated values such as `ephemeralDisk,elasticSan`.
142
142
143
143
::: zone-end
144
144
@@ -237,37 +237,20 @@ az account set --subscription <subscription-id>
237
237
}
238
238
```
239
239
240
-
To enable storage drivers during deployment, pass the necessary Helm chart settings:
2. Initialize the working directory to download the AzureRM provider.
240
+
1. Initialize the working directory to download the AzureRM provider.
259
241
260
242
```bash
261
243
terraform init
262
244
```
263
245
264
-
3. Review the planned changes.
246
+
1. Review the planned changes.
265
247
266
248
```bash
267
249
terraform plan
268
250
```
269
251
270
-
4. Apply the configuration to create the resource group, AKS cluster, and Azure Container Storage extension. Deployment typically takes 5 to 10 minutes.
252
+
1. Apply the configuration to create the resource group, AKS cluster, and Azure Container Storage extension. Deployment typically takes 5 minutes. When it completes, the cluster has the Azure Container Storage installer component installed. CSI driver installation is deferred until you create a storage class. Follow the instructions for creating a [local NVMe](use-container-storage-with-local-disk.md) storage class or [Elastic SAN](use-container-storage-with-elastic-san.md) storage class.
Run `terraform init` (if this is a new working directory) followed by `terraform apply` to install Azure Container Storage on the targeted cluster.
291
+
Run `terraform init` (if this is a new working directory) followed by `terraform apply` to install Azure Container Storage on the targeted cluster. Deployment typically takes 5 minutes. When it completes, the cluster has the Azure Container Storage installer component installed. CSI driver installation is deferred until you create a storage class. Follow the instructions for creating a [local NVMe](use-container-storage-with-local-disk.md) storage class or [Elastic SAN](use-container-storage-with-elastic-san.md) storage class.
Copy file name to clipboardExpand all lines: articles/storage/container-storage/remove-container-storage.md
+17-43Lines changed: 17 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,60 +16,22 @@ This article shows how to remove Azure Container Storage components from your Az
16
16
> [!IMPORTANT]
17
17
> This article applies to [Azure Container Storage (version 2.x.x)](container-storage-introduction.md). If you have Azure Container Storage (version 1.x.x) installed on your AKS cluster, remove it by following [these steps](remove-container-storage-version-1.md).
18
18
19
-
## Remove Azure Container Storage
20
-
21
-
You can either remove the components for a specific storage type or remove Azure Container Storage entirely.
22
-
23
-
- CSI driver for specific storage types
24
-
- The entire Azure Container Storage installation (installer and CSI drivers)
25
-
26
-
> [!IMPORTANT]
27
-
> Delete all persistent volume claims (PVCs) and persistent volumes (PVs) before uninstalling the extension. Removing Azure Container Storage without cleaning up these resources can disrupt running workloads. Ensure no workloads or StorageClass objects rely on Azure Container Storage before you continue.
28
-
29
-
## Remove CSI driver for a specific storage type
30
-
31
-
Remove the CSI driver by running the following Azure CLI command. Replace `<cluster-name>` and `<resource-group>` with your own values.
32
-
33
-
```azurecli-interactive
34
-
az aks update -n <cluster-name> -g <resource-group> --disable-azure-container-storage <storage-type>
35
-
```
36
-
37
-
Supported storage type values:
38
-
39
-
-`ephemeralDisk` - removes only the local CSI driver
40
-
-`elasticSan` - removes only the Elastic SAN CSI driver
41
-
-`all` - removes both Elastic SAN and local CSI drivers
42
-
43
-
You can also use comma-separated values to remove specific CSI drivers, such as `ephemeralDisk,elasticSan`.
44
-
45
-
This command removes the specified CSI driver(s), while the Azure Container Storage installer components remain installed.
46
-
47
19
## Remove the entire Azure Container Storage installation (installer and CSI drivers)
48
20
21
+
Delete all persistent volume claims (PVCs) and persistent volumes (PVs) before uninstalling the extension. Removing Azure Container Storage without cleaning up these resources can disrupt running workloads. Ensure no workloads or StorageClass objects rely on Azure Container Storage before you continue.
22
+
49
23
Remove Azure Container Storage entirely by running the following Azure CLI command. Replace `<cluster-name>` and `<resource-group>` with your own values.
50
24
51
25
```azurecli
52
26
az aks update -n <cluster-name> -g <resource-group> --disable-azure-container-storage
53
27
```
54
28
55
-
## Re-enable Azure Container Storage
56
-
57
-
If you previously removed CSI drivers for one or more storage types, you can re-enable the storage type by running the following Azure CLI command.
58
-
59
-
```azurecli
60
-
az aks update -n <cluster-name> -g <resource-group> --enable-azure-container-storage <storage-type>
61
-
```
62
-
63
-
Expected behavior:
64
-
65
-
- Specifying a storage type is optional. When no storage type is provided, only the Azure Container Storage installer component is installed, if it isn't already present.
66
-
- When a storage type is specified, the corresponding CSI driver is installed. If a StorageClass for that storage type already exists, only the driver is installed; otherwise, a default StorageClass is created as part of the installation.
67
-
68
29
### Remove the extension with Terraform
69
30
70
31
If you provisioned Azure Container Storage with Terraform, remove the corresponding extension resource from your configuration and apply the change so the result matches the CLI workflow.
71
32
72
33
1. Delete the `azurerm_kubernetes_cluster_extension` block (or set `count = 0`) in your Terraform configuration and save the file.
34
+
73
35
1. Review the plan to confirm Terraform destroys only the extension resource.
74
36
75
37
```bash
@@ -82,8 +44,18 @@ If you provisioned Azure Container Storage with Terraform, remove the correspond
82
44
terraform apply
83
45
```
84
46
85
-
> [!NOTE]
86
-
> Terraform manages the extension resource. If you want to remove only a specific storage type (for example, Elastic SAN or local NVMe), use the Azure CLI workflow in this article. Terraform doesn't provide a separate disable flag per storage type.
47
+
## Re-enable Azure Container Storage
48
+
49
+
If you previously removed CSI drivers for one or more storage types, you can re-enable the storage type by running the following Azure CLI command.
50
+
51
+
```azurecli
52
+
az aks update -n <cluster-name> -g <resource-group> --enable-azure-container-storage <storage-type>
53
+
```
54
+
55
+
Expected behavior:
56
+
57
+
- Specifying a storage type is optional. When no storage type is provided, only the Azure Container Storage installer component is installed, if it isn't already present.
58
+
- When a storage type is specified, the corresponding CSI driver is installed. If a StorageClass for that storage type already exists, only the driver is installed; otherwise, a default StorageClass is created as part of the installation.
87
59
88
60
## Delete the AKS cluster
89
61
@@ -112,3 +84,5 @@ az group delete --name <resource-group>
112
84
## See also
113
85
114
86
- [What is Azure Container Storage?](container-storage-introduction.md)
87
+
- [Use Azure Container Storage with local NVMe](use-container-storage-with-local-disk.md)
88
+
- [Use Azure Container Storage with Elastic SAN](use-container-storage-with-elastic-san.md)
0 commit comments