Commit e9c5c34
committed
[SPARK-52607] Add
### What changes were proposed in this pull request?
This PR aims to add `pi-v1beta1.yaml` example.
```bash
$ diff examples/pi.yaml examples/pi-v1beta1.yaml
15c15
< apiVersion: spark.apache.org/v1
---
> apiVersion: spark.apache.org/v1beta1
18c18
< name: pi
---
> name: pi-v1beta1
```
### Why are the changes needed?
To give an example to support old versions.
```
$ ./gradlew build -x test
$ ./gradlew buildDockerImage
$ helm install spark -f build-tools/helm/spark-kubernetes-operator/values.yaml build-tools/helm/spark-kubernetes-operator/
$ kubectl apply -f examples/pi.yaml
$ kubectl apply -f examples/pi-v1alpha1.yaml
$ kubectl apply -f examples/pi-v1beta1.yaml
$ kubectl get sparkapp
NAME CURRENT STATE AGE
pi ResourceReleased 92s
pi-v1alpha1 ResourceReleased 46s
pi-v1beta1 ResourceReleased 33s
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual review because this is an example.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#262 from dongjoon-hyun/SPARK-52607.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>pi-v1beta1.yaml example1 parent 39b04c4 commit e9c5c34
1 file changed
+31
-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 | + | |
0 commit comments