This is an automated email from the ASF dual-hosted git repository.
maxgekk pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 6378365011c [SPARK-39121][K8S][DOCS] Fix format error on
running-on-kubernetes doc
6378365011c is described below
commit 6378365011c590d7e7225ea05728bfe06490e769
Author: Yikun Jiang <[email protected]>
AuthorDate: Sat May 7 10:19:53 2022 +0300
[SPARK-39121][K8S][DOCS] Fix format error on running-on-kubernetes doc
### What changes were proposed in this pull request?
Fix format error on running-on-kubernetes doc
### Why are the changes needed?
Fix format syntax error
### Does this PR introduce _any_ user-facing change?
No, unreleased doc only
### How was this patch tested?
- `SKIP_API=1 bundle exec jekyll serve --watch`
- CI passed
Closes #36476 from Yikun/SPARK-39121.
Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
(cherry picked from commit 2349f74866ae1b365b5e4e0ec8a58c4f7f06885c)
Signed-off-by: Max Gekk <[email protected]>
---
docs/running-on-kubernetes.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/running-on-kubernetes.md b/docs/running-on-kubernetes.md
index 763a9668d3b..ee77e37beb3 100644
--- a/docs/running-on-kubernetes.md
+++ b/docs/running-on-kubernetes.md
@@ -1699,7 +1699,7 @@ Kubernetes supports [Pod
priority](https://kubernetes.io/docs/concepts/schedulin
Spark on Kubernetes allows defining the priority of jobs by [Pod
template](#pod-template). The user can specify the
<code>priorityClassName</code> in driver or executor Pod template
<code>spec</code> section. Below is an example to show how to specify it:
-```
+```yaml
apiVersion: v1
Kind: Pod
metadata:
@@ -1729,8 +1729,8 @@ Spark allows users to specify a custom Kubernetes
schedulers.
3. Specify scheduler feature step.
Users may also consider to use
<code>spark.kubernetes.{driver/executor}.pod.featureSteps</code> to support
more complex requirements, including but not limited to:
- - Create additional Kubernetes custom resources for driver/executor
scheduling.
- - Set scheduler hints according to configuration or existing Pod info
dynamically.
+ - Create additional Kubernetes custom resources for driver/executor
scheduling.
+ - Set scheduler hints according to configuration or existing Pod info
dynamically.
#### Using Volcano as Customized Scheduler for Spark on Kubernetes
@@ -1766,7 +1766,7 @@ To use Volcano as a custom scheduler the user needs to
specify the following con
--conf
spark.kubernetes.scheduler.volcano.podGroupTemplateFile=/path/to/podgroup-template.yaml
# Specify driver/executor VolcanoFeatureStep
--conf
spark.kubernetes.driver.pod.featureSteps=org.apache.spark.deploy.k8s.features.VolcanoFeatureStep
---conf
spark.kubernetes.executor.pod.featureSteps=org.apache.spark.deploy.k8s.features.VolcanoFeatureStep```
+--conf
spark.kubernetes.executor.pod.featureSteps=org.apache.spark.deploy.k8s.features.VolcanoFeatureStep
```
##### Volcano Feature Step
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]