[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
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
Hi Austin, Thanks for your reply. I was able to configure CPU Manager and test it. Regards, Sriram From: Sun, Austin <austin.sun@intel.com> Sent: Wednesday, October 14, 2020 6:52 AM To: Dharwadkar, Sriram <Sriram.Dharwadkar@commscope.com>; starlingx-discuss@lists.starlingx.io Subject: RE: Enabling CPU Manager 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:/ External (austin.sun@intel.com<mailto:austin.sun@intel.com>) Report This Email<https://shared.outlook.inky.com/report?id=Y29tbXNjb3BlL3NyaXJhbS5kaGFyd2Fka2FyQGNvbW1zY29wZS5jb20vNjA4ZDdjYjBjZDA5MWY5OGZmMDAwZjkxNTJlN2M3NWIvMTYwMjYzODU0Mi41Ng==#key=e6c8140ebc065e8e5b8da3eeeb33a109> FAQ<https://www.inky.com/banner-faq/> Protection by INKY<https://www.inky.com> 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<https://secure-web.cisco.com/15sefPQPEcJzD0iXIlEyNZT2eBPhTkwAAA0dSCVeFt5mGYF4f0OKyVyl9SYOQ219RxU8RL1hka04KQm3T6ZosbbRRX8OTFL3D_2f3o5ifidJLdL6eALY0d6h-c9GE4WqOgxm6GNAAzxjxThP0Zwc7bmTCKNJr_MFGLkzyVniJWoHt3H70PjQwbBIJCHWUt81LosvV_HXYn5VUgd66t56vGaSqsSoUfBKQ6E6kOaNUMkeH3lhJTwDEmbM4CE8aXU-I0JwVvWIzGj0LZ80ZQaFlVnsyjemRD_J00nvvYTnFFxQrYqPuAG_FwiOTTjhXa9jN/https%3A%2F%2Fstoryboard.openstack.org%2F%23%21%2Fstory%2F2006565> [2] https://review.opendev.org/#/c/689609/<https://secure-web.cisco.com/1lg6bRclhOnIuCTNXqNNzu5HP7NvWj2JZPINvpVVylnyzyNA-CbH6KjbZvUprRemh2059BfLmav4DEsLWrhX1xkLPib6yuJMy5pQVaTwcVOmaB574W6rx9e37k3PjnkUWUmS1C9CC5qhVFXwvnd6fUj-h5CuKDS4m4--h9bgBavxdJIoSc4YNIdUcErJ8sVhbkTPyfx9hHab7AibQDGuGz6Wzr0gmb1HbyKG2GuEKnB7YJMGymnQiFck4g2c7ffpQeRQCxd2UILUn9husb4t8FVR4agZ1rKP9Zurf-l0LZi1L_ebRWrHel66slqlTq8m1/https%3A%2F%2Freview.opendev.org%2F%23%2Fc%2F689609%2F> Thanks. BR Austin Sun. From: Dharwadkar, Sriram <Sriram.Dharwadkar@commscope.com<mailto:Sriram.Dharwadkar@commscope.com>> Sent: Wednesday, October 14, 2020 2:26 AM To: starlingx-discuss@lists.starlingx.io<mailto: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
participants (2)
-
Dharwadkar, Sriram
-
Sun, Austin