You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/01/04 23:37:00 UTC

[jira] [Resolved] (SPARK-22953) Duplicated secret volumes in Spark pods when init-containers are used

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

Marcelo Vanzin resolved SPARK-22953.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 20159
[https://github.com/apache/spark/pull/20159]

> Duplicated secret volumes in Spark pods when init-containers are used
> ---------------------------------------------------------------------
>
>                 Key: SPARK-22953
>                 URL: https://issues.apache.org/jira/browse/SPARK-22953
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 2.3.0
>            Reporter: Yinan Li
>            Assignee: Yinan Li
>             Fix For: 2.3.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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