You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2021/05/14 18:28:20 UTC
[spark] branch branch-3.0 updated: [SPARK-35405][DOC] Submitting
Applications documentation has outdated information about K8s client mode
support
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new d160cd2 [SPARK-35405][DOC] Submitting Applications documentation has outdated information about K8s client mode support
d160cd2 is described below
commit d160cd2d55907d67ecf2904a5852d632e19412da
Author: Oleksandr Shevchenko <ol...@datarobot.com>
AuthorDate: Fri May 14 11:26:35 2021 -0700
[SPARK-35405][DOC] Submitting Applications documentation has outdated information about K8s client mode support
### What changes were proposed in this pull request?
[Submitting Applications doc](https://spark.apache.org/docs/latest/submitting-applications.html#master-urls) has outdated information about K8s client mode support.
It still says "Client mode is currently unsupported and will be supported in future releases".

Whereas it's already supported and [Running Spark on Kubernetes doc](https://spark.apache.org/docs/latest/running-on-kubernetes.html#client-mode) says that it's supported started from 2.4.0 and has all needed information.

Changes:

JIRA: https://issues.apache.org/jira/browse/SPARK-35405
### Why are the changes needed?
Outdated information in the doc is misleading
### Does this PR introduce _any_ user-facing change?
Documentation changes
### How was this patch tested?
Documentation changes
Closes #32551 from o-shevchenko/SPARK-35405.
Authored-by: Oleksandr Shevchenko <ol...@datarobot.com>
Signed-off-by: Dongjoon Hyun <dh...@apple.com>
(cherry picked from commit d2fbf0dce43cbc5bde99d572817011841d6a3d41)
Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
docs/submitting-applications.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/submitting-applications.md b/docs/submitting-applications.md
index b27cf36..70f3a15 100644
--- a/docs/submitting-applications.md
+++ b/docs/submitting-applications.md
@@ -181,7 +181,7 @@ The master URL passed to Spark can be in one of the following formats:
The cluster location will be found based on the <code>HADOOP_CONF_DIR</code> or <code>YARN_CONF_DIR</code> variable.
</td></tr>
<tr><td> <code>k8s://HOST:PORT</code> </td><td> Connect to a <a href="running-on-kubernetes.html">Kubernetes</a> cluster in
- <code>cluster</code> mode. Client mode is currently unsupported and will be supported in future releases.
+ <code>client</code> or <code>cluster</code> mode depending on the value of <code>--deploy-mode</code>.
The <code>HOST</code> and <code>PORT</code> refer to the <a href="https://kubernetes.io/docs/reference/generated/kube-apiserver/">Kubernetes API Server</a>.
It connects using TLS by default. In order to force it to use an unsecured connection, you can use
<code>k8s://http://HOST:PORT</code>.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org