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: [email protected]
