This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new d2fbf0d [SPARK-35405][DOC] Submitting Applications documentation has
outdated information about K8s client mode support
d2fbf0d is described below
commit d2fbf0dce43cbc5bde99d572817011841d6a3d41
Author: Oleksandr Shevchenko <[email protected]>
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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
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 7a0f17f..831b4f8 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: [email protected]
For additional commands, e-mail: [email protected]