Skip to content

Commit 740bdfd

Browse files
Merge pull request #229777 from schaffererin/privatelinkdns
DNS forwarding - private endpoint
2 parents c1607c1 + 382828c commit 740bdfd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/aks/azure-files-csi.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ Filesystem
268268

269269
## Use a persistent volume with private Azure Files storage (private endpoint)
270270

271-
If your Azure Files resources are protected with a private endpoint, you must create your own storage class that's customized with the following parameters:
271+
If your Azure Files resources are protected with a private endpoint, you must create your own storage class. Make sure that you've [configured your DNS settings to resolve the private endpoint IP address to the FQDN of the connection string][azure-private-endpoint-dns]. that's customized with the following parameters:
272272

273273
* `resourceGroup`: The resource group where the storage account is deployed.
274274
* `storageAccount`: The storage account name.
275-
* `server`: The FQDN of the storage account's private endpoint (for example, `<storage account name>.privatelink.file.core.windows.net`).
275+
* `server`: The FQDN of the storage account's private endpoint.
276276

277277
Create a file named `private-azure-file-sc.yaml`, and then paste the following example manifest in the file. Replace the values for `<resourceGroup>` and `<storageAccountName>`.
278278

@@ -286,7 +286,7 @@ allowVolumeExpansion: true
286286
parameters:
287287
resourceGroup: <resourceGroup>
288288
storageAccount: <storageAccountName>
289-
server: <storageAccountName>.privatelink.file.core.windows.net
289+
server: <storageAccountName>.file.core.windows.net
290290
reclaimPolicy: Delete
291291
volumeBindingMode: Immediate
292292
mountOptions:
@@ -300,7 +300,7 @@ mountOptions:
300300
- actimeo=30 # reduce latency for metadata-heavy workload
301301
```
302302
303-
Create the storage class by using the [kubectl apply][kubectl-apply] command:
303+
Create the storage class by using the `kubectl apply` command:
304304

305305
```console
306306
kubectl apply -f private-azure-file-sc.yaml
@@ -512,3 +512,4 @@ The output of the commands resembles the following example:
512512
[access-tiers-overview]: ../storage/blobs/access-tiers-overview.md
513513
[tag-resources]: ../azure-resource-manager/management/tag-resources.md
514514
[statically-provision-a-volume]: azure-csi-files-storage-provision.md#statically-provision-a-volume
515+
[azure-private-endpoint-dns]: ../private-link/private-endpoint-dns.md#azure-services-dns-zone-configuration

0 commit comments

Comments
 (0)