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/04/03 10:32:30 UTC

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

Vivekdjango commented on issue #13006:
URL: https://github.com/apache/airflow/issues/13006#issuecomment-812846631


   > `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?
   
   @jedcunningham : I am new to this skill so could you please help me out? Where did you pass 'extra__kubernetes__in_cluster' param? Inside 'SparkKubernetesOperator' or under some yaml file? please reply.
   
   As far I tried to add under 'SparkKubernetesOperator' but didn't work.


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