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/04/28 19:18:26 UTC

[GitHub] [airflow] zorzigio commented on issue #15540: git-sync with persistent volume claim

zorzigio commented on issue #15540:
URL: https://github.com/apache/airflow/issues/15540#issuecomment-828714799


   Thanks @Dr-Denzy for looking into this.
   
   I guess the error I am seeing is related to the `azurefile` storageClass which seems to be the difference between my config and yours.
   
   In Azure, the default available classes I see are (given by `kubectl get sc`)
   
   ```bash
   NAME                PROVISIONER                RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION
   azurefile           kubernetes.io/azure-file   Delete          Immediate              true 
   azurefile-premium   kubernetes.io/azure-file   Delete          Immediate              true 
   default (default)   kubernetes.io/azure-disk   Delete          Immediate              true 
   managed             kubernetes.io/azure-disk   Delete          WaitForFirstConsumer   true
   managed-premium     kubernetes.io/azure-disk   Delete          Immediate              true
   ```
   
   and in particular the details of the one I was using are (`kubectl get sc azurefile -o yaml`)
   
   ```bash
   allowVolumeExpansion: true
   apiVersion: storage.k8s.io/v1
   kind: StorageClass
   metadata:
     annotations:
       kubectl.kubernetes.io/last-applied-configuration: |
         {"allowVolumeExpansion":true,"apiVersion":"storage.k8s.io/v1beta1","kind":"StorageClass","metadata":{"annotations":{},"labels":{"kubernetes.io/cluster-service":"true"},"name":"azurefile"},"parameters":{"skuName":"Standard_LRS"},"provisioner":"kubernetes.io/azure-file"}
     creationTimestamp: "2020-03-27T00:57:04Z"
     labels:
       kubernetes.io/cluster-service: "true"
     name: azurefile
     resourceVersion: "1265389"
     selfLink: /apis/storage.k8s.io/v1/storageclasses/azurefile
     uid: 412c26c7-3368-49f5-b06d-3c81bf4d7125
   parameters:
     skuName: Standard_LRS
   provisioner: kubernetes.io/azure-file
   reclaimPolicy: Delete
   volumeBindingMode: Immediate
   ```
   
   what is the definition of the storageClass `manual` you are using?
   


-- 
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.

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