You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/18 11:42:03 UTC
[GitHub] [airflow] raphaelauv commented on issue #19369: KubernetesPodOperator : TypeError: 'NoneType' object is not iterable
raphaelauv commented on issue #19369:
URL: https://github.com/apache/airflow/issues/19369#issuecomment-972788953
@ulisesojeda
minimum reproductive example :
```python
with dag:
fail_cmd = "fallocate -l 100M toto.img && sleep 60 && echo finish"
k = KubernetesPodOperator(
task_id="task-one",
namespace="default",
name="airflow-test-pod",
image='alpine',
resources={'limit_ephemeral_storage': f"10M"},
cmds=["sh", "-c", fail_cmd],
is_delete_operator_pod=True,
get_logs=True,
in_cluster=False)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org