nikhilkarve opened a new issue, #66437: URL: https://github.com/apache/airflow/issues/66437
### Under which category would you file this issue? Providers ### Apache Airflow version 3.0.6 ### What happened and how to reproduce it? When using SparkKubernetesOperator with deferrable=True, the operator creates the SparkApplication CR successfully, but then attempts to create a second, empty Kubernetes Pod (with no container image) via the inherited KubernetesPodOperator code path. This results in a 422 Unprocessable Entity error: `"Pod \"...-driver\" is invalid: spec.containers[0].image: Required value"` How to reproduce: 1. Create a SparkKubernetesOperator task with deferrable=True. 2. Provide the container image via the SparkApplication YAML (not via the operator's image parameter) 3. Run the task — the SparkApplication is created, but a second empty pod creation attempt fails with 422 ### What you think should happen instead? Pod should go in deferrable state. ### Operating System _No response_ ### Deployment None ### Apache Airflow Provider(s) cncf-kubernetes ### Versions of Apache Airflow Providers apache-airflow-providers-cncf-kubernetes: 10.16.1 ### Official Helm Chart version Not Applicable ### Kubernetes Version _No response_ ### Helm Chart configuration _No response_ ### Docker Image customizations _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
