Skip to content

Commit

Permalink
[Addon kubevela#603] Add Apache Spark as a experimental addon
Browse files Browse the repository at this point in the history
Signed-off-by: yanghua <[email protected]>
  • Loading branch information
yanghua committed Feb 9, 2023
1 parent 67da78e commit 7bfb20e
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions experimental/addons/spark-kubernetes-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,23 @@ vela ls -A | grep spark
```
vela show spark-cluster
# Specification
+---------------------+-------------+--------+----------+---------+
| NAME | DESCRIPTION | TYPE | REQUIRED | DEFAULT |
+---------------------+-------------+--------+----------+---------+
| name | | string | true | |
| namespace | | string | true | |
| type | | string | true | |
| mode | | string | true | |
| image | | string | true | |
| imagePullPolicy | | string | true | |
| mainClass | | string | true | |
| mainApplicationFile | | string | true | |
| sparkVersion | | string | true | |
| driverCores | | int | true | |
| executorCores | | int | true | |
+---------------------+-------------+--------+----------+---------+
# Specification
+---------------------+-------------------------------------------------------------------------------+--------+----------+---------+
| NAME | DESCRIPTION | TYPE | REQUIRED | DEFAULT |
+---------------------+-------------------------------------------------------------------------------+--------+----------+---------+
| name | Specify the spark application name. | string | true | |
| namespace | Specify the namespace for spark application to install. | string | true | |
| type | Specify the application language type, e.g. "Scala", "Python", "Java" or "R". | string | true | |
| pythonVersion | Specify the python version. | string | true | |
| mode | Specify the deploy mode, e.go "cluster", "client" or "in-cluster-client". | string | true | |
| image | Specify the container image for the driver, executor, and init-container. | string | true | |
| imagePullPolicy | Specify the image pull policy for the driver, executor, and init-container. | string | true | |
| mainClass | Specify the fully-qualified main class of the Spark application. | string | true | |
| mainApplicationFile | Specify the path to a bundled JAR, Python, or R file of the application. | string | true | |
| sparkVersion | Specify the version of Spark the application uses. | string | true | |
| driverCores | Specify the number of CPU cores to request for the driver pod. | int | true | |
| executorCores | Specify the number of CPU cores to request for the executor pod. | int | true | |
+---------------------+-------------------------------------------------------------------------------+--------+----------+---------+
```

Expand Down

0 comments on commit 7bfb20e

Please sign in to comment.