Closed taeviden closed 3 months ago
Blob Container is not mounted in container (files not visible in folder, read-only), but visible as mounted on AKS level.
@taeviden what does this mean? it works well on AKS? or only works well in one AKS cluster? and could you check whether you are using Azure DataLake Gen2 storage account? details: https://learn.microsoft.com/en-us/azure/aks/azure-csi-blob-storage-provision?tabs=mount-nfs%2Csecret#before-you-begin
no DataLake storage. When you check pod describe, you can see that storage was mounted, same in AKS events, etc. But when you go inside container then no data.
@taeviden what's the output of kubectl get CSIDriver blob.csi.azure.com -o yaml
? per this doc, it should have tokenRequests
field
wait, if you want to use workload identity, you should not use secretName
in volume parameter, refer to https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/workload-identity-static-pv-mount.md
What happened: Blob Container is not mounted in container (files not visible in folder, read-only), but visible as mounted on AKS level.
What you expected to happen: Files from blob container visible and possible to be edited
How to reproduce it: Terraform code;
secret:
Anything else we need to know?: Tested with different mountOptions like -o allow_other, or parameters like: mountPermissions = "0777"
inside container: drwxr-xr-x 2 root root 4096 Jul 15 13:05 grafana_data
grafana-f7dc5b56c-t6qf6:~/grafana_data$ ls -la total 8 drwxr-xr-x 2 root root 4096 Jul 15 13:05 . drwx------ 1 app app 4096 Jul 15 13:05 ..
Provided configuration working fine on: AKS:1.27.7 CSI Driver: 1.22.6
inside container: drwxrwxrwx 2 root root 4096 Jul 15 15:39 grafana_data
grafana-65bdf48894-5hpvj:~/grafana_data$ ls -la total 0 drwxrwxrwx 2 root app 4096 Jun 26 16:46 alerting drwxrwxrwx 2 root app 4096 Jun 26 16:46 csv -rwxrwxrwx 1 root app 929792 Jul 15 15:35 grafana.db -rwxrwxrwx 1 root app 32768 Jul 15 15:36 grafana.db-shm -rwxrwxrwx 1 root app 4136512 Jul 15 15:36 grafana.db-wal drwxrwxrwx 2 root app 4096 Jun 26 16:46 png drwxrwxrwx 2 root app 4096 Jun 26 16:46 storage
Both clusters using exactly same code, image, configuration.
Environment:
kubectl version
): v1.28.9uname -a
):