sushi30 edited a comment on issue #22485:
URL: https://github.com/apache/airflow/issues/22485#issuecomment-1077514558
I am able to reproduce this with a minimal configuration helm chart on
minikube. The latest apache/airflow image is using version 3.0.2 so you need to
create a custom image with the new provider version. This DAG works fine with
3.0.2 and hangs in 3.1.1:
```python
from datetime import datetime
from airflow import DAG
from airflow.providers.cncf.kubernetes.operators.kubernetes_pod import (
KubernetesPodOperator,
)
with DAG(
dag_id="example", start_date=datetime(2022, 1, 1),
schedule_interval="@once"
) as dag:
k = KubernetesPodOperator(
namespace="airflow",
name="hello",
image="debian",
cmds=["bash", "-cx"],
arguments=["echo", "10"],
labels={"foo": "bar"},
task_id="dry_run_demo",
)
```
```dockerfile
# Dockerfile
FROM apache/airflow
RUN pip install apache-airflow-providers-cncf-kubernetes==3.1.1
```
### Screenshots
Task ran on 3.0.2

Then hangs on 3.1.1:

--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]