Unable to mount volumes for pod aks. " So what I did should be correct.


Unable to mount volumes for pod aks. --- Warning FailedMount 4m21s (x2 over 6m35s) kubelet Unable to attach or mount volumes: unmounted… Apr 6, 2020 · Unable to mount volumes for pod "x": timeout expired waiting for volumes to attach or mount for pod "x" My PersistentVolume and PersistentVolumeClaim yaml files look like this: Unable to mount storage from an Azure Storage Account. I was able to do this previously with YAML as below volumes: - azureFile: secretName: kube-storage-secret shareName:… Jan 15, 2021 · Question What is the expected behaviour for multiple pods, trying to mount the same ReadWriteOnce pvc? My expectation would be that one would successfully start and others would stuck either in Pending or ContainerCreating state, unable Dec 6, 2020 · Warning FailedMount 21s kubelet Unable to attach or mount volumes: unmounted volumes=[nginx-config], unattached volumes=[code-storage default-token-lbr79 nginx-config mysql-persistent-storage]: timed out waiting for the condition Feb 27, 2019 · Is this a bug report or feature request? Bug Report Deviation from expected behavior: unable to mount a Shared FileSystem to a client Expected behavior: a successful mount How to reproduce it (mini Warning FailedMount 47m kubelet Unable to attach or mount volumes: unmounted volumes=[config], unattached volumes=[anime config movies tv kube-api-access-bmbhd]: timed out waiting for the condition Any suggestions would be greatly appreciated. The image-registry pod is stuck in _STATUS=ContainerCreating_. MountDevice failed for volume "somevol" : rpc error Oct 10, 2024 · You deploy a Kubernetes resource such as a Deployment or a StatefulSet, in an Azure Kubernetes Service (AKS) environment. During the attempt to deploy the pod with the disk on node #2 with ID 1 (aks-agentpool-111111- vmss_2) this fails. 50s Warning FailedMount pod/image-registry-xxxx-yyyy Unable to attach or mount volumes: unmounted Oct 3, 2022 · Hello all; I actually have an AKS running in Azure and have some application attached with disk automatically provisionned while launching helm charts. Apr 11, 2018 · Unable to mount hostPath file volume to a directory mounted by a secret volume #62417 Closed robbiezhang opened on Apr 11, 2018 Aug 21, 2023 · Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 52m default-scheduler Successfully assigned aptly/aptly-0 to aks-nodepool1-34304298-2 Warning FailedMount 50m kubelet Unable to attach or mount volumes: unmounted volumes=[datadir], unattached volumes=[private-key aptly-ssh-host-keys nginx dotssh temp init-config aptly-ssh-client-keys datadir internal-crt Oct 2, 2020 · On our AKS cluster I set installed the key vault CSI driver using helm char v 0. My suspicion is it’s related to mount count. Sep 21, 2021 · Mounted Azure File shares in AKS deployments using Cluster UAMI with Reader & Storage account key operator service role. SetUp failed for volume "docker-sock" : hostPath type check failed: /var/run/docker. microsoft. Created a new namespace and labelled istio-injectio=enabled. list of unmounted volumes= [logs filebeat-data]. SetUp failed for volume "secret-1" : rpc error: code = DeadlineExceeded desc = context deadline exceeded Warning FailedMount 86s (x8 over 17m) kubelet Unable to attach or mount volumes: unmounted volumes Mar 2, 2021 · 9 I want to write some data into volume i. com/en-us/azure/aks/azure-files-volume Pods will not init because of Mount. I would like to store some output file logs on a persistent storage volume. SetUp failed for volume "nfs" : mount failed: exit status 32 Asked 7 years, 10 months ago Modified 5 years, 4 months ago Viewed 66k times Feb 4, 2022 · Warning FailedMount 19s (x7 over 18m) kubelet Unable to attach or mount volumes: unmounted volumes=[ebs-volume], unattached volumes=[ebs-volume kube-api-access-rq86p]: timed out waiting for the condition This is my ebs-volume the last one which I have connected to the master node on which I am performing operations right now Nov 8, 2018 · What happened: Hello, I am trying to mount a persistent volume using dynamic provisionning. Due the retry jt recover after a few minutes. Apr 7, 2025 · Describes errors that occur when mounting Azure disk volumes fails, and provides solutions. You can do it by manual removal of files Sep 11, 2020 · Warning FailedMount 2m51s (x17 over 3h31m) kubelet, aks-agentpool-20240184-1 Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[spark-history-server-1599813147-token-bglz7 data]: timed out waiting for the condition Any help will be appreciated! Mar 4, 2024 · I have tried on an AKS 1. Thank you. Thank Apr 21, 2017 · But, when you mount a volume to a pod, it always gets mounted with the permission of root:root. Pod can no longer mount volumes. Create user group and assign group ID in Dockerfile. Istio proxy is not able to mount configmap "istio-ca-root-cert" Unable to mount volumes for pod "azure-vote-front When creating a persistent volume, an attempt to mount the volume fails After deleting a persistent volume or a persistent volume claim in an AKS Arc environment, a new persistent volume is created to map to the same share. Worked once, and then after pods restarted, no longer works. Aug 6, 2018 · Warning FailedMount 15m (x3 over 20m) kubelet, aks-agentpool-12873730-1 Unable to mount volumes for pod "yocto-agent-10ssr-sjcxn_jenkins(fce1a7aa-996f-11e8-8f58-0a58ac1f107d)": timeout expired waiting for volumes to attach or mount for pod "jenkins"/"yocto-agent-10ssr-sjcxn". However, the pod stays in the ContainerCreating status. SetUp failed for volume "pvc-" : mount failed: exit status 32 Mounting command May 16, 2021 · I am trying to spin minio pods on AKS service, the pod runs for keeps crashing, here are the detailed logs: Waiting for a minimum of 2 disks to come online (elapsed 0s) Waiting for a minimum of 2 d Mar 24, 2022 · We have deployed PVC and MySql DB pod in AKS . Please do mention this issue in the case description so our teams can coordinate to help you. You can check it using the command $ df -h. Why my deployments are stuck and the pods cannot be deployed? Sep 21, 2024 · Azure Disk: The mounting mode is ReadWriteOnce, and it can only be used by a single Pod (official documentation says it can be used on only one AKS node, but in practice, it can only be used by Aug 4, 2021 · On AKS cluster we can't use autmatically created azurefile storage class. Setup failures Jul 17, 2023 · AKS pod creation is failing with below error Warning FailedMount 10m (x428 over 3d23h) kubelet Unable to attach or mount volumes: unmounted volumes=[dsc-nfs Mar 20, 2018 · Can someone please let me know what are the steps that needs to be followed to mount an Azure fileshare that has files in it, and will need to mount it on a pod in Kubernetes. All projects can not pull images from the internal image registry. Only after a manual attach via portal or cli of the azure managed disk to the aks node, deployment was successful. PVC is bound successfully but during pod initialization we get this error: Warning FailedMount 1s kubelet … Dec 14, 2023 · ReadWriteOnce access mode still can allow multiple pods to access the volume when the pods are running on the same node. Anything else we need to know?: Here is the PersistentVolume YAML being used: Feb 25, 2025 · Learn about storage in Azure Kubernetes Service (AKS), including volumes, persistent volumes, storage classes, and claims. Jun 9, 2023 · Unable to attach or mount volumes: unmounted volumes=[elasticsearch-data], unattached volumes=[elastic-internal-scripts elastic-internal-elasticsearch-config-local elastic-internal-unicast-hosts elastic-internal-remote-certificate-authorities elasticsearch-data elasticsearch-logs elastic-internal-http-certificates elastic-internal-secure-settings elastic-internal-transport-certificates elastic Feb 28, 2025 · [BUG] Unable to mount deprecated Azure file in-tree volume from kubernetes 1. Please follow the below steps for the same. I want it on one node and this configuration should support mount of multiple pods. The error message I am receiving in the pod is Warning FailedMount 38s kubelet May 3, 2018 · I have an application running over a POD in Kubernetes. How to reprod Nov 8, 2022 · Warning FailedMount 4m15s (x7 over 17m) kubelet Unable to attach or mount volumes: unmounted volumes=[secrets-mount], unattached volumes=[secrets-mount kube-api-access-l6t7n]: timed out waiting for the condition Warning FailedMount 2m23s (x10 over 18m) kubelet MountVolume. After the cluster upgrade the registry pod fails with FailedMount error. list of unmounted volumes=[www]. yaml pod's status is always MountVolume. 18 we don't have such issue, also during upgrade K8S doesn't show any errors or incompatibility messages. During that upgrade, a pod ('f 41m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes= [cm-pvc], unattached volumes= [cm-pvc cm-secret kube-api-access-rck9w cm-config]: timed out waiting for the condition Nov 15, 2022 · 16m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes= [cm-pvc], unattached volumes= [kube-api-access-l7xcp cm-config cm-pvc cm-secret]: timed out waiting for the condition 8m30s Normal Scheduled pod/sspcm-ibm-ssp-cm-0 Successfully assigned sspproj/sspcm-ibm-ssp-cm-0 to aks-nodepool1-35256898-vmss000001 Dec 6, 2015 · Warning FailedMount 3m18s kubelet Unable to attach or mount volumes: unmounted volumes=[temp-volume], unattached volumes=[nfsvol-vre-data temp1-volume consumer1-serviceaccount-token-sdfsdf nfsvol]: timed out waiting for the condition Warning FailedMount 71s (x10 over 5m20s) kubelet MountVolume. May 16, 2022 · Warning FailedMount 99s kubelet Unable to attach or mount volumes: unmounted volumes=[red-tmp data logs docker src red-conf], unattached volumes=[red-tmp data logs docker src red-conf]: timed out waiting for the condition On 1. Anything else we need to know?: I tried removing the azure-file volume but it made no difference. On Azure, volumes can be created via Azure Disks or Azure Files. In order to do that, I created a volume over the NFS and bound i Aug 11, 2025 · The AKS pod failed to mount the Azure Blob Storage Data Lake Gen2 due to one or more of the following reasons: incorrect storage account configuration, missing or incorrect Kubernetes secret, incorrect pod definition, Azure File driver issues, network connectivity issues, or RBAC permission problems. Several other solutions are available both for AKS and for other cloud providers. CPU\\Memory on the node is not an issue, this is an 80 core 600 GB node and most pods are idle. To troubleshoot issues that affect the provider or driver, examine the logs from the pod that's running on the same node as your application pod. I have created my storage class following the official Microsoft documentation, but my deployments are not able to mount the volumes. Feb 28, 2021 · 62s Warning FailedMount pod/hello-world-t4zhm MountVolume. list of unmounted volumes=[output]. list of unattached volumes=[pega What happened: kubelet Unable to attach or mount volumes unmounted volumes= [default-token-kzw5v] What you expected to happen: How to reproduce it (as minimally and precisely as possible): kubectl apply -f test. . This article shows you how to dynamically create persistent volumes with Azure Disks in an Azure Kubernetes Service (AKS) cluster. list of unattached/unmounted volumes= [redis-data] Apr 10, 2023 · Hello, I'm looking for an example of mounting an existing Azure File Share to a pod running on AKS. A hostPath volume mounts a file or directory from the host node's filesystem into your Pod. Aug 16, 2021 · This issue has been tagged as needing a support request so that the AKS support and engineering teams have a look into this particular cluster/issue. sh script the pod is not coming up and in events it is showing up unable to mount or attach volumes. Detach PVC manually from AKS Node 22s Warning FailedMount Pod Unable to mount volumes for pod "nginx_default(bd16b9c8-97b2-11e9-9018-eaa2ea1705c5)": timeout expired waiting for volumes to attach or mount for pod "default"/"nginx". Common Causes and Solutions: 1. SetUp failed for Apr 3, 2024 · Hi Team, I'm trying to spin up multi-instance mq in AKS, when I try to run the install. Just be painted and wait for a while, then take a check with the command: By the way, when you create the AKS cluster, it’s service principal already have the Contributor role of the resource group which the nodes in. Oct 12, 2021 · One of the pods in my local cluster can't be started because I get Unable to attach or mount volumes: unmounted volumes=[nats-data-volume], unattached volumes=[nats-data-volume nats-initdb-volume k Why is AKS unable to Mount volumes on pods? So the first failure because of the disks does not attach to the nodes. I was able to do this previously with YAML as below volumes: - azureFile: secretName: kube-storage-secret shareName:… Aug 27, 2024 · A Volume Mount Error occurs when Kubernetes fails to attach and mount the specified volume to the pod, often leading to pod crash loops or failed deployments. The deployment will create a pod that mounts a PersistentVolumeClaim (PVC) referencing an Azure Blob storage container. Errors like no space left on device, which is unexpected. with type ‘local’ again has the limitation, not recommended for production use as the volume is tightly bound to k8s host, if the host runs with an issue, the pod accessing that volume becomes unstable. Setup In order to use CIFS mounts on Kubernetes there are… Feb 17, 2022 · What happened: Creating a manifest for pvc and trying to use it in a pod results in errors: Events: Type Reason Age From Message Warning FailedMount 27m (x235 over 41h) kubelet Unable to attach or mount volumes: unmounted volumes= [volume Mar 6, 2020 · Warning FailedMount 4m45s (x2 over 7m1s) kubelet, aks-agentpool-15155817-vmss000001 Unable to mount volumes for pod "pega-stream-0_mypega(8a5cb7b0-5fdd-11ea-9878-7a7ea9d448f2)": timeout expired waiting for volumes to attach or mount for pod "mypega"/"pega-stream-0". Jul 24, 2024 · Ive some trouble mounting a single disk Premium_LRS in Azure Kubernetes (AKS). Mar 28, 2019 · Warning FailedMount 88s (x16 over 35m) kubelet, aks-agentpool-57634498-0 Unable to mount volumes for pod "hub-7476649468-qfj75_res-jhub(fd95bd73-5141-11e9-bb1e-166ce5dfcaae)": timeout expired waiting for volumes to attach or mount for pod "res-jhub"/"hub-7476649468-qfj75". Also if exporting and mounting wasn't done properly, should kubectl tell it out that it's unable to mount a volume on a Pod. SetUp failed for volume "temp-volume" : hostPath type check failed: /tmp/folder is not a directory Nov 28, 2022 · On our production bare metal cluster, on some nodes which are running batch jobs, we are observing that pods are taking around 5-6 minutes to start due to attachment/volume timeout even for a simple configmap. I want to store sonar logs, data, conf and extension on persistent volumes. Validate that the Azure Disk resource move succeeded. This post will show you how to resolve Failed AttachVolume and FailedMount warnings in Kubernetes and how to avoid the issue in the future. sock is not a socket file 42s Warning FailedMount pod/hello-world-t4zhm Unable to attach or mount volumes: unmounted volumes=[docker-sock], unattached volumes=[podmetadata docker-sock default-token-62lxs]: timed out waiting for the condition 2m56s Aug 23, 2019 · Q: Is it possible to setup a default NFS volume mount for all nodes on an AKS cluster using kubectl? It appears to be a compatibility constraint between Azure and Kubernetes for “default” storageClass. SetUp failed for volume Sep 21, 2021 · 1 Mounted Azure File shares in AKS deployments using Cluster UAMI with Reader & Storage account key operator service role. one of devs accidentally restarted the db pod which results into following error. list of unmounted volumes= [data]. Unable to attach or mount volumes: unmounted volumes= [storage], unattached volumes= [storage kube-api-access-pmmwd sc-datasources-volume config ldap]: timed out waiting for the condition Feb 26, 2020 · Deleted pod, attempted to recreate with same manifest. 27. list of unattached volumes=[test default Jan 27, 2021 · Normal Scheduled 19m default-scheduler Successfully assigned default/ms-everquotebid-pod-6764f988c-v9kts to aks-agentpool-30824605-2 Warning FailedMount 2m20s (x8 over 17m) kubelet MountVolume. MountVolume. If you instead create the disk in a separate resource group, you must grant the Azure Kubernetes Service (AKS) service principal for your cluster the Contributor role to the disk's resource Mar 30, 2022 · What happened: Deploying a Pod with volumes defined fail due to unable to attach or mount volumes. Create user with user ID and add to the group in Dockerfile. A cluster update failed due to an image-registry issue. What you expected to happen: Pod to start and mount all volumes. But when Mar 31, 2020 · Starting pods takes long time (8-10 mins)in some cases due to volume attach process in AKS the below is the pod describe: Warning FailedMount 2m16s (x4 over 9m10s) kubelet, aks-test- Mar 30, 2020 · Start of AKS cluster that has a mount to a SMB 3 windows file share, unceremoniously delete a pod (cancel a helm deployment, delete pod using kubernetes dashboard) and other pods and any new pods on the node can no longer communicate with the Windows File Share. Sep 2, 2019 · I would like to use sonar-qube and deploy it on AKS (Azure Kubernetes). For single pod access, please see ReadWriteOncePod. What I've tried: Redeploying the pod deployments Redeploying storage Confirmed the pvc being referred to does in fact exist Apr 9, 2019 · Unable to mount volumes for pod "pod-xx)": timeout expired waiting for volumes to attach or mount for pod "pod-xx"/"pod-xx-data-867dcbbf45-f7rwv". list of unattached volumes= [config logs filebeat-config filebeat-data default-token-8xtpq] Anything else we need to know: Aug 18, 2020 · Also I am able to connect to it within my minikube and also my actual ubuntu system. list of unmounted volumes=[test]. nfs on that node? Aug 1, 2024 · Move the Azure Disk resource to the target resource group in the same subscription or a different subscription. A Pod cannot start and presents the following error: Unable to attach or mount volumes: unmounted volumes= [], unattached volumes= []: timed out waiting for the condition MountVolume. Solution To resolve this kind of issue, you have to "make some space" in volume. list of unattached volumes= [data] Jun 12, 2018 · I am unable to mount a configmap using multi-folder volume mount. (mount | wc -l = 2700+) If someone has a direct answer that Mar 19, 2023 · Storage in AKS Volumes are created as kubernetes resource backed by azure storage to store and retrieve data. and no space left on device occurs when your application is using 100% of available space. Dec 21, 2020 · I have the problem that I cannot mount volumes to pods in Kubernetes using the Azure File CSI in Azure cloud. Volumes can be manually created and assigned to pods or dynamically create and bound to pods via storage classes . 2 days ago · 0s Warning FailedMount pod/jupyter-rberndsen Unable to attach or mount volumes: unmounted volumes= [volume-rberndsen], unattached volumes= [volume-rberndsen]: timed out waiting for the condition 3 days ago · We demonstrated how Azure Blob Store can be used to mount read/write volumes on pods residing in different availability zones. 9 in west EU Multi-Attach error for volume "pvc-2df1008d-7863-11e8-9ad1-0a58ac1f1349" Volume is already exclusively attached to one node and can't be attached to another Unable to mount volumes for pod "grafana-67d785cdb5-clv9f_ May 22, 2022 · 3m1s Warning FailedMount pod/nginx-deployment-7c54456f-2sk89 Unable to attach or mount volumes: unmounted volumes=[stresstest-pvc kube-api-access-f2nnp], unattached volumes=[stresstest-pvc kube-api-access-f2nnp]: timed out waiting for the condition What did you expect to happen? Nov 15, 2022 · 16m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes= [cm-pvc], unattached volumes= [kube-api-access-l7xcp cm-config cm-pvc cm-secret]: timed out waiting for the condition 8m30s Normal Scheduled pod/sspcm-ibm-ssp-cm-0 Successfully assigned sspproj/sspcm-ibm-ssp-cm-0 to aks-nodepool1-35256898-vmss000001 Sep 14, 2023 · The PVC and PV creaed and all are in Bound status. But, it is not working after key rotation. Mar 4, 2020 · Warning FailedMount 92s (x6 over 12m) kubelet, gke-node-1 Unable to mount volumes for pod "ubuntu-deployment-2q64z_default(9dc28e95-6434-11ea-a666-42010a9c0058)": timeout expired waiting for volumes to attach or mount for pod "default"/"ubuntu-deployment-2q64z". Apr 8, 2025 · ``` Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 2m default-scheduler Successfully assigned default/mysql-pod to aks-nodepool-12345678-vmss000000 Warning FailedMount 1m (x5 over 2m) kubelet Unable to attach or mount volumes: unmounted volumes= [mysql-data], unattached volumes= [mysql-data kube-api-access-xyz]: timed out waiting for the condition Warning Mar 5, 2024 · The PVC and PV created, and all are in Bound status. But it fails showing this message : MountVolume. After re-create the pod and pvc, the new pod failed to start. list of unmounted volumes=[hub-db-dir]. Create the persistent volume (PV) and the persistent volume claim (PVC) and then mount the moved disk as a volume on a pod on the target cluster. What you expected to happen: Expected PVCs to mount into pods. Jun 25, 2018 · AKS GA 1. list of unmounted volumes=[pega-stream]. Sep 5, 2023 · Warning FailedMount 99s (x4 over 8m26s) kubelet Unable to attach or mount volumes: unmounted volumes=[www], unattached volumes=[www kube-api-access-dr674]: timed out waiting for the condition Apr 25, 2025 · Learn how to create a static or dynamic persistent volume with Azure Files for use with multiple concurrent pods in Azure Kubernetes Service (AKS) Jul 21, 2021 · Background When setting up my bare-metal Kubernetes cluster I initially used a NFS provisioner with a Windows NFS share for my PV, however Windows NFS shares often cause more issues than they solve. Here is the pod describe result. May 25, 2023 · (Note: this is a public version of a support ticket; reaching out due to reasons described below. There the pod gives a lot of errors that it can not mount since the volume is dynamicly created. Rather I am able to create files by executing touch commands within Pod container. It was successfully mounted in all the POD replicas and able to create the files/list all the files of Azure file share from a… Jun 9, 2021 · Normal Scheduled 12m default-scheduler Successfully assigned elastic-system/mypod to aks-default-17728794-vmss00001d Warning FailedMount 10m kubelet Unable to attach or mount volumes: unmounted volumes=[log], unattached volumes=[default-token-whr4b log]: timed out waiting for the condition Apr 15, 2018 · Warning FailedMount 1m (x2 over 3m) kubelet, aks-agentpool-15629614-1 Unable to mount volumes for pod "redis-app-0_newsdesk (630216d3-4313-11e8-971b-0a58ac1f08a0)": timeout expired waiting for volumes to attach/mount for pod "newsdesk"/"redis-app-0". I tried to backup one application disks, incl Jun 29, 2021 · What happened: Objective: Trying to install csi-smb-driver in our aks cluster and and mount DFS folder to access pods from AKS pods. list of unattached volumes=[volume default May 6, 2020 · What happened: A pod unable to attach or mount volumes The error: Warning FailedMount 15s kubelet, aks-nodepool1-* (combined from similar events): MountVolume. Apr 16, 2019 · The main issue is that attaching external Azure resources is slow on which initially a retry is there. " So what I did should be correct. Aug 19, 2024 · In Azure Kubernetes Service (AKS), Persistent Volumes (PVs) are designed to have a lifecycle independent of the pods that use them. In the past I used the FileShare to mount the same volume to different pods so they could access the same drive/folder Apr 8, 2022 · │ condition │ │ Warning FailedMount 44s (x8 over 34m) kubelet Unable to attach or mount volumes: unmounted volumes= [storage], unattached volumes= [tmp config storage kube-api-access-kz622]: timed out waiting for the │ │ condition Those aks node kernel logs also seem to be related: What happened: Delete pods, pvc and pv to clean up a statefulset service. I deployed one app to the namespace and the pod is stuck in init stage. When you run the kubectl describe pods command, you may see one of the following errors in the Oct 6, 2021 · From kubelet logs I see the following repeating many times Unable to attach or mount volumes for pod "api-bf5869665-zpj4c_default (521b43c8-319f-425f-aaa7-e05c08282e8e)": unmounted volumes= [shared-mount], unattached volumes= [geekadm-net deployment-role-token-6tg9p shared-mount]: timed out waiting for the condition; skipping pod Oct 17, 2019 · Unable to mount volumes for pod: timeout expired waiting for volumes to attach or mount kubernetes/kubernetes#65500 Persistent Volume failing to mount - timeout - AKS kubernetes/kubernetes#75548 Jul 13, 2023 · Warning FailedMount 7m15s (x5 over 27m) kubelet Unable to attach or mount volumes: unmounted volumes=[state], unattached volumes=[kube-api-access-tl55s state]: timed out waiting for the condition Warning FailedMount 31s (x11 over 34m) kubelet Unable to attach or mount volumes: unmounted volumes=[state], unattached volumes=[state kube-api-access-tl55s]: timed out waiting for the condition Dec 16, 2022 · I am trying to deploy pod with file mount to azure file share, it seems to bound just fine, but does not mount on the container - could i get some help to make it mount please I create secret: kube Sep 12, 2023 · Warning FailedMount 3m18s (x4 over 12m) kubelet Unable to attach or mount volumes: unmounted volumes=[files-volume], unattached volumes=[kube-api-access-q9pjc files-volume]: timed out waiting for the condition Apr 29, 2022 · Hello there, I am trying to mount an Azure fileshare onto AKS pod and seeing this error - MountVolume. The structure of my volume-mount. Dec 13, 2024 · Step 2: Check the Secrets Store Provider and CSI Driver pod logs Azure Key Vault Secrets Provider add-on logs are generated by both provider and driver pods. I've also looked at the nodes in the Azure Portal Feb 12, 2020 · The disk is already attached to node #1 with the ID 0 (aks-agentpool-111111- vmss_1). list of unattached volumes Jul 10, 2025 · Troubleshoot a file share for Azure Files that doesn't mount as storage on your Azure Kubernetes Service (AKS) clusters. This approach allows the AKS cluster to access and manage the disk resource. 10 with only windows enabled and linux disabled (for both the driver and provider). list of unattached volumes=[volume default-token-92rj6] Sep 6, 2024 · In an Azure Kubernetes Service (AKS) environment, you deploy a Kubernetes resource such as a Deployment and a StatefulSet. ) Describe the bug We were performing an upgrade of this AKS cluster. list of unmounted volumes= [gdb-volume]. Follow the steps here to create a support ticket for Azure Kubernetes Service and the cluster discussed in this issue. SetUp failed for volume "buy-vol" : Couldn't get secret ns1/app-buy-secret │ │ Warning FailedMount 6m55s kubelet Unable to attach or mount volumes: unmounted volumes=[buy-vol], unattached volumes=[buy-vol│ Aug 11, 2025 · The AKS pod failed to mount the Azure Blob Storage Data Lake Gen2 due to one or more of the following reasons: incorrect storage account configuration, missing or incorrect Kubernetes secret, incorrect pod definition, Azure File driver issues, network connectivity issues, or RBAC permission problems. MountDevice failed for volume "adapter-pv" : rpc error: code = Unknown desc =… Aug 11, 2025 · The AKS pod failed to mount the Azure Blob Storage Data Lake Gen2 due to one or more of the following reasons: incorrect storage account configuration, missing or incorrect Kubernetes secret, incorrect pod definition, Azure File driver issues, network connectivity issues, or RBAC permission problems. But it is not attached to the pod. Jan 21, 2022 · Hi! I’m new here so bear with me please. SetUp failed for volume "init-var-volume" : rpc error: code = Unknown desc = mount failed: exit status 32 Dec 4, 2020 · I created all the directories inside the hosts directory as referred to in deployment but that does not seem to matter either. 32 #4821 Dec 9, 2021 · │ Warning FailedMount 8m57s (x2 over 8m58s) kubelet MountVolume. You can use a persistent volume with one or many pods, and you can provision it dynamically or statically. In fact the actual container crash was due an issue with ACME and Traefik itself and not directly with the volumes. Event from describing the pod: Events: Type Reason Age From Message Warning FailedMount 38s (x76 over 170m) kubelet, aks-linux-35064155-vmss000000 Jul 29, 2018 · Warning FailedMount 1m (x4 over 8m) kubelet, aks-agentpool-23065106-0 Unable to mount volumes for pod "nginx-flex-kv-podid_default(be10160c-93bb-11e8-b1ce-aa6af2addf8c)": timeout expired waiting for volumes to attach or mount for pod "default"/"nginx-flex-kv-podid". I can find the volumes and mount point using: kubectl describe pods pod-name Pods remain in "ContainerCreating" state. Also, no PV/PVCs are created on the cluster. Kubernetes is not able to attach persistent volume to flux pods. SetUp failed for volume Mar 20, 2018 · This blog will show you how to fix Failed Attach Volume and Failed Mount errors when running Kubernetes on Microsoft Azure using Azure Disks. Mar 30, 2020 · Posting this Community Wiki as a solution was mentioned in the comment section. Aug 16, 2021 · Hi there 👋 AKS bot here. list of unattached volumes=[www default-token-lnfpg] Sep 4, 2022 · What happened: Following instructions from this page: https://docs. In general, if you have issues with Azure AKS you should have a look at the Microsoft Documentation page. > Warning FailedMount pod/pod-0 Unable to mount volumes for pod "pod-0 (1111111111-1111-1111-1111-111111111)": timeout expired waiting for volumes to attach or mount for pod "pod"/"pod-0". I still see Warning FailedMount 25s kubelet Unable to attach or mount volumes: unmounted volumes=[nginx-config], unattached volumes=[code-storage default-token-bhtvz nginx-config mysql-persistent-storage]: timed out waiting for the condition Why timed-out or waiting Sep 28, 2022 · What happened: Using CSI blob fuse driver to statically access blob container as persistent volume. The events log says: Unable to mount volumes for pod "build-0_prod (56c4d0b2-5494-4731-bf3a-778ab0123b Jun 30, 2021 · with type ‘emptyDir’ , it worked, but this type of volume lasts for the life of the pod, so not a reliable option. However, it looks like AKS is not able to mount Mar 14, 2022 · When trying to deploy their AKS clusters, several of our teams have reported failures to mount persistent volumes, with the following symptomatic events in the descriptions of the pods that failed to deploy: Jun 1, 2024 · The "Unable to mount volumes for pod" error occurs when Kubernetes is unable to mount the specified volume to a pod. The pod manifest which we used for testing this timeout error: apiVersion: v1 kind: Pod Oct 31, 2023 · Warning FailedMount 104s kubelet Unable to attach or mount volumes: unmounted volumes=[file-storage], unattached volumes=[file-storage kube-api-access-xbprr]: timed out waiting for the condition Kind of stumped. Able to install and followed the instructions from here includin Feb 4, 2022 · 2m10s Warning FailedMount pod/jenkins-poc-0 Unable to attach or mount volumes: unmounted volumes= [jenkins-home], unattached volumes= [admin-secret jenkins-cache jenkins-home plugins jenkins-poc-token-5rg88 jenkins-config sc-config-volume plugin-dir tmp-volume]: timed out waiting for the condition Sep 20, 2021 · Unable to mount kube-api-access volume and the pod deployment fails General Discussions asokanp September 20, 2021, 1:10pm 1 Mar 25, 2020 · Istiod is not responding to new namespaces. If you will configure pod to use Persistent Volume with HostPath it will be mount to Minikube VM/container not your Azure VM. Even though we have contributor role. I’m having issues with pods taking in excess of 10 minutes between node allocation and pvc mounting as the pod count on a single node increases. Given this I decided to use CIFS as a work around. Oct 6, 2023 · Warning FailedMount 35s (x8 over 103s) kubelet MountVolume. list of unattached volumes=[volume default-token-92rj6] Jun 26, 2019 · 22s Warning FailedMount Pod Unable to mount volumes for pod "nginx_default(bd16b9c8-97b2-11e9-9018-eaa2ea1705c5)": timeout expired waiting for volumes to attach or mount for pod "default"/"nginx". 0. Dec 1, 2017 · These errors results in being unable to mount volumes for pod because volume is already exclusively attached to one node and can’t be attached to another. list of unattached volumes= [gdb-volume Aug 11, 2025 · A persistent volume represents a piece of storage provisioned for use with Kubernetes pods. Jan 31, 2022 · Hello @SbgMartin I am also kind of same issue, Unable to attach or mount volumes: unmounted volumes=[efs-staging], unattached volumes=[efs-staging secrets-store-inline kube-api-access-tm2vz aws-iam-token]: timed out waiting for the condition I have the security group the EKS, its attached and IAM roles are also assigned properly. However, when attempting to mount the volume, the mount fails, and the pod times out with the error, NewSmbGlobalMapping Warning FailedMount 11m kubelet, aks-nodepool1-38380500-1 Unable to mount volumes for pod "web-0_default(391c9d85-7637-11e9-b944-32bee2f5b21e)": timeout expired waiting for volumes to attach or mount for pod "default"/"web-0". e one of the directory which is residing in this volume, I can exec a pod, but i am not aware how to check the attached volume and write data to it. Issue I'm trying to deploy mariadb to aks using helm but consistently hitting a 'Unable to mount volumes for pod timeout expired waiting for volumes to attach/mount for pod' error which stops the deployment dead. list of unattached volumes May 30, 2022 · I am trying to attach storage blob container as volume onto a pod in AKS and facing the below errors from CSI Blob container and Errors in POD: MountVolume. This issue has been tagged as needing a support request so that the AKS support and engineering teams have a look into this particular cluster/issue. SetUp failed for volume "agrial-magento-media" : mount fa Oct 25, 2019 · Warning FailedMount 116s kubelet, aks-nodepool1-42586154-vmss000000 Unable to mount volumes for pod "gdb-5b7d968d9b-nch2v_blah (1827d4e9-6509-11ea-a5d7-9ebbc8e87a31)": timeout expired waiting for volumes to attach or mount for pod "blah"/"gdb-5b7d968d9b-nch2v". The deployment will create a pod that mounts a PersistentVolumeClaim (PVC) referencing an Azure file share. Only in the Pod, files seems to be missing. Azure-disk storage class is working without problems. list of unmounted volumes=[volume]. Archived post. yaml is below: DOESN'T WORK apiVersion: v1 kind: Pod metadata: name: test-web spec: contain What steps did you take and what happened: Pod fails to mount volume, stuck in Init phase. This means that even if a pod is deleted or scaled down, the data stored in the PV remains intact. When you run the kubectl describe pods command, you might see one of the following errors in the command Jun 28, 2020 · From the docs here When you create an Azure disk for use with AKS, you can create the disk resource in the node resource group. It was successfully mounted in all the POD replicas and able to create the files/list all the files of Azure file share from a pod. This error can be due to several reasons, such as incorrect configuration, unavailable volume, or permissions issues. 9 node, it shows azure file nfs mount works well on the node, can you try nfs mount on the node? and what's the output of whereis mount. So, the non-root user must have access to the folder where it wants to read and write data. faijc xcaiq cxasiwy xcdjlc evdvb slbynt hhw lfjfqx xby dvyz