mirror of https://github.com/k3s-io/k3s
Update Cluster Autoscaler entrypoint
parent
e1248bcbbc
commit
d4d2f55809
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue