Update Cluster Autoscaler entrypoint

pull/6/head
Maciej Pytel 2017-03-13 11:20:03 +01:00
parent e1248bcbbc
commit d4d2f55809
1 changed files with 12 additions and 3 deletions

View File

@ -27,9 +27,18 @@
"name": "cluster-autoscaler",
"image": "gcr.io/google_containers/cluster-autoscaler:v0.5.0-beta1",
"command": [
"/bin/sh",
"-c",
"./cluster-autoscaler --kubernetes=http://127.0.0.1:8080?inClusterConfig=f --v=4 {{params}} 1>>/var/log/cluster-autoscaler.log 2>&1"
"./run.sh",
"--kubernetes=http://127.0.0.1:8080?inClusterConfig=f",
"--v=4",
"--stderrthreshold=info",
"--write-status-configmap=true",
"{{params}}"
],
"env": [
{
"name": "LOG_OUTPUT",
"value": "/var/log/cluster-autoscaler.log"
}
],
# TODO: Make resource requirements depend on the size of the cluster
"resources": {