mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-09-03 04:11:38 +00:00
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:
committed by
Manohar Castelino
parent
3b7e7f75d1
commit
4f38e14245
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user