Tweak limits in manifest files.

This commit is contained in:
Wojciech Tyczynski
2015-10-05 11:05:54 +02:00
parent b9cfab87e3
commit 2a74d1d6ca
4 changed files with 5 additions and 6 deletions

View File

@@ -13,10 +13,7 @@
"image": "gcr.io/google_containers/etcd:2.0.12",
"resources": {
"limits": {
"cpu": "200m"
},
"requests": {
"cpu": "100m"
"cpu": {{ cpulimit }}
}
},
"command": [

View File

@@ -65,6 +65,7 @@ touch /var/log/etcd-events.log:
suffix: ""
port: 4001
server_port: 2380
cpulimit: '"200m"'
/etc/kubernetes/manifests/etcd-events.manifest:
file.managed:
@@ -79,3 +80,4 @@ touch /var/log/etcd-events.log:
suffix: "-events"
port: 4002
server_port: 2381
cpulimit: '"100m"'

View File

@@ -111,7 +111,7 @@
"image": "gcr.io/google_containers/kube-apiserver:{{pillar['kube-apiserver_docker_tag']}}",
"resources": {
"limits": {
"cpu": "200m"
"cpu": "250m"
}
},
"command": [

View File

@@ -24,7 +24,7 @@
"image": "gcr.io/google_containers/kube-scheduler:{{pillar['kube-scheduler_docker_tag']}}",
"resources": {
"limits": {
"cpu": "200m"
"cpu": "100m"
}
},
"command": [