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


##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -749,13 +749,52 @@ private[spark] object Config extends Logging {
       .checkValue(value => value > 0, "Gracefully shutdown period must be a 
positive time value")
       .createWithDefaultString("20s")
 
+  val KUBERNETES_INGRESS_ENABLED =
+    ConfigBuilder("spark.kubernetes.driver.ingress.enabled")
+      .doc("Whether to create ingress entry of the driver service for external 
UI access " +
+        "in cluster mode. This only takes effect when `spark.ui.enabled` is 
true.")
+      .version("4.0.0")
+      .booleanConf
+      .createWithDefault(false)
+
+  val KUBERNETES_INGRESS_HOST_PATTERN =
+    ConfigBuilder("spark.kubernetes.driver.ingress.host")
+      .doc("Host for driver UI ingress, {{APP_ID}} will be replaced by 
application ID.")
+      .version("4.0.0")
+      .stringConf
+      .createOptional
+
+  val KUBERNETES_INGRESS_CLASS_NAME =
+    ConfigBuilder("spark.kubernetes.driver.ingress.ingressClassName")
+      .doc("Reference the IngressClass that should be used to implement the 
ingress for spark UI.")
+      .version("4.0.0")
+      .stringConf
+      .createOptional
+
+  val KUBERNETES_INGRESS_PATH =
+    ConfigBuilder("spark.kubernetes.driver.ingress.path")

Review Comment:
   May I ask when you want to override this? And, is it safe in terms of the 
security?



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