Commit 4523b6d
committed
[SPARK-52296] Add
### What changes were proposed in this pull request?
This PR aims to add `spark-role=operator` label.
### Why are the changes needed?
Apache Spark uses `spark-role=xxx` label for all resources. We need to label Spark Operator resources (`Deployment`, `ReplicaSet`, `Pod`) in the same way.
**BEFORE**
```bash
$ kubectl get all -l spark-role=operator
No resources found in default namespace.
```
**AFTER**
```bash
$ kubectl get all -l spark-role=operator
NAME READY STATUS RESTARTS AGE
pod/spark-kubernetes-operator-f44746f8b-nx6w9 1/1 Running 0 2m19s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/spark-kubernetes-operator 1/1 1 1 2m19s
NAME DESIRED CURRENT READY AGE
replicaset.apps/spark-kubernetes-operator-f44746f8b 1 1 1 2m19s
```
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Manually check with `kubectl get all -l spark-role=operator`.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#226 from dongjoon-hyun/SPARK-52296.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>spark-role=operator label1 parent b640ca5 commit 4523b6d
File tree
2 files changed
+2
-0
lines changed- build-tools/helm/spark-kubernetes-operator/templates
2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments