From 6aff0ac601aa8ef2fdfebb643a098039cde79d04 Mon Sep 17 00:00:00 2001 From: Justin Scott Date: Mon, 4 Apr 2022 14:11:17 -0700 Subject: [PATCH] Remove static cpu from kubeadm.yaml * Removing static cpu pinning due to confusion and complications it causes with disabling/enabling cores. * Static CPU policy by defaults pins the process to CPUs if a kubernetes pod limits are set to be full cpus. While this a neat thing, this also causes issues when setaffinity is tried in a particular CPU. While we would like to set limits, pinning a process to a core is something we will try to avoid in the near future. --- clr-k8s-examples/kubeadm.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/clr-k8s-examples/kubeadm.yaml b/clr-k8s-examples/kubeadm.yaml index 59245b7..c56169c 100644 --- a/clr-k8s-examples/kubeadm.yaml +++ b/clr-k8s-examples/kubeadm.yaml @@ -4,8 +4,6 @@ kind: InitConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration cgroupDriver: systemd -# Allowing for CPU pinning and isolation in case of guaranteed QoS class -cpuManagerPolicy: static systemReserved: cpu: 500m memory: 256M