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
561b9385
Commit
561b9385
authored
May 31, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #26576 from mwielgus/scale-down-fix
Automatic merge from submit-queue Add missing $ in util.sh cc: @piosz @fgrzadkowski @jszczepkowski
parents
d957e78a
74ad0def
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
util.sh
cluster/gce/util.sh
+3
-3
No files found.
cluster/gce/util.sh
View file @
561b9385
...
...
@@ -804,14 +804,14 @@ function create-cluster-autoscaler-mig-config() {
# must be greater or equal to the number of migs.
if
[[
${
AUTOSCALER_MIN_NODES
}
<
${
NUM_MIGS
}
]]
;
then
echo
"AUTOSCALER_MIN_NODES must be greater or equal
${
NUM_MIGS
}
"
exit
2
exit
2
fi
# Each MIG must have at least one node, so the min number of nodes
# must be greater or equal to the number of migs.
if
[[
${
AUTOSCALER_MAX_NODES
}
<
${
NUM_MIGS
}
]]
;
then
echo
"AUTOSCALER_MAX_NODES must be greater or equal
${
NUM_MIGS
}
"
exit
2
exit
2
fi
# The code assumes that the migs were created with create-nodes
...
...
@@ -838,7 +838,7 @@ function create-cluster-autoscaler-mig-config() {
AUTOSCALER_MIG_CONFIG
=
"
${
AUTOSCALER_MIG_CONFIG
}
--nodes=
${
this_mig_min
}
:
${
this_mig_max
}
:
${
mig_url
}
"
done
AUTOSCALER_MIG_CONFIG
=
"{AUTOSCALER_MIG_CONFIG} --experimental-scale-down-enabled=
${
AUTOSCALER_ENABLE_SCALE_DOWN
}
"
AUTOSCALER_MIG_CONFIG
=
"
$
{
AUTOSCALER_MIG_CONFIG
}
--experimental-scale-down-enabled=
${
AUTOSCALER_ENABLE_SCALE_DOWN
}
"
}
# Assumes:
...
...
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