You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/25 11:39:21 UTC

[GitHub] [airflow] raefezzeldin commented on issue #18135: Dags persistence on MultiNode Kubernetes Cluster

raefezzeldin commented on issue #18135:
URL: https://github.com/apache/airflow/issues/18135#issuecomment-979130865


   hi @potiuk 
   
   I have tried to use AzureFileShare. but I am facing an issue in git-sync-init container (Scheduler)
   
   `MountVolume.SetUp failed for volume "pv-airflowdags" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t cifs -o file_mode=0777,dir_mode=0777,vers=3.0,gid=0,actimeo=30,mfsymlinks,<masked> //tpaydatasa.file.core.windows.net/fs-airflowdags /var/lib/kubelet/pods/xxxx/volumes/kubernetes.io~azure-file/pv-airflowdags Output: mount: /var/lib/kubelet/pods/xxx/volumes/kubernetes.io~azure-file/pv-airflowdags: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.`
   
   this is the storage class I have created 
   
   ```
   kind: StorageClass
   apiVersion: storage.k8s.io/v1
   metadata:
     name: my-azurefile
   provisioner: kubernetes.io/azure-file
   mountOptions:
     - dir_mode=0777
     - file_mode=0777
     - uid=0
     - gid=0
     - mfsymlinks
     - cache=strict
     - actimeo=30
   parameters:
     skuName: Premium_LRS
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org