Skip to content

Commit

Permalink
Tune static pod CPU requests slightly lower
Browse files Browse the repository at this point in the history
* Reduce kube-apiserver and kube-controller-manager CPU
requests from 200m to 150m. Prefer slightly lower commitment
after running with the requests chosen in #161 for a while
* Reduce calico-node CPU request from 150m to 100m to match
CoreDNS and flannel
  • Loading branch information
dghubble committed Dec 9, 2019
1 parent dce4911 commit 7df6bd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/calico/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ spec:
privileged: true
resources:
requests:
cpu: 150m
cpu: 100m
livenessProbe:
exec:
command:
Expand Down
2 changes: 1 addition & 1 deletion resources/static-manifests/kube-apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
fieldPath: status.podIP
resources:
requests:
cpu: 200m
cpu: 150m
volumeMounts:
- name: secrets
mountPath: /etc/kubernetes/secrets
Expand Down
2 changes: 1 addition & 1 deletion resources/static-manifests/kube-controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
timeoutSeconds: 15
resources:
requests:
cpu: 200m
cpu: 150m
volumeMounts:
- name: secrets
mountPath: /etc/kubernetes/secrets
Expand Down

0 comments on commit 7df6bd8

Please sign in to comment.