[ 
https://issues.apache.org/jira/browse/SPARK-27997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henry Yu updated SPARK-27997:
-----------------------------
    Description: 
Hi ,

when I try to submit spark to k8s in cluster mode, I need an authtoken to talk 
with k8s.

unfortunately, many cloud provider provide token and expired with 10-15 mins. 
so we need to fresh this token.  

client mode is event worse, because scheduler is created on submit process.

Should I also make a pr on this ? I fix it by adding 

RotatingOAuthTokenProvider and some configuration.

  was:
Hi ,

when I try to submit spark to k8s in cluster mode, I need an authtoken to talk 
with k8s.

unfortunately, many cloud provider provider token and expired with 10-15 mins. 
so we need to fresh this token.  

client mode is event worse, because scheduler is created on submit process.

Should I also make a pr on this ? I fix it by adding 

RotatingOAuthTokenProvider and some configuration.


> kubernetes client token expired 
> --------------------------------
>
>                 Key: SPARK-27997
>                 URL: https://issues.apache.org/jira/browse/SPARK-27997
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 3.0.0
>            Reporter: Henry Yu
>            Priority: Major
>
> Hi ,
> when I try to submit spark to k8s in cluster mode, I need an authtoken to 
> talk with k8s.
> unfortunately, many cloud provider provide token and expired with 10-15 mins. 
> so we need to fresh this token.  
> client mode is event worse, because scheduler is created on submit process.
> Should I also make a pr on this ? I fix it by adding 
> RotatingOAuthTokenProvider and some configuration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to