Skip to content

Commit

Permalink
Add pod name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Mar 26, 2024
1 parent 96bcf63 commit eb0f33e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ private[spark] class KubernetesClusterSchedulerBackend(
override def getDriverAttributes: Option[Map[String, String]] = Some(Map(
"LOG_FILES" -> "log",
"APP_ID" -> applicationId,
"KUBERNETES_NAMESPACE" -> namespace
"KUBERNETES_NAMESPACE" -> namespace,
"KUBERNETES_POD_NAME" -> System.getenv(ENV_DRIVER_POD_NAME)
))

override def start(): Unit = {
Expand Down

0 comments on commit eb0f33e

Please sign in to comment.