I'm running a KubernetesPodOperator with a custome docker image that was imported with microk8s. When running the DAG in airflow I see the following log until I get the time out message AirflowException('Pod Launching failed: {error}'.format(error=ex))
[2020-04-14 23:06:39,875] {logging_mixin.py:95} INFO - [[34m2020-04-14 23:06:39,875[0m] {[34mpod_launcher.py:[0m141} INFO[0m - Event: [1mk8s-pod-ml-3a541375[0m had an event of type [1mPending[0m[0m
Searching for the problem I ran microk8s kubectl get pods
on ubuntus terminal and got:
as you can see the name of the pod is almost exactly the same in the logs (except fro the 1m at the begining) but the status is ErrImageNeverPull
. I couldn't find anything in the internte regarding that status or the error except for this that says 'The default timeout for KubernetesPodOperator is 120 seconds, which can result in timeouts occurring before larger images download.' I change the default timeout to 600 seconds but did not work.