Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c35bf2aa
Commit
c35bf2aa
authored
Jul 20, 2017
by
Kubernetes Submit Queue
Committed by
GitHub
Jul 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #49282 from gmarek/disk_size
Automatic merge from submit-queue Fix master disk size variable usage
parents
9f73d242
83d30180
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
util.sh
cluster/gce/util.sh
+8
-4
No files found.
cluster/gce/util.sh
View file @
c35bf2aa
...
...
@@ -951,9 +951,11 @@ function delete-subnetworks() {
# MASTER_ROOT_DISK_SIZE
function
get-master-root-disk-size
()
{
if
[[
"
${
NUM_NODES
}
"
-le
"1000"
]]
;
then
export
MASTER_ROOT_DISK_SIZE
=
"20"
export
MASTER_ROOT_DISK_SIZE
=
"
${
MASTER_ROOT_DISK_SIZE
:-
20
}
"
elif
[[
"
${
NUM_NODES
}
"
-le
"2000"
]]
;
then
export
MASTER_ROOT_DISK_SIZE
=
"
${
MASTER_ROOT_DISK_SIZE
:-
50
}
"
else
export
MASTER_ROOT_DISK_SIZE
=
"
50
"
export
MASTER_ROOT_DISK_SIZE
=
"
${
MASTER_ROOT_DISK_SIZE
:-
100
}
"
fi
}
...
...
@@ -963,9 +965,11 @@ function get-master-root-disk-size() {
# MASTER_DISK_SIZE
function
get-master-disk-size
()
{
if
[[
"
${
NUM_NODES
}
"
-le
"1000"
]]
;
then
export
MASTER_DISK_SIZE
=
"20GB"
export
MASTER_DISK_SIZE
=
"
${
MASTER_DISK_SIZE
:-
20GB
}
"
elif
[[
"
${
NUM_NODES
}
"
-le
"2000"
]]
;
then
export
MASTER_DISK_SIZE
=
"
${
MASTER_DISK_SIZE
:-
100GB
}
"
else
export
MASTER_DISK_SIZE
=
"
100GB
"
export
MASTER_DISK_SIZE
=
"
${
MASTER_DISK_SIZE
:-
200GB
}
"
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment