Using different connection methods while using operators in airflow in composer

We are refactoring(changing) GKEStartPodOperator to KubernetesPodOperator in our airflow dags and noticed that the tasks using GKEStartPodOperator is using "Using connection ID 'google_cloud_default' for task execution" --- from the logs

KubernetesPodOperator is using "Using connection ID 'kubernetes_default' for task execution" for task execution from logs

Note that in both the cases we are not passing any explicit conn_id as a parameter.

How can i make the KubernetesPodOperator use google_cloud_default?

0 0 72
0 REPLIES 0
Top Labels in this Space
Top Solution Authors