<p>I created disk in azure k8s cluster (4Gb standard HDD)
I am using code PV</p>
<p><a href="https://pastebin.com/HysrzFyB" rel="nofollow noreferrer">Pv file</a></p>
<p>Then I am creating PVC:</p>
<p><a href="https://pastebin.com/r7T4KZEv" rel="nofollow noreferrer">PVC yaml</a></p>
<p>Attach my volume to Pod:</p>
<p><a href="https://pastebin.com/z8MXNHXF" rel="nofollow noreferrer">Pod volume attache</a></p>
<p>But when I checked the status of my Pod, I got an error:</p>
<pre><code>root@k8s:/home/azureuser/k8s# kubectl get describe pods mypod
error: the server doesn't have a resource type &quot;describe&quot;
root@k8s:/home/azureuser/k8s# kubectl describe pods mypod
Name:         mypod
Namespace:    default
Priority:     0
Node:         aks-agentpool-37412589-vmss000000/10.224.0.4
Start Time:   Wed, 03 Aug 2022 10:34:45 +0000
Labels:       &lt;none&gt;
Annotations:  &lt;none&gt;
Status:       Pending
IP:           
IPs:          &lt;none&gt;
Containers:
  mypod:
    Container ID:   
    Image:          mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
    Image ID:       
    Port:           &lt;none&gt;
    Host Port:      &lt;none&gt;
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Limits:
      cpu:     250m
      memory:  256Mi
    Requests:
      cpu:        100m
      memory:     128Mi
    Environment:  &lt;none&gt;
    Mounts:
      /mnt/azure from azure (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nq9q2 (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  azure:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  pvc-azuredisk
    ReadOnly:   false
  kube-api-access-nq9q2:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       &lt;nil&gt;
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              kubernetes.io/os=linux
Tolerations:                 node.kubernetes.io/memory-pressure:NoSchedule op=Exists
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason              Age                 From                     Message
  ----     ------              ----                ----                     -------
  Normal   Scheduled           2m2s                default-scheduler        Successfully assigned default/mypod to aks-agentpool-36264904-vmss000000
  Warning  FailedAttachVolume  53s (x8 over 2m1s)  attachdetach-controller  AttachVolume.Attach failed for volume &quot;pv-azuredisk&quot; : rpc error: code = InvalidArgument desc = Volume capability not supported
</code></pre>
<p>Could you please help with advice, how I can solve this issue:  <code>Warning  FailedAttachVolume  53s (x8 over 2m1s)  attachdetach-controller  AttachVolume.Attach failed for volume &quot;pv-azuredisk&quot; : rpc error: code = InvalidArgument desc = Volume capability not supported</code></p>

Oleg
<blockquote>
<p>...Volume capability not supported</p>
</blockquote>
<p>Try update your PV:</p>
<pre><code>...
accessModes:
  - ReadWriteOnce  # &lt;-- ReadWriteMany is not supported by disk.csi.azure.com
...
</code></pre>
<p>ReadWriteMany is supported by file.csi.azure.com (Azure Files).</p>
