Skip to content

Commit

Permalink
[SPARK-38803][K8S][TESTS] Lower minio cpu to 250m (0.25) from 1 in K8…
Browse files Browse the repository at this point in the history
…s IT

### What changes were proposed in this pull request?
This PR aims to set minio request cpu to `250m` (0.25).
- This value also recommand in [link](https://docs.gitlab.com/charts/charts/minio/#installation-command-line-options).
- There are [no cpu request limitation](https://github.com/minio/minio/blob/a3e317773a2b90a433136e1ff2a8394bc5017c75/helm/minio/values.yaml#L251) on current minio.

### Why are the changes needed?
In some cases (such as resource limited case), we reduce request cpu of minio.
See also: #35830 (review)

### Does this PR introduce _any_ user-facing change?
No, test only

### How was this patch tested?
IT passsed

Closes #36096 from Yikun/minioRequestCores.

Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 5ea2b38)
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
Yikun authored and dongjoon-hyun committed Sep 20, 2022
1 parent 883a481 commit 896ecd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private[spark] trait DepsTestsSuite { k8sSuite: KubernetesSuite =>
).toArray

val resources = Map(
"cpu" -> new Quantity("1"),
"cpu" -> new Quantity("250m"),
"memory" -> new Quantity("512M")
).asJava

Expand Down

0 comments on commit 896ecd8

Please sign in to comment.