Skip to content

Commit bb809ec

Browse files
committed
[SPARK-49778][FOLLOWUP] Fix cluster-with-template.yaml by removing master prefix
### What changes were proposed in this pull request? This is a follow-up of the following to fix `cluster-with-template.yaml` by removing `master` prefix. - apache#136 ### Why are the changes needed? To make it valid. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual tests. ``` $ kubectl apply -f examples/cluster-with-template.yaml sparkcluster.spark.apache.org/cluster-with-template created ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#143 from dongjoon-hyun/SPARK-49778-2. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 0b9d17f commit bb809ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/cluster-with-template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ spec:
2525
minWorkers: 1
2626
maxWorkers: 1
2727
masterSpec:
28-
masterStatefulSetMetadata:
28+
statefulSetMetadata:
2929
annotations:
3030
customAnnotation: "annotation"
31-
masterStatefulSetSpec:
31+
statefulSetSpec:
3232
template:
3333
spec:
3434
priorityClassName: system-cluster-critical
@@ -52,7 +52,7 @@ spec:
5252
limits:
5353
cpu: "0.1"
5454
memory: "10Mi"
55-
masterServiceMetadata:
55+
serviceMetadata:
5656
annotations:
5757
customAnnotation: "svc1"
5858
workerSpec:

0 commit comments

Comments
 (0)