Reduce CPURequests, so we can run on 1 core machine

Fix #776
This commit is contained in:
Justin Santa Barbara 2016-11-04 00:40:29 -04:00
parent bd2134912b
commit 46e5b724cf
4 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,19 @@
## Allocations of CPU on the master
Note these are only _requests_, not limits.
```
50m dns-controller
150m etcd main
100m etcd events
150m kube-apiserver
100m kube-controller-manager
100m kube-proxy
100m kube-scheduler
====
750m total
(leaving 250m for misc services e.g. CNI controller, log infrastructure etc)
```

View File

@ -3,4 +3,4 @@ ClientPort: 4001
PeerPort: 2380
DataDirName: data
PodName: etcd-server
CPURequest: 200m
CPURequest: 150m

View File

@ -13,7 +13,7 @@ spec:
image: "{{ KubeAPIServer.Image }}"
resources:
requests:
cpu: 250m
cpu: 150m
command:
- "/bin/sh"
- "-c"

View File

@ -13,7 +13,7 @@
"image": "{{ KubeControllerManager.Image }}",
"resources": {
"requests": {
"cpu": "200m"
"cpu": "100m"
}
},
"command": [