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 1ff9340 [SPARK-54813] Remove `cores` configs from
`tests/e2e/watched-namespaces/spark-example.yaml`
1ff9340 is described below
commit 1ff9340a3601e75d38e5e7dfe97ee5b38ffdd2c9
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sun Jan 4 18:52:42 2026 +0900
[SPARK-54813] Remove `cores` configs from
`tests/e2e/watched-namespaces/spark-example.yaml`
### What changes were proposed in this pull request?
This PR aims to simplify `tests/e2e/watched-namespaces/spark-example.yaml`
by removing irrelevant `spark.kubernetes.*.request.cores` configs and adding
relevant `Spark Operator` configuration explicitly.
### Why are the changes needed?
The main consumer of CPU resources is `Spark Operator` instead of `Spark
Application`. We had better explicitly set `Spark Operator` CPU core request.
### Does this PR introduce _any_ user-facing change?
No behavior change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #443 from dongjoon-hyun/SPARK-54813.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
tests/e2e/helm/dynamic-config-values.yaml | 7 +++++++
tests/e2e/watched-namespaces/spark-example.yaml | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/e2e/helm/dynamic-config-values.yaml
b/tests/e2e/helm/dynamic-config-values.yaml
index 592c51a..aac7cd2 100644
--- a/tests/e2e/helm/dynamic-config-values.yaml
+++ b/tests/e2e/helm/dynamic-config-values.yaml
@@ -24,6 +24,13 @@ workloadResources:
roleBinding:
create: true
+operatorDeployment:
+ operatorPod:
+ operatorContainer:
+ resources:
+ requests:
+ cpu: "0.1"
+
operatorConfiguration:
dynamicConfig:
enable: true
diff --git a/tests/e2e/watched-namespaces/spark-example.yaml
b/tests/e2e/watched-namespaces/spark-example.yaml
index eec80a7..49e02ac 100644
--- a/tests/e2e/watched-namespaces/spark-example.yaml
+++ b/tests/e2e/watched-namespaces/spark-example.yaml
@@ -27,7 +27,5 @@ spec:
spark.executor.instances: "1"
spark.kubernetes.container.image: "apache/spark:{{SPARK_VERSION}}-scala"
spark.kubernetes.authenticate.driver.serviceAccountName: "spark"
- spark.kubernetes.driver.request.cores: "0.5"
- spark.kubernetes.executor.request.cores: "0.5"
runtimeVersions:
sparkVersion: 4.1.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]