sakshi-bansal opened a new issue #13006:
URL: https://github.com/apache/airflow/issues/13006


   Airflow version: 1.10.12
   
   Deploying the example 
https://github.com/apache/airflow/blob/master/airflow/providers/cncf/kubernetes/example_dags/example_spark_kubernetes.py
 and
   
   Added parameter  **in_cluster=True** in the dag. 
   
   Expected Result:
   Dag gets executed and spark application is deployed in the local cluster 
where airflow is deployed
   
   Actual Result:
   Error: {taskinstance.py:1150} ERROR - Invalid kube-config file. No 
configuration found.
   
   Work-around:
   Works after manually adding a kube config in the worker pod. 
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to