-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-38803][K8S][TESTS] Lower minio cpu to 250m (0.25) from 1 in K8s IT #36096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
spark.kubernetes.test.minioRequestCores
...ration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
spark.kubernetes.test.minioRequestCores|
IT is still passed: https://github.com/Yikun/spark/actions/workflows/k8s_integration_test.yml since set minio cpu to |
minio cpu to 250m (0.25) from 1 in K8s IT
dongjoon-hyun
left a comment
There was a problem hiding this 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.
minio cpu to 250m (0.25) from 1 in K8s IT…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>
|
This test commit is backported to branch-3.3 according to the community request, #36087 (comment) . |
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