Merge pull request #15068 from wojtek-t/fix_default_limits

Tweak limits for system pods in manifest files.
This commit is contained in:
Filip Grzadkowski 2015-10-07 09:41:28 +02:00
commit c1345ce2d9
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

@ -112,7 +112,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": [