This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new bb809ec [SPARK-49778][FOLLOWUP] Fix `cluster-with-template.yaml` by
removing `master` prefix
bb809ec is described below
commit bb809ec2fcef7301611ff394ca64c65bff0e17ec
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Oct 4 16:31:03 2024 -0700
[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.
- #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 #143 from dongjoon-hyun/SPARK-49778-2.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
examples/cluster-with-template.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/cluster-with-template.yaml
b/examples/cluster-with-template.yaml
index 66c6516..f1575c8 100644
--- a/examples/cluster-with-template.yaml
+++ b/examples/cluster-with-template.yaml
@@ -25,10 +25,10 @@ spec:
minWorkers: 1
maxWorkers: 1
masterSpec:
- masterStatefulSetMetadata:
+ statefulSetMetadata:
annotations:
customAnnotation: "annotation"
- masterStatefulSetSpec:
+ statefulSetSpec:
template:
spec:
priorityClassName: system-cluster-critical
@@ -52,7 +52,7 @@ spec:
limits:
cpu: "0.1"
memory: "10Mi"
- masterServiceMetadata:
+ serviceMetadata:
annotations:
customAnnotation: "svc1"
workerSpec:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]