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 27, 2023
1 parent 3e56c17 commit 037fa9d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion experimental/addons/spark-kubernetes-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ vela show spark-application

# Example for how to run a component typed spark-cluster in application

1. Secondly, copy the following example to "spark-app-v1.yaml":
1. Firstly, copy the following example to "spark-app-v1.yaml":

> The addon will create a namespace named "spark-cluster"
Expand Down Expand Up @@ -95,5 +95,24 @@ spec:
executorCores: 1
```

2. Secondly, start the application:

```
vela up -f spark-app-v1.yaml
```

You will see the stdout like this:

```
Applying an application in vela K8s object format...
I0227 16:54:37.069480 361176 apply.go:121] "creating object" name="spark-app-v1" resource="core.oam.dev/v1beta1, Kind=Application"
✅ App has been deployed 🚀🚀🚀
Port forward: vela port-forward spark-app-v1 -n spark-cluster
SSH: vela exec spark-app-v1 -n spark-cluster
Logging: vela logs spark-app-v1 -n spark-cluster
App status: vela status spark-app-v1 -n spark-cluster
Endpoint: vela status spark-app-v1 -n spark-cluster --endpoint
Application spark-cluster/spark-app-v1 applied.
```


0 comments on commit 037fa9d

Please sign in to comment.