You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/05/25 02:28:39 UTC

(spark-kubernetes-operator) branch gh-pages updated: Add Spark Connect App section

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 38190e1  Add Spark Connect App section
38190e1 is described below

commit 38190e1ac18b79ad39b3df5a48b2adf3d9c2f123
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Sat May 24 19:28:31 2025 -0700

    Add Spark Connect App section
---
 index.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/index.md b/index.md
index c76fc84..4d86694 100644
--- a/index.md
+++ b/index.md
@@ -57,6 +57,16 @@ $ kubectl delete sparkapp spark-connect-server
 sparkapplication.spark.apache.org "spark-connect-server" deleted
 ```
 
+## Run [Spark Connect Swift](https://apache.github.io/spark-connect-swift/) App via [K8s Job](https://kubernetes.io/docs/concepts/workloads/controllers/job/)
+
+```bash
+$ kubectl apply -f https://apache.github.io/spark-kubernetes-operator/pi-swift.yaml
+job.batch/spark-connect-swift-pi created
+
+$ kubectl logs -f job/spark-connect-swift-pi
+Pi is roughly 3.1426151426151425
+```
+
 ## Run Spark Cluster
 
 ```bash


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org