orkenstein
orkenstein

Reputation: 2858

How to copy data to k8s persistent volume?

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?

Upvotes: 0

Views: 754

Answers (1)

Akin Ozer
Akin Ozer

Reputation: 991

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.

Upvotes: 2

Related Questions