The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user morooshka (triggered by eladkal).

Head commit for run:
40ac9eafcb3eb8dff30abcbdf366d0cbe2cb5009 / Alexander Grigorev 
<[email protected]>
Fix KubernetesHook fail on an attribute absence

Fix KubernetesHook fail on an attribute absence

Kubernetes SparkApplication manifest attribute "metadata:name" is not
mandatory if "metadata:generateName" is used instead. Recently there
was no functionality of removing already launched objects in. So the
case with no deleting already launched pods is ok. Later it was
implemented, but the author thought the "name" attribute is mandatory.
This is not true - "generateName" can be used instead. So we have 2
cases:
1. Attribute "name" is used. OK, we can delete the old object if found
2. Attribute "name" is not used. It is possible if "generateName" is
used. If so, we can not delete the old object. In this case we do
not know its name (k8s will generate it randomly using a name mask, but
we can not guess it for sure). So, we have nothing to do there, the old
pod will be not touched if exists

Report URL: https://github.com/apache/airflow/actions/runs/3368261838

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to