Hi Sriram:
You can check [1] and [2] . I think current implement is using host label (kube-cpu-mgr-policy) to enable this feature gate
[1]
https://storyboard.openstack.org/#!/story/2006565
[2] https://review.opendev.org/#/c/689609/
Thanks.
BR
Austin Sun.
From: Dharwadkar, Sriram <Sriram.Dharwadkar@commscope.com>
Sent: Wednesday, October 14, 2020 2:26 AM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Enabling CPU Manager
Hi,
I have installed StarlingX edge cloud with version 4.0 with one controller + 2 worker nodes.
In this setup, how to enable CPU Manager, so that dedicated cpu’s can be assigned to containers.
I modified the file /var/lib/kubelet/config.yaml, to have below contents and rebooted the worker node
featureGates:
CPUManager: true
cpuManagerPolicy: static
cpuManagerReconcilePeriod: 5s
systemReserved:
cpu: 2000m
kubeReserved:
cpu: 2000m
It has not taken effect. Any suggestions to enable CPU Manage ? Looks like documentation for this is not ready.
Regards,
Sriram