This is The Way- A Crash Course on the Intricacies of Managing CPUs in K8s

created : Fri, 05 Aug 2022 02:07:46 +0900
modified : Fri, 05 Aug 2022 02:09:13 +0900
kubecon numa devops

Simple Systems

# < Kubernetes v1.8 - before 2017
apiVersion: v1
kind: Pod
metadata:
  name: frontend
spec:
  containers:
  - name: app
    image: my-company.example/myapp
    resources:
      requests:
        memory: "64Mi"
        cpu: "250m"
      limits:
        memory: "128Mi"
        cpu: "500m"

High Performance Uses Cases

CPU Manager - Pinned Cores

CPU Manager Policies

CPU Manager Policy Options

NUMA Zones: Not for the weak of heart

Along Comes Topology Management

Going with the Topology Flow

kubelet - Admit()

— Topology Manager - Get Topology Hints()

—— HintProvides (CPU Manager, Device Manager, Memory Manager)

— Topology Manager - Allocate()

kubelet - AddContainer

Current Gaps for High Performance Compute

Heterogeneous Clusters


Out of Tree solutions for CPU management

How Can YOU Get Involved?


개인 생각