Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 868 Bytes

k8s-best-practices-cpu-isolation.adoc

File metadata and controls

15 lines (10 loc) · 868 Bytes

CPU isolation

The Node Tuning Operator manages host CPUs by dividing them into reserved CPUs for cluster and operating system housekeeping duties, and isolated CPUs for workloads. CPUs that are used for low latency workloads are set as isolated.

Device interrupts are load balanced between all isolated and reserved CPUs to avoid CPUs being overloaded, with the exception of CPUs where there is a guaranteed pod running. Guaranteed pod CPUs are prevented from processing device interrupts when the relevant annotations are set for the pod.

Important
Workload requirement

To use isolated CPUs, specific annotations must be defined in the pod specification.

See test case lifecycle-cpu-isolation