Github user liyinan926 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20811#discussion_r176177365
--- Diff:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodFactory.scala
---
@@ -108,6 +109,8 @@ private[spark] class ExecutorPodFactory(
nodeToLocalTaskCount: Map[String, Int]): Pod = {
val name = s"$executorPodNamePrefix-exec-$executorId"
+ val imagePullSecrets = imagePullSecret.map(new
LocalObjectReference(_)).toList
--- End diff --
Yeah, it seems a bit awkward. I guess the original form looks better. Sorry
for that, but looks like it's better if you revert this change.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]