Skip to content

Conversation

@Yikun
Copy link
Member

@Yikun Yikun commented Apr 7, 2022

What changes were proposed in this pull request?

This PR aims to set minio request cpu to 250m (0.25).

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

@Yikun Yikun force-pushed the minioRequestCores branch from df71d38 to 064b9fb Compare April 7, 2022 08:34
@github-actions github-actions bot added the DOCS label Apr 7, 2022
@Yikun Yikun force-pushed the minioRequestCores branch from 064b9fb to 7e1f599 Compare April 7, 2022 08:56
@Yikun Yikun marked this pull request as ready for review April 7, 2022 09:15
@Yikun Yikun changed the title [SPARK-38803][K8S][TESTS] Add spark.kubernetes.test.minioRequestCores [SPARK-38803][K8S][TESTS] Support spark.kubernetes.test.minioRequestCores Apr 7, 2022
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, do we need a parameter for this? This is not a Spark configuration. I guess we can have a simply small value until it works.

Copy link
Member Author

@Yikun Yikun Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I also considered this before. I think 0.25 (250m) could be a reasonable smaller value in here. Because I also see this experience value in link.

Will update soon.

@Yikun Yikun force-pushed the minioRequestCores branch from 7e1f599 to 12eaf06 Compare April 7, 2022 23:46
@Yikun Yikun changed the title [SPARK-38803][K8S][TESTS] Support spark.kubernetes.test.minioRequestCores [SPARK-38803][K8S][TESTS] Set minio cpu to 250m (0.25) in K8s IT Apr 7, 2022
@Yikun
Copy link
Member Author

Yikun commented Apr 8, 2022

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-38803][K8S][TESTS] Set minio cpu to 250m (0.25) in K8s IT [SPARK-38803][K8S][TESTS] Lower minio cpu to 250m (0.25) from 1 in K8s IT Apr 8, 2022
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @Yikun .
Merged to master for Apache Spark 3.4.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-38803][K8S][TESTS] Lower minio cpu to 250m (0.25) from 1 in K8s IT [SPARK-38803][K8S][TESTS] Lower minio cpu to 250m (0.25) from 1 in K8s IT Apr 8, 2022
dongjoon-hyun pushed a commit that referenced this pull request Sep 20, 2022
…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 <yikunkero@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 5ea2b38)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member

This test commit is backported to branch-3.3 according to the community request, #36087 (comment) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants