mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-09-04 04:41:33 +00:00
Set CPUManagerPolicy=static, reserve compute resources
Fixes: #8, #16 Setting CPUManager=static allows `Guaranteed` QoS class workloads to get cpu isolation and affinity benefits. https://kubernetes.io/blog/2018/07/24/feature-highlight-cpu-manager/ Setting reserved compute resources for system processes and critical kube components prevents from DoS'ing the compute node. https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/ Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
This commit is contained in:
committed by
Manohar Castelino
parent
d4c47d2c5b
commit
5fe7fa0d89
@@ -7,6 +7,13 @@ apiVersion: kubelet.config.k8s.io/v1beta1
|
||||
kind: KubeletConfiguration
|
||||
featureGates:
|
||||
RuntimeClass: true
|
||||
cpuManagerPolicy: static
|
||||
systemReserved:
|
||||
cpu: 500m
|
||||
memory: 256M
|
||||
kubeReserved:
|
||||
cpu: 500m
|
||||
memory: 256M
|
||||
---
|
||||
apiVersion: kubeadm.k8s.io/v1alpha3
|
||||
kind: ClusterConfiguration
|
||||
|
||||
Reference in New Issue
Block a user