Merge pull request #96882 from saschagrunert/parallel-build-configurable

Make parallel build memory threshold configurable
This commit is contained in:
Kubernetes Prow Robot 2021-03-02 16:51:19 -08:00 committed by GitHub
commit 28feb8e30d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,9 +306,10 @@ readonly KUBE_TEST_SERVER_BINARIES=("${KUBE_TEST_SERVER_TARGETS[@]##*/}")
readonly KUBE_TEST_SERVER_PLATFORMS=("${KUBE_SERVER_PLATFORMS[@]:+"${KUBE_SERVER_PLATFORMS[@]}"}")
# Gigabytes necessary for parallel platform builds.
# As of January 2018, RAM usage is exceeding 30G
# Setting to 40 to provide some headroom
readonly KUBE_PARALLEL_BUILD_MEMORY=40
# As of January 2018, RAM usage is exceeding 30G.
# This variable can be overwritten at your own risk.
# It's defaulting to 40G to provide some headroom
readonly KUBE_PARALLEL_BUILD_MEMORY=${KUBE_PARALLEL_BUILD_MEMORY:-40}
readonly KUBE_ALL_TARGETS=(
"${KUBE_SERVER_TARGETS[@]}"