﻿# Align exclusive CPUs and devices through Topology Manager

Topology Manager performs node-local alignment with specific scope and providers; scheduler placement alone does not establish admission.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-ks-topology-manager/
Language: en

A Pod is assigned to a GPU node but the kubelet rejects its resource alignment. Total free CPU and devices may be sufficient while no permitted NUMA allocation satisfies the configured policy. Topology Manager coordinates local resource hints after node selection; it is not the same decision as ordinary scheduler fit.

## Identify policy and scope

Read the node's effective topologyManagerPolicy and topologyManagerScope. Container scope aligns each container independently; Pod scope considers the group under its documented demand calculation. A helper and model can therefore receive different locality treatment depending on scope. Record the installed version and supported policy options rather than copying another node's assumed defaults.

## Find the hint providers

CPU Manager, device allocation and supported memory management can contribute locality information. A policy cannot align resources for which the necessary provider or resource-management policy is absent. Check actual device NUMA metadata and exclusive CPU eligibility. Merely requesting a GPU does not prove that every host buffer or thread will be allocated near it.

## Read rejection as local admission

A restrictive policy can reject a Pod that cannot satisfy the preferred or single-node alignment it requires. The scheduler may already have bound the Pod before that decision. Preserve kubelet admission evidence and the workload controller's replacement behavior. Repeatedly deleting a bare failed Pod does not explain why every candidate allocation fails.

## Separate alignment from performance

A permitted topology reduces a particular placement mismatch but does not measure achieved bandwidth or application latency. Shared PCIe paths, memory access patterns and thread behavior remain relevant. Do not infer a universal speedup from a policy name or assume one NUMA domain always contains every resource a large model needs.

## Test a constrained fixture

In an isolated qualified node, compare a synthetic request that fits a permitted locality set with one that does not. Observe binding, admission and the actual assigned resources. Acceptance means the policy and providers explain the decision. It does not guarantee automatic retry on another node, correct collective behavior or a latency target for the full serving workload.

## Primary references

[Control Topology Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/).

[Control CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).

[Kubernetes Device Plugins](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/).

Related reading: [NUMA in GPU servers: why resource placement matters](/journal/numa-and-gpu-servers/); [A GPU topology matrix: device proximity and actual measurements](/journal/gpu-topology-distance-matrix/).
