I have used Azure Files share to create volumes on my clusters and have always work with kubernetes version 1.19.x, 1.20.x, 1.21.x, meaning this has worked anytime I updated my environment to a new version until now with 1.22.x I started seeing mount points being attached time out.
I have had data-mount and python-volume defined to use the same fileshare and it had worked on all other kubernetes versions but for k8 1.22.4
Reason I'm pointing this out, I had someone pointed to me this was the issue
- azureFile:
readOnly: true
secretName: storage-secret
shareName: cltds
name: python-volume
- azureFile:
readOnly: false
secretName: storage-secret
shareName: cltds
name: data-mount
Has anything changed with Azure File Share in k8 1.22.x
Warning FailedMount 43m kubelet, aks-cas-10746455-vmss000001 Unable to attach or mount volumes: unmounted volumes=[data-mount], unattached volumes=[kube-api-access-4s5h5 commonfilesvols podinfo tmp cas-default-config-volume data-mount consul-tmp-volume customer-provided-ca-certificates cas-default-permstore-volume cas-default-cache-volume retail-volume cas-tmp-volume cas-license-volume python-volume security cas-default-data-volume sss backup certframe-token]: timed out waiting for the condition
Thanks in advance,