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.