Merge pull request #807 from justinsb/master_resources

Reduce CPURequests, so we can run on 1 core machine
This commit is contained in:
Chris Love 2016-11-15 13:34:49 -07:00 committed by GitHub
commit b5646694a6
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

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