Repository navigation
Commit 9d5f1c2
committed
[SPARK-57706] Add one-zone
### What changes were proposed in this pull request?
This PR aims to add one-zone `Spark Connect Server` example.
### Why are the changes needed?
One-zone deployment is recommended to reduce the network cost among pods.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual review.
```
$ kubectl get pod -l spark.operator/spark-app-name=spark-connect-server-usw2-az2
NAME READY STATUS RESTARTS AGE
spark-connect-server-exec-1 1/1 Running 0 87s
spark-connect-server-exec-2 1/1 Running 0 87s
spark-connect-server-exec-3 1/1 Running 0 87s
spark-connect-server-usw2-az2-0-driver 1/1 Running 0 93s
```
```
$ kubectl get pod -l spark.operator/spark-app-name=spark-connect-server-usw2-az2 -oyaml | grep zone-id
topology.k8s.aws/zone-id: usw2-az2
topology.k8s.aws/zone-id: usw2-az2
topology.k8s.aws/zone-id: usw2-az2
topology.k8s.aws/zone-id: usw2-az2
```
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #718 from dongjoon-hyun/SPARK-57706.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>Spark Connect Server example1 parent 8813726 commit 9d5f1c2
1 file changed
Lines changed: 44 additions & 0 deletions
| 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 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments