Turn on static policy for CPU manager

This is finally supported in Kata 1.6
Update memory limit for kata to run in guaranteed test case

Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
This commit is contained in:
Saikrishna Edupuganti
2019-03-27 10:27:12 -07:00
committed by Manohar Castelino
parent 3b7e7f75d1
commit 4f38e14245
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -7,9 +7,8 @@ apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
featureGates:
RuntimeClass: true
# Kata does not work with static
# https://github.com/kata-containers/runtime/issues/878
# cpuManagerPolicy: static
# Allowing for CPU pinning and isolation in case of guaranteed QoS class
cpuManagerPolicy: static
systemReserved:
cpu: 500m
memory: 256M
@@ -12,7 +12,7 @@ spec:
resources:
limits:
cpu: 1
memory: 100Mi
memory: 500Mi # For kata to run
---
apiVersion: v1
kind: Pod