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 2021/03/11 23:39:28 UTC

[GitHub] [airflow] jedcunningham edited a comment on issue #13006: Setting in_cluster to True is failing with invalid kube config

jedcunningham edited a comment on issue #13006:
URL: https://github.com/apache/airflow/issues/13006#issuecomment-794523604


   `in_cluster` isn't a kwarg for `SparkKubernetesOperator` or `SparkKubernetesSensor`. Putting `extra__kubernetes__in_cluster` in the connection extras is the right way currently.
   
   That said, `KubernetesPodOperator` does support `in_cluster` making operators in this same provider inconsistent. Makes me wonder if KPO should also use the connection like the hook does? Or, at the very least have `extra__kubernetes__in_cluster` on the default connection? @dimberman, any input?


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