Set kube-cpu-mgr-policy default to static
In kernel 6.6, when kube-cpu-mgr-policy is none, all pods in default namespace are getting affined to platform cores even restricting all application pods to run on platform cores. Setting kube-cpu-mgr-policy default to static will fix the issue Note: The none policy explicitly enables the existing default CPU affinity scheme, providing no affinity beyond what the OS scheduler does automatically. Test Plan: PASS: Install an iso as AIO-SX, create a pod , verify that it is affined application cores. PASS: Verify all pods in kube-system namespace are affined to platform cores Partial-Bug: 2073781 Change-Id: I09a3e380595f45e5e1dae6dec57c5ebb182728fd Signed-off-by: Saba Touheed Mujawar <sabatouheed.mujawar@windriver.com>
This commit is contained in:
parent
659f05d4ab
commit
a8007d6434
@ -17,7 +17,7 @@ class platform::kubernetes::params (
|
||||
$k8s_platform_cpuset = undef,
|
||||
$k8s_reserved_mem = undef,
|
||||
$k8s_all_reserved_cpuset = undef,
|
||||
$k8s_cpu_mgr_policy = 'none',
|
||||
$k8s_cpu_mgr_policy = 'static',
|
||||
$k8s_topology_mgr_policy = 'best-effort',
|
||||
$k8s_cni_bin_dir = '/var/opt/cni/bin',
|
||||
$k8s_vol_plugin_dir = '/var/opt/libexec/kubernetes/kubelet-plugins/volume/exec/',
|
||||
|
Loading…
x
Reference in New Issue
Block a user