Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-38597][K8S][INFRA] Enable Spark on K8S integration tests
### What changes were proposed in this pull request? Enable Spark on K8S integration tests in Github Action based on minikube: - The K8S IT will always triggered in user fork repo and `apache/spark` merged commits to master branch - This PR does NOT contains Volcano related test due to limited resource of github action. - minikube installation is allowed by Apache Infra: [INFRA-23000](https://issues.apache.org/jira/projects/INFRA/issues/INFRA-23000) - Why setting driver 0.5 cpu, executor 0.2 cpu? * Github-hosted runner hardware limited: [2U7G](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources), so cpu resource is very limited. * IT Job available CPU = 2U - 0.85U (K8S deploy) = 1.15U * There are 1.15 cpu left after k8s installation, to meet the requirement of K8S tests (one driver + max to 3 executors). * For memory: 6947 is maximum (Otherwise raise `Exiting due to RSRC_OVER_ALLOC_MEM: Requested memory allocation 7168MB is more than your system limit 6947MB.`), but this is not integer multiple of 1024, so I just set this to 6144 for better resource statistic. - Time cost info: * 14 mins to compile related code. * 3 mins to build docker images. * 20-30 mins to test * Total: about 30-40 mins ### Why are the changes needed? This will also improve the efficiency of K8S development and guarantee the quality of spark on K8S and spark docker image in some level. ### Does this PR introduce _any_ user-facing change? No, dev only. ### How was this patch tested? CI passed Closes #35830 Closes #37244 from Yikun/SPARK-38597-k8s-it. Authored-by: Yikun Jiang <yikunkero@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
- Loading branch information