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.
Allocate CPUs Using Nokia CPU Pooler
The Nokia CPU Pooler is a Kubernetes device plugin designed to manage CPU resources more effectively by organizing them into distinct pools. It exposes CPU cores as consumable devices to the scheduler and physically isolates CPU resources for containers based on their performance needs.
It supports three types of CPU pools:
-
Exclusive Pool: Allocates dedicated CPU cores to latency-sensitive containers.
-
Shared Pool: Allocates fractional CPUs (millicores) to containers that can tolerate some sharing.
-
Default Pool: The standard Kubernetes CPU allocation used when no specific pool is requested.
Use this procedue to allocate CPU cores to vRouter DPDK using Nokia CPU Pooler: