dimberman commented on issue #11281: URL: https://github.com/apache/airflow/issues/11281#issuecomment-704392632
Hi @leoblanc, In the the airflow [KubernetesPodOperator docs](https://airflow.apache.org/docs/stable/_api/airflow/contrib/operators/kubernetes_pod_operator/index.html?highlight=kubernetespodoperator#airflow.contrib.operators.kubernetes_pod_operator.KubernetesPodOperator), we note that the KubernetesPodOperator takes an `airflow.kubernetes.volume.Volume` type. This will go away in Airflow 2.0, so long term what you're doing will be correct. You might also want to consider using the `pod` or `pod_template_file` options to create pods for the KubernetesPodOperator as those give you full access to the Kubernetes API. ---------------------------------------------------------------- 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: [email protected]
