Topology Manager — coordinates resource alignment across CPU, memory, and device topology.
1# Kubelet configuration2apiVersion: kubelet.config.k8s.io/v1beta13kind: KubeletConfiguration4topologyManagerPolicy: "best-effort"5t topologyManagerScope: "pod"6topologyManagerMaxAllowable NUMANodes: 1
1# Pod requesting NUMA-aligned resources2apiVersion: v13kind: Pod4metadata:5 name: numa-pod6spec:7 containers:8 - name: app9 image: myapp:latest10 resources:11 limits:12 cpu: "4"13 memory: "8Gi"14 nvidia.com/gpu: "1"15 requests:16 cpu: "4"17 memory: "8Gi"18 nvidia.com/gpu: "1"19 # Topology hints will be computed automatically
1# Check topology2kubectl describe node node-1 | grep -A 20 "Allocated resources"3cat /sys/devices/system/node/node0/cpulist4numactl --hardware
Policies:
Use cases: