标签: kubernetes airflow
KubernetesPodOperator导入from airflow.contrib.operators.kubernetes_pod_operator而不是from airflow.providers.cncf.kubernetes.operators.kubernetes_pod。由于airflow.contrib.*已过时,我需要使用后者。我可以单独安装使用airflow.providers.*的kubernetes模块吗?
KubernetesPodOperator
from airflow.contrib.operators.kubernetes_pod_operator
from airflow.providers.cncf.kubernetes.operators.kubernetes_pod
airflow.contrib.*
airflow.providers.*