From a0bed820267273be04324b104364ee7477027da5 Mon Sep 17 00:00:00 2001 From: George Angel Date: Wed, 1 Apr 2020 21:32:47 +1000 Subject: [PATCH] sys: set static cpu manager policy https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#configuration This will allow finance team to deploy "Guaranteed" Cassandra Pods. Currently when throttled and sharing CPU with other applications, results in timeouts instead of slower performance. --- resources/node-kubelet-conf.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/node-kubelet-conf.yaml b/resources/node-kubelet-conf.yaml index d11bea3..013ec3b 100644 --- a/resources/node-kubelet-conf.yaml +++ b/resources/node-kubelet-conf.yaml @@ -11,6 +11,7 @@ authorization: mode: AlwaysAllow clusterDNS:${cluster_dns} clusterDomain: "cluster.local" +cpuManagerPolicy: "static" evictionHard: memory.available: "1Gi" nodefs.available: "2Gi"