zhengchenyu commented on code in PR #57350:
URL: https://github.com/apache/spark/pull/57350#discussion_r3611794393
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala:
##########
@@ -100,6 +100,36 @@ private[spark] object Config extends Logging {
.booleanConf
.createWithDefault(false)
+ val KUBERNETES_DRIVER_UI_SERVICE_ENABLED =
+ ConfigBuilder("spark.kubernetes.driver.ui.service.enabled")
+ .doc("If true, Spark will create a dedicated Kubernetes Service for the
Spark driver " +
+ "Web UI (separate from the headless driver service). When enabled,
after the driver " +
+ "Web UI starts, Spark will patch the Service's targetPort to match the
actual bound " +
+ "UI port, which allows using `spark.ui.port=0` (random port). Requires
the driver's " +
+ "ServiceAccount to have `patch services` permission.")
Review Comment:
I will update the document.
--
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]