ketozhang commented on issue #36077:
URL: https://github.com/apache/airflow/issues/36077#issuecomment-1947432083
You seem to be getting a different error more so about Kubernetes API
permission issue which isn't related to the Pod.
Let's try to use reduce your DAG file into minimal viable example:
```python
dag = DAG('test_fail_dag', schedule_interval='@once', catchup=False)
task = KubernetesPodOperator(
task_id='test_fail_task',
dag=dag,
container_resources={"requests": {"memory": "1000Gi", "cpu": "1000"}},
log_events_on_failure=True,
)
```
Assuming your cluster isn't that large, this should give you in the logs
something like `Pod Event: FailedScheduling - ...`
--
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]