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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16310835#comment-16310835 ] 

Apache Spark commented on SPARK-22953:
--------------------------------------

User 'liyinan926' has created a pull request for this issue:
https://github.com/apache/spark/pull/20148

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