You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/21 10:15:35 UTC

[GitHub] [airflow] sakshi-bansal commented on issue #13006: Setting in_cluster to True is failing with invalid kube config

sakshi-bansal commented on issue #13006:
URL: https://github.com/apache/airflow/issues/13006#issuecomment-748893169


   One possible solution that worked for me:
   1. Add in_cluster in the kubernetes_default connection in the extras as **{"extra__kubernetes__in_cluster": "True"}**
   2.  Create ClusterRole granting the serviceaccount airflow access to create spark applications 


----------------------------------------------------------------
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:
users@infra.apache.org