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

Duplicated secret volumes in Spark pods when init-containers are used

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Kubernetes
    • Labels:
      None

      Description

      User-specified secrets are mounted into both the main container and init-container (when it is used) in a Spark driver/executor pod, using the MountSecretsBootstrap. Because MountSecretsBootstrap always adds the secret volumes to the pod, the same secret volumes get added twice, one when mounting the secrets to the main container, and the other when mounting the secrets to the init-container. See https://github.com/apache-spark-on-k8s/spark/issues/594.

        Attachments

          Activity

            People

            • Assignee:
              liyinan926 Yinan Li
              Reporter:
              liyinan926 Yinan Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: