dongjoon-hyun commented on code in PR #41257:
URL: https://github.com/apache/spark/pull/41257#discussion_r1228908442


##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesClientApplication.scala:
##########
@@ -103,8 +103,10 @@ private[spark] class Client(
   def run(): Unit = {
     val resolvedDriverSpec = builder.buildFromFeatures(conf, kubernetesClient)
     val configMapName = KubernetesClientUtils.configMapNameDriver
+    // propagate the config map name to the driver pod
+    val additionalSystemProperties = Map(SPARK_CONF_DIR_CONFIG_MAP_NAME.key -> 
configMapName)
     val confFilesMap = 
KubernetesClientUtils.buildSparkConfDirFilesMap(configMapName,
-      conf.sparkConf, resolvedDriverSpec.systemProperties)
+      conf.sparkConf, resolvedDriverSpec.systemProperties ++ 
additionalSystemProperties)

Review Comment:
   This looks like propagating the existing `configMapName` variable correctly.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to