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.
This commit is contained in:
Justin Scott
2022-04-04 14:11:17 -07:00
committed by Ganesh Maharaj Mahalingam
parent 0d1d72e7a1
commit 6aff0ac601
-2
View File
@@ -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