Kubernetespodoperator - how do I map an existing directory to one inside the image

12/23/2020

When I run the docker image locally I run this, how can I do the equivalent volume mapping with Kubernetespodoperator?

docker run -v /Users/sharonst/PycharmProjects/gcp_datawarehouse/Privacy_Manager:/usr/src/app/Privacy_Manager

What I want to map in airflow would be

-v /home/airflow/gcs/dags/Privacy_Manager:/usr/src/app/Privacy_Manager

-- SharonSt
airflow
google-cloud-platform
kubernetes
volume

1 Answer

12/24/2020

What will you do after mounting? Just chill

-- user10780072
Source: StackOverflow