Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27997

kubernetes client token expired

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • Kubernetes, Spark Core
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Andrew HUALI Henry Yu
            Dongjoon Hyun Dongjoon Hyun
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: