From 7df6bd8d1e776f0db2c26d044b86341b3f4b1720 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sun, 8 Dec 2019 22:25:58 -0800 Subject: [PATCH] Tune static pod CPU requests slightly lower * 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 --- resources/calico/daemonset.yaml | 2 +- resources/static-manifests/kube-apiserver.yaml | 2 +- resources/static-manifests/kube-controller-manager.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/calico/daemonset.yaml b/resources/calico/daemonset.yaml index 9cce2162..301ce1e4 100644 --- a/resources/calico/daemonset.yaml +++ b/resources/calico/daemonset.yaml @@ -137,7 +137,7 @@ spec: privileged: true resources: requests: - cpu: 150m + cpu: 100m livenessProbe: exec: command: diff --git a/resources/static-manifests/kube-apiserver.yaml b/resources/static-manifests/kube-apiserver.yaml index 3cdbc3d6..22297eaa 100644 --- a/resources/static-manifests/kube-apiserver.yaml +++ b/resources/static-manifests/kube-apiserver.yaml @@ -46,7 +46,7 @@ spec: fieldPath: status.podIP resources: requests: - cpu: 200m + cpu: 150m volumeMounts: - name: secrets mountPath: /etc/kubernetes/secrets diff --git a/resources/static-manifests/kube-controller-manager.yaml b/resources/static-manifests/kube-controller-manager.yaml index 9decbef9..f339e464 100644 --- a/resources/static-manifests/kube-controller-manager.yaml +++ b/resources/static-manifests/kube-controller-manager.yaml @@ -41,7 +41,7 @@ spec: timeoutSeconds: 15 resources: requests: - cpu: 200m + cpu: 150m volumeMounts: - name: secrets mountPath: /etc/kubernetes/secrets