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


Reply via email to