The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/kpo-dry-run-kube-client-45812 has failed.
Run started by GitHub user Aaryan123456679 (triggered by Aaryan123456679).

Head commit for run:
e91dc6e5efaeb3af4afb4b0b67a7186b16d78e6b / Aaryan Mahajan <[email protected]>
Fix KubernetesPodOperator dry_run requiring live Kubernetes API client

airflow dags test and dry_run() failed outside a cluster because
build_pod_request_obj() unconditionally read hook.is_in_cluster to
set the airflow_kpo_in_cluster label, which instantiates a Kubernetes
API client and requires kube credentials/config to be available. A
dry run should not need cluster access at all.

closes: #45812

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

With regards,
GitHub Actions via GitBox


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

Reply via email to