Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 136
0 REPLIES 0
Top Labels in this Space