Allocate CPUs to the Cloud-Native Router Forwarding Plane
Learn how to allocate CPU cores using static CPU allocation or using the Kubernetes CPU Manager.
The Cloud-Native Router installation Helm chart and the vRouter CRD provide you with a number of controls to allocate CPU cores to the Cloud-Native Router vRouter. You can specify the requested number of cores, the core limit, and the cores to be assigned, either through static CPU allocation or through the Kubernetes CPU Manager.
Allocate CPUs Using the Kubernetes CPU Manager
This is the recommended approach if your cluster is running the Kubernetes CPU Manager.
Allocate CPUs Using Static CPU Allocation
We recommend you use this method only when your cluster is not running the Kubernetes CPU Manager.
-
Specify the resource limits and requests for the
contrail-vrouter-kernel-init-dpdk
and thecontrail_vrouter_agent_dpdk
containers. -
Configure the Helm chart to specify the cores that you want the vRouter
DPDK to use.
- Proceed with your Cloud-Native Router installation.