question

RemigiuszParchem-0622 avatar image
0 Votes"
RemigiuszParchem-0622 asked prmanhas-MSFT commented

Can I mount Shared Azure Disk to the multiple deployments/nodes in Azure Kubernetes?

Hi,

I tried mount Azure Shared Disk:
https://docs.microsoft.com/en-us/azure/virtual-machines/disks-shared

to the multiple Azure Kubernetes deployments/pods, but after deploy PODs I got an error:

"Multi-Attach error for volume "azuredisk" Volume is already used by pod(s)..."

So I have a question is it possible to use Shared Disk in Kubernetes? If so how?


Thanks

azure-kubernetes-service
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RemigiuszParchem-0622 Any updates on the issue?

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Thanks

0 Votes 0 ·

1 Answer

kasunraj avatar image
1 Vote"
kasunraj answered

No, You can't attach azure disks for multiple pods. if you want to use shared storage you can use Azure file share.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.