diff --git a/experimental/addons/spark-kubernetes-operator/README.md b/experimental/addons/spark-kubernetes-operator/README.md index 8f30ff46a..845d8ccfc 100644 --- a/experimental/addons/spark-kubernetes-operator/README.md +++ b/experimental/addons/spark-kubernetes-operator/README.md @@ -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" @@ -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. +```