Unverified Commit 0a18d8db authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73460 from mm4tt/get-master-root-disk-size

Tune suggested master disk sizes for big clusters.
parents 2e90d92d 12904ac9
......@@ -43,12 +43,12 @@ function get-master-size {
# NUM_NODES
function get-master-root-disk-size() {
local suggested_master_root_disk_size="20GB"
if [[ "${NUM_NODES}" -gt "1000" ]]; then
suggested_master_root_disk_size="50GB"
fi
if [[ "${NUM_NODES}" -gt "2000" ]]; then
if [[ "${NUM_NODES}" -gt "500" ]]; then
suggested_master_root_disk_size="100GB"
fi
if [[ "${NUM_NODES}" -gt "3000" ]]; then
suggested_master_root_disk_size="500GB"
fi
echo "${suggested_master_root_disk_size}"
}
......@@ -56,10 +56,10 @@ function get-master-root-disk-size() {
# NUM_NODES
function get-master-disk-size() {
local suggested_master_disk_size="20GB"
if [[ "${NUM_NODES}" -gt "1000" ]]; then
if [[ "${NUM_NODES}" -gt "500" ]]; then
suggested_master_disk_size="100GB"
fi
if [[ "${NUM_NODES}" -gt "2000" ]]; then
if [[ "${NUM_NODES}" -gt "3000" ]]; then
suggested_master_disk_size="200GB"
fi
echo "${suggested_master_disk_size}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment