SparkKubernetesOperator not rendering template correctly #37261
Labels
area:providers
kind:bug
This is a clearly a bug
provider:cncf-kubernetes
Kubernetes provider related issues
Apache Airflow Provider(s)
cncf-kubernetes
Versions of Apache Airflow Providers
7.14.0
Apache Airflow version
2.7.2
Operating System
aws
Deployment
Amazon (AWS) MWAA
Deployment details
No response
What happened
Im trying to run SparkKubernetesOperator passing template as python dict via template_spec , in this map Im trying to pass {{ds}} as one of the argument for the app. when I check the airflow UI i can see it was rendered correctly
but when i check the app in K8s directly i can see it was not submitted with rendered argument
What you think should happen instead
airflow should submit spark app with rendered template
How to reproduce
you can use this dag and then check the spark app created
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: