HeartSaVioR commented on pull request #28336:
URL: https://github.com/apache/spark/pull/28336#issuecomment-624379595


   > I am curious k8s has the same issue?
   
   I'm not following with k8s security, but I guess this is YARN specific, 
especially for YARN cluster mode.
   
   > I was looking at KerberosConfDriverFeatureStep where it has similar code 
to this but its only when keytab is empty so that is handling client mode. 
   
   If you're referring `delegationTokens` there, it seems to handle `tgt only` 
case (retrieve delegation tokens and pass to the driver) in the javadoc of the 
class:
   
   
https://github.com/apache/spark/blob/61a6ca5d3f623c2a8b49277ac62d77bf4dbfa84f/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/KerberosConfDriverFeatureStep.scala#L41-L49


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to