Skip to content

Commit 0cab38f

Browse files
authored
Merge pull request #207212 from andyzhangx/patch-52
Update azure-blob-csi.md
2 parents a458a94 + 244223d commit 0cab38f

File tree

3 files changed

+11
-65
lines changed

3 files changed

+11
-65
lines changed

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
href: azure-netapp-files.md
387387
- name: Use Azure Ultra Disks
388388
href: use-ultra-disks.md
389-
- name: Legacy storage
389+
- name: Configure storage
390390
items:
391391
- name: Azure Blob - dynamic
392392
href: azure-csi-blob-storage-dynamic.md

articles/aks/azure-blob-csi.md

Lines changed: 8 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Container Storage Interface (CSI) driver for Azure Blob storage on Az
33
description: Learn how to use the Container Storage Interface (CSI) driver for Azure Blob storage (preview) in an Azure Kubernetes Service (AKS) cluster.
44
services: container-service
55
ms.topic: article
6-
ms.date: 07/21/2022
6+
ms.date: 08/08/2022
77
author: mgoedtel
88

99
---
@@ -20,7 +20,7 @@ Mounting Azure Blob storage as a file system into a container or pod, enables yo
2020
* Images, documents, and streaming video or audio
2121
* Disaster recovery data
2222

23-
The data on the object storage can be accessed by applications using BlobFuse or Network File System (NFS) 3.0 protocol. Before the introduction of the Azure Blob storage CSI driver (preview), the only option was to manually install an unsupported driver to access Blob storage from your application running on AKS. When the Azure Blob storage CSI driver (preview) is enabled on AKS, there are two built-in storage classes: *blob-fuse* and *blob-nfs*.
23+
The data on the object storage can be accessed by applications using BlobFuse or Network File System (NFS) 3.0 protocol. Before the introduction of the Azure Blob storage CSI driver (preview), the only option was to manually install an unsupported driver to access Blob storage from your application running on AKS. When the Azure Blob storage CSI driver (preview) is enabled on AKS, there are two built-in storage classes: *azureblob-fuse-premium* and *azureblob-nfs-premium*.
2424

2525
To create an AKS cluster with CSI drivers support, see [CSI drivers on AKS][csi-drivers-aks]. To learn more about the differences in access between each of the Azure storage types using the NFS protocol, see [Compare access to Azure Files, Blob Storage, and Azure NetApp Files with NFS][compare-access-with-nfs].
2626

@@ -40,58 +40,7 @@ Azure Blob storage CSI driver (preview) supports the following features:
4040

4141
### Uninstall open-source driver
4242

43-
Perform the following steps if you previously installed the [CSI Blob Storage open-source driver][csi-blob-storage-open-source-driver] to access Azure Blob storage from your cluster.
44-
45-
1. Copy the following Shell script and create a file named `uninstall-driver.sh`:
46-
47-
```bash
48-
# Copyright 2020 The Kubernetes Authors.
49-
#
50-
# Licensed under the Apache License, Version 2.0 (the "License");
51-
# you may not use this file except in compliance with the License.
52-
# You may obtain a copy of the License at
53-
#
54-
# http://www.apache.org/licenses/LICENSE-2.0
55-
#
56-
# Unless required by applicable law or agreed to in writing, software
57-
# distributed under the License is distributed on an "AS IS" BASIS,
58-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
59-
# See the License for the specific language governing permissions and
60-
# limitations under the License.
61-
62-
set -euo pipefail
63-
64-
ver="master"
65-
if [[ "$#" -gt 0 ]]; then
66-
ver="$1"
67-
fi
68-
69-
repo="https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/$ver/deploy"
70-
if [[ "$#" -gt 1 ]]; then
71-
if [[ "$2" == *"local"* ]]; then
72-
echo "use local deploy"
73-
repo="./deploy"
74-
fi
75-
fi
76-
77-
if [ $ver != "master" ]; then
78-
repo="$repo/$ver"
79-
fi
80-
81-
echo "Uninstalling Azure Blob Storage CSI driver, version: $ver ..."
82-
kubectl delete -f $repo/csi-blob-controller.yaml --ignore-not-found
83-
kubectl delete -f $repo/csi-blob-node.yaml --ignore-not-found
84-
kubectl delete -f $repo/csi-blob-driver.yaml --ignore-not-found
85-
kubectl delete -f $repo/rbac-csi-blob-controller.yaml --ignore-not-found
86-
kubectl delete -f $repo/rbac-csi-blob-node.yaml --ignore-not-found
87-
echo 'Uninstalled Azure Blob Storage CSI driver successfully.'
88-
```
89-
90-
2. Run the script using the following command:
91-
92-
```bash
93-
./uninstall-driver.sh
94-
```
43+
Perform the steps in this [link][csi-blob-storage-open-source-driver-uninstall-steps] if you previously installed the [CSI Blob Storage open-source driver][csi-blob-storage-open-source-driver] to access Azure Blob storage from your cluster.
9544

9645
## Install the Azure CLI aks-preview extension
9746

@@ -144,10 +93,6 @@ You're prompted to confirm there isn't an open-source Blob CSI driver installed.
14493
"blobCsiDriver": {
14594
"enabled": true
14695
},
147-
"diskCsiDriver": {
148-
"enabled": true,
149-
"version": "v1"
150-
},
15196
```
15297

15398
## Disable CSI driver on an existing AKS cluster
@@ -179,7 +124,7 @@ When you use storage CSI drivers on AKS, there are two additional built-in Stora
179124

180125
The reclaim policy on both storage classes ensures that the underlying Azure Blob storage is deleted when the respective PV is deleted. The storage classes also configure the container to be expandable by default, as the `set allowVolumeExpansion` parameter is set to **true**.
181126

182-
Use the [kubectl get sc][kubectl-get] command to see the storage classes. The following example shows the `blob-fuse` and `blob-nfs` storage classes available within an AKS cluster:
127+
Use the [kubectl get sc][kubectl-get] command to see the storage classes. The following example shows the `azureblob-fuse-premium` and `azureblob-nfs-premium` storage classes available within an AKS cluster:
183128

184129
```bash
185130
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
@@ -229,7 +174,7 @@ To have a storage volume persist for your workload, you can use a StatefulSet. T
229174
- metadata:
230175
name: persistent-storage
231176
annotations:
232-
volume.beta.kubernetes.io/storage-class: blob-nfs
177+
volume.beta.kubernetes.io/storage-class: azureblob-nfs-premium
233178
spec:
234179
accessModes: ["ReadWriteMany"]
235180
resources:
@@ -279,7 +224,7 @@ To have a storage volume persist for your workload, you can use a StatefulSet. T
279224
- metadata:
280225
name: persistent-storage
281226
annotations:
282-
volume.beta.kubernetes.io/storage-class: blob-fuse
227+
volume.beta.kubernetes.io/storage-class: azureblob-fuse-premium
283228
spec:
284229
accessModes: ["ReadWriteMany"]
285230
resources:
@@ -313,6 +258,7 @@ To have a storage volume persist for your workload, you can use a StatefulSet. T
313258
[managed-disk-pricing-performance]: https://azure.microsoft.com/pricing/details/managed-disks/
314259
[csi-specification]: https://github.com/container-storage-interface/spec/blob/master/spec.md
315260
[csi-blob-storage-open-source-driver]: https://github.com/kubernetes-sigs/blob-csi-driver
261+
[csi-blob-storage-open-source-driver-uninstall-steps]: https://github.com/kubernetes-sigs/blob-csi-driver](https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/install-csi-driver-master.md#clean-up-blob-csi-driver
316262

317263
<!-- LINKS - internal -->
318264
[install-azure-cli]: /cli/azure/install-azure-cli
@@ -343,4 +289,4 @@ To have a storage volume persist for your workload, you can use a StatefulSet. T
343289
[use-tags]: use-tags.md
344290
[az-tags]: ../azure-resource-manager/management/tag-resources.md
345291
[azure-csi-blob-storage-dynamic]: azure-csi-blob-storage-dynamic.md
346-
[azure-csi-blob-storage-static]: azure-csi-blob-storage-static.md
292+
[azure-csi-blob-storage-static]: azure-csi-blob-storage-static.md

articles/aks/concepts-storage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Concepts - Storage in Azure Kubernetes Services (AKS)
33
description: Learn about storage in Azure Kubernetes Service (AKS), including volumes, persistent volumes, storage classes, and claims
44
services: container-service
55
ms.topic: conceptual
6-
ms.date: 03/30/2022
6+
ms.date: 03/08/2022
77

88
---
99

@@ -43,7 +43,7 @@ Use *Azure Disks* to create a Kubernetes *DataDisk* resource. Disks types includ
4343
> [!TIP]
4444
>For most production and development workloads, use Premium SSD.
4545
46-
Since Azure Disks are mounted as *ReadWriteOnce*, they're only available to a single pod. For storage volumes that can be accessed by multiple pods simultaneously, use Azure Files.
46+
Since Azure Disks are mounted as *ReadWriteOnce*, they're only available to a single node. For storage volumes that can be accessed by pods on multiple nodes simultaneously, use Azure Files.
4747

4848
### Azure Files
4949
Use *Azure Files* to mount an SMB 3.1.1 share or NFS 4.1 share backed by an Azure storage accounts to pods. Files let you share data across multiple nodes and pods and can use:

0 commit comments

Comments
 (0)