How to copy data to k8s persistent volume?

10/1/2019

I'm working on k8s airflow setup and I need a flow to update DAGs with ho hassle.
Looks like the most "kubernetish" way is to use persistent volume.
But how to write data (DAG python files) from outside the cluster into persistent volume?

-- orkenstein
airflow
kubernetes
persistent-volumes

1 Answer

10/2/2019

You need to use external volume provider or setup NFS to achieve this. Volume has to be able to mount on different machines and then you need to reference it to Kubernetes with ReadWriteMany persistentVolume type.

-- Akın Özer
Source: StackOverflow