Github user skonto commented on a diff in the pull request:
https://github.com/apache/spark/pull/21462#discussion_r198795717
--- Diff:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterManager.scala
---
@@ -46,8 +46,6 @@ private[spark] class KubernetesClusterManager extends
ExternalClusterManager wit
sc: SparkContext,
masterURL: String,
scheduler: TaskScheduler): SchedulerBackend = {
- val executorSecretNamesToMountPaths =
KubernetesUtils.parsePrefixedKeyValuePairs(
- sc.conf, KUBERNETES_EXECUTOR_SECRETS_PREFIX)
--- End diff --
@foxish you are right we do have, but this statement has no effect. It was
used in the past, the following statement was removed:
```
- val mountSecretBootstrap = if
(executorSecretNamesToMountPaths.nonEmpty) {
- Some(new MountSecretsBootstrap(executorSecretNamesToMountPaths))
- } else {
- None
- }
```
https://github.com/apache/spark/commit/a83ae0d9bc1b8f4909b9338370efe4020079bea7#diff-7d9979c0153744eafa24348ecbfa1671
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]