Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed mentioning of kubernetes-namespace
  • Loading branch information
liyinan926 committed Dec 6, 2017
commit 3a0b8e301e0c47d333a65267ab9e2dbb1a06968f
Original file line number Diff line number Diff line change
Expand Up @@ -590,11 +590,6 @@ private[deploy] class SparkSubmitArguments(args: Seq[String], env: Map[String, S
| the node running the Application Master via the Secure
| Distributed Cache, for renewing the login tickets and the
| delegation tokens periodically.
|
| Kubernetes only:
| --kubernetes-namespace NS The namespace in the Kubernetes cluster within which the
| application must be launched. The namespace must already
| exist in the cluster. (Default: default).
""".stripMargin
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ private[spark] object Config extends Logging {

val KUBERNETES_NAMESPACE =
ConfigBuilder("spark.kubernetes.namespace")
.doc("The namespace that will be used for running the driver and executor pods. When using " +
"spark-submit in cluster mode, this can also be passed to spark-submit via the " +
"--kubernetes-namespace command line argument.")
.doc("The namespace that will be used for running the driver and executor pods.")
.stringConf
.createWithDefault("default")

Expand Down