You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "warrenronsiek (via GitHub)" <gi...@apache.org> on 2023/03/09 23:54:51 UTC

[GitHub] [airflow] warrenronsiek commented on issue #29969: Helm chart not generating persistent volumes

warrenronsiek commented on issue #29969:
URL: https://github.com/apache/airflow/issues/29969#issuecomment-1463007381

   They don't specify a storage class. An example that works:
   ```
   apiVersion: v1
   kind: PersistentVolume
   metadata:
     name: mlflow-pg-volume
     labels:
       app: mlflow
   spec:
     capacity:
       storage: "3Gi"
     accessModes:
       - ReadWriteOnce
     hostPath:
       path: "{{.Values.storagePath}}/postgres"
   ---
   apiVersion: v1
   kind: PersistentVolumeClaim
   metadata:
     name: mlflow-postgres
     labels:
       app: mlflow
   spec:
     accessModes:
       - ReadWriteOnce
     resources:
       requests:
         storage: "3Gi"
     selector:
       matchLabels:
         name: mlflow-pg-volume
   ```


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