Commit 9256112
committed
[SPARK-52194] Add
### What changes were proposed in this pull request?
This PR aims to add `spark-connect-server.yaml` example.
### Why are the changes needed?
To provide an example to launch `Spark Connect Standalone Server`.
### Does this PR introduce _any_ user-facing change?
No. This is a new example.
### How was this patch tested?
Manual test.
```
$ helm install spark spark/spark-kubernetes-operator
$ kubectl apply -f examples/spark-connect-server.yaml
$ kubectl get sparkapp
NAME CURRENT STATE AGE
spark-connect-server RunningHealthy 3m1s
$ kubectl logs spark-connect-server-0-driver | tail -n1
{"ts":"2025-05-16T20:42:03.114Z","level":"INFO","msg":"Spark Connect server started at: 0:0:0:0:0:0:0:0%0:15002","context":{"host":"0:0:0:0:0:0:0:0%0","port":"15002"},"logger":"SparkConnectServer"}
```
After port-forwarding `4040`, visit the pod's driver website `Connect` tab.
<img width="739" alt="Screenshot 2025-05-16 at 13 46 09" src="https://github.com/user-attachments/assets/4537779b-03e3-4577-abc7-019739a2f84c" />
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #206 from dongjoon-hyun/SPARK-52194.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>spark-connect-server.yaml example1 parent 986c4f4 commit 9256112
1 file changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments