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/storage/files/azure-kubernetes-service-workloads.md
+24-20Lines changed: 24 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to use Azure file shares for Azure Kubernetes Service (AK
4
4
author: khdownie
5
5
ms.service: azure-file-storage
6
6
ms.topic: concept-article
7
-
ms.date: 06/30/2025
7
+
ms.date: 07/02/2025
8
8
ms.author: kendownie
9
9
# Customer intent: "As a Kubernetes administrator, I want to implement Azure Files for my Azure Kubernetes Service (AKS) workloads requiring persistent, shared storage, so that I can better support my organization's containerized applications."
10
10
---
@@ -15,51 +15,52 @@ Azure Files provides fully managed file shares in the cloud that are accessible
15
15
16
16
## What is Azure Kubernetes Service?
17
17
18
-
Azure Kubernetes Service (AKS) is a managed Kubernetes service that simplifies deploying, managing, and scaling containerized applications using Kubernetes on Azure. AKS reduces the complexity and operational overhead of managing Kubernetes by offloading much of that responsibility to Azure. As a hosted Kubernetes service, Azure handles critical tasks like health monitoring and maintenance, while you focus on your application workloads.
18
+
Azure Kubernetes Service is a managed Kubernetes service that simplifies deploying, managing, and scaling containerized applications using Kubernetes on Azure. It reduces the complexity and operational overhead of managing Kubernetes by offloading much of that responsibility to Azure. As a hosted Kubernetes service, AKS handles critical tasks like health monitoring and maintenance, while you focus on your application workloads.
19
19
20
-
## Why Azure Files for Azure Kubernetes Service?
20
+
## Why Azure Files for AKS?
21
21
22
-
Azure Files is an ideal storage solution for AKS workloads due to several advantages:
22
+
The combination of persistent shared storage, Kubernetes-native integration, and enterprise-grade performance and security makes Azure Files an excellent choice for stateful applications, shared data scenarios, and complex multi-pod architectures in AKS environments. Whether you're deploying content management systems, implementing centralized logging, or building data processing pipelines, Azure Files offers the flexibility and reliability needed to support your AKS infrastructure at scale.
23
23
24
24
### Persistent shared storage
25
25
26
26
Unlike local storage that's tied to individual nodes, Azure Files provides persistent storage that survives pod restarts, node failures, and cluster scaling events. Multiple pods across different nodes can simultaneously access the same file share, enabling shared data scenarios and stateful applications.
27
27
28
28
### Kubernetes native integration
29
29
30
-
Azure Files integrates seamlessly with Kubernetes through the Container Storage Interface (CSI) driver, allowing you to provision and manage file shares using standard Kubernetes constructs like PersistentVolumes (PV) and PersistentVolumeClaims (PVC). The CSI driver handles all the complexity of Azure API interactions, authentication, and mount operations, providing a native Kubernetes experience for storage management.
30
+
Azure Files integrates seamlessly with Kubernetes through the Container Storage Interface (CSI) driver, allowing you to provision and manage file shares using standard Kubernetes constructs like persistent volumes (PV) and persistent volume claims (PVC). The CSI driver handles all the complexity of Azure API interactions, authentication, and mount operations, providing a native Kubernetes experience for storage management.
31
31
32
-
### Multiple performance tiers
32
+
### SSD file shares for optimal performance
33
33
34
-
Azure Files offers multiple performance tiers to match your workload requirements:
34
+
Azure Files offers two types of storage media:
35
35
36
36
-**HDD (Standard)**: Cost-effective for general-purpose workloads
37
37
-**SSD (Premium)**: High-performance SSD-backed storage for I/O intensive applications
38
-
-**Transaction optimized**: Optimized for workloads with high transaction rates
38
+
39
+
For optimal performance, we recommend using SSD file shares deployed in the same Azure region as your AKS cluster. This minimizes latency and maximizes throughput for file operations.
39
40
40
41
### Protocol support
41
42
42
43
Support for both NFS and SMB protocols ensures compatibility with a wide range of applications and operating systems, including Linux and Windows containers.
43
44
44
45
### Security and compliance
45
46
46
-
Azure Files provides enterprise-grade security features including encryption at rest, encryption in transit, Microsoft Entra ID integration, and compliance with industry standards.
47
+
Azure Files provides essential security features including encryption at rest, encryption in transit, Microsoft Entra ID integration, and compliance with industry standards.
47
48
48
49
## Understanding the Azure Files CSI driver
49
50
50
-
The Azure Files Container Storage Interface (CSI) driver is a critical component that enables seamless integration between Azure Files and Kubernetes clusters, including AKS. The CSI specification provides a standardized interface for storage systems to expose their capabilities to containerized workloads, and the Azure Files CSI driver implements this specification specifically for Azure Files.
51
+
The Azure Files Container Storage Interface (CSI) driver is a critical component that enables seamless integration between Azure Files and Kubernetes clusters, including AKS. The CSI specification provides a standardized interface for storage systems to expose their capabilities to containerized workloads, and the Azure Files CSI driver implements this specification specifically for Azure Files. For more information, see [Use Azure Files CSI driver in AKS](/azure/aks/azure-files-csi).
51
52
52
53
### How the CSI driver works
53
54
54
55
The Azure Files CSI driver operates through several key components:
55
56
56
57
-**CSI driver pod**: Runs as a DaemonSet on each node in the AKS cluster, responsible for mounting and unmounting Azure file shares
57
-
-**CSI controller**: Manages the lifecycle of Azure Files shares, including creation, deletion, and volume expansion
58
+
-**CSI controller**: Manages the lifecycle of Azure file shares, including creation, deletion, and volume expansion
58
59
-**Storage classes**: Define the parameters and policies for dynamic provisioning of Azure file shares
59
-
-**Persistent volumes (PV)**: Represent the actual Azure Files shares in Kubernetes
60
-
-**Persistent volume claims (PVC)**: User requests for storage that are bound to persistent volumes
60
+
-**Persistent volumes**: Represent the actual Azure file shares in Kubernetes
61
+
-**Persistent volume claims**: User requests for storage that are bound to persistent volumes
61
62
62
-
When a pod requests storage through a PVC, the CSI driver coordinates with Azure APIs to either create a new Azure file share (dynamic provisioning) or connect to an existing share (static provisioning). The driver then mounts the share into the pod's filesystem namespace, making it accessible to applications.
63
+
When a pod requests storage through a persistent volume claim, the CSI driver coordinates with Azure APIs to either create a new Azure file share (dynamic provisioning) or connect to an existing share (static provisioning). The driver then mounts the share into the pod's filesystem namespace, making it accessible to applications.
63
64
64
65
### CSI driver capabilities
65
66
@@ -116,7 +117,7 @@ Azure Files is particularly useful for:
116
117
- **Certificate distribution**: Centrally manage and distribute SSL/TLS certificates.
117
118
- **Shared libraries**: Store common libraries or binaries accessed by multiple applications.
118
119
119
-
This YAML example creates a PVC for shared configuration storage and a deployment that mounts this storage across multiple pod replicas:
120
+
This YAML example creates a persistent volume claim for shared configuration storage and a deployment that mounts this storage across multiple pod replicas:
120
121
121
122
```yaml
122
123
apiVersion: v1
@@ -216,7 +217,7 @@ Azure Files CSI driver supports both static and dynamic provisioning through Kub
216
217
217
218
With dynamic provisioning, storage is automatically created when a persistent volume claim is created.
218
219
219
-
This YAML defines a StorageClass for dynamic provisioning of premium Azure Files shares with SMB protocol and specific mount options:
220
+
This YAML defines a storage class for dynamic provisioning of SSD (premium) Azure file shares with SMB protocol and specific mount options:
220
221
221
222
```yaml
222
223
apiVersion: storage.k8s.io/v1
@@ -240,9 +241,9 @@ mountOptions:
240
241
241
242
### Static provisioning
242
243
243
-
For existing Azure Files shares, you can create persistent volumes that reference pre-created storage.
244
+
For existing Azure file shares, you can create persistent volumes that reference pre-created storage.
244
245
245
-
This YAML example shows how to create a Persistent Volume that references an existing Azure file share using static provisioning:
246
+
This YAML example shows how to create a persistent volume that references an existing Azure file share using static provisioning:
246
247
247
248
```yaml
248
249
apiVersion: v1
@@ -267,8 +268,7 @@ spec:
267
268
protocol: smb
268
269
```
269
270
270
-
271
-
## Optimize mount options
271
+
## Recommended mount options
272
272
273
273
This YAML example shows optimized mount options for Azure Files to improve performance and compatibility. However, you should configure mount options to optimize performance for your specific use case.
274
274
@@ -310,3 +310,7 @@ parameters:
310
310
networkEndpointType: privateEndpoint
311
311
```
312
312
313
+
## See also
314
+
315
+
- [Use Azure Files CSI driver in AKS](/azure/aks/azure-files-csi)
316
+
- [Create and use a volume with Azure Files in AKS](/azure/aks/azure-csi-files-storage-provision)
0 commit comments