mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #25770 from zmerlynn/fix_root_disk_size
Automatic merge from submit-queue Fix gce/util.sh:get-master-root-disk-size Fixes problem from #25670 ``` cluster/../cluster/../cluster/gce/util.sh: line 632: [: missing `]' ``` []()
This commit is contained in:
commit
bf8a513a6f
@ -629,7 +629,7 @@ function create-network() {
|
|||||||
# Sets:
|
# Sets:
|
||||||
# MASTER_ROOT_DISK_SIZE
|
# MASTER_ROOT_DISK_SIZE
|
||||||
function get-master-root-disk-size() {
|
function get-master-root-disk-size() {
|
||||||
if [ "$NUM_NODES" -le "1000"]; then
|
if [[ "${NUM_NODES}" -le "1000" ]]; then
|
||||||
export MASTER_ROOT_DISK_SIZE="10"
|
export MASTER_ROOT_DISK_SIZE="10"
|
||||||
else
|
else
|
||||||
export MASTER_ROOT_DISK_SIZE="50"
|
export MASTER_ROOT_DISK_SIZE="50"
|
||||||
|
Loading…
Reference in New Issue
Block a user