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
c191c720
Commit
c191c720
authored
Jun 07, 2016
by
Marcin Wielgus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump cluster autoscaler version and enable scale down by default
parent
015bc3d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
config-default.sh
cluster/gce/config-default.sh
+1
-1
util.sh
cluster/gce/util.sh
+1
-1
cluster-autoscaler.manifest
...tbase/salt/cluster-autoscaler/cluster-autoscaler.manifest
+1
-1
No files found.
cluster/gce/config-default.sh
View file @
c191c720
...
...
@@ -115,7 +115,7 @@ ENABLE_NODE_AUTOSCALER="${KUBE_ENABLE_NODE_AUTOSCALER:-false}"
if
[[
"
${
ENABLE_NODE_AUTOSCALER
}
"
==
"true"
]]
;
then
AUTOSCALER_MIN_NODES
=
"
${
KUBE_AUTOSCALER_MIN_NODES
:-}
"
AUTOSCALER_MAX_NODES
=
"
${
KUBE_AUTOSCALER_MAX_NODES
:-}
"
AUTOSCALER_ENABLE_SCALE_DOWN
=
"
${
KUBE_AUTOSCALER_ENABLE_SCALE_DOWN
:-
fals
e
}
"
AUTOSCALER_ENABLE_SCALE_DOWN
=
"
${
KUBE_AUTOSCALER_ENABLE_SCALE_DOWN
:-
tru
e
}
"
fi
# Admission Controllers to invoke prior to persisting objects in cluster
...
...
cluster/gce/util.sh
View file @
c191c720
...
...
@@ -836,7 +836,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
}
--scale-down-enabled=
${
AUTOSCALER_ENABLE_SCALE_DOWN
}
"
}
# Assumes:
...
...
cluster/saltbase/salt/cluster-autoscaler/cluster-autoscaler.manifest
View file @
c191c720
...
...
@@ -25,7 +25,7 @@
"containers": [
{
"name": "cluster-autoscaler",
"image": "gcr.io/google_containers/cluster-autoscaler:v0.1.
1
",
"image": "gcr.io/google_containers/cluster-autoscaler:v0.1.
2
",
"command": [
"/bin/sh",
"-c",
...
...
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