KubernetesPodOperator Job failing intermittently with missing composer_kube_config
254 views
Skip to first unread message
John Sek Jia Sheng
unread,
Jul 11, 2019, 11:50:56 PM7/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cloud-composer-discuss
As per title,
Some of our kubernetespodoperator job are failing intermittently with error [Errno 2] No such file or directory:No such file or directory: '/home/airflow/composer_kube_config'. Other jobs that run on default node pool are not affected. Any suggestion?
Regards,
John
Cedrik Neumann
unread,
Jul 12, 2019, 2:52:51 AM7/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to John Sek Jia Sheng, cloud-composer-discuss
It's likely that the corresponding worker pod for some reason doesn't have the kube config deployed. You can check by attaching to your worker pods. Usually killing will spawn new ones with the config deployed. This happened to
me as well. Still a good question what happened with the config.