A millicore (abbreviated m) is Kubernetes' unit for measuring CPU allocation. It's 1/1000th of a CPU core.
Think of it like currency. If a vCPU is a dollar, a millicore is a tenth of a cent. This granularity lets Kubernetes pack workloads efficiently — a small web server might need only 100m (10% of a core), while a data preprocessing job might need 4000m (4 full cores).
# Kubernetes pod spec
resources:
requests:
cpu: "4000m" # 4 vCPUs
memory: "16Gi"
nvidia.com/gpu: 1 # 1 GPU
limits:
cpu: "8000m" # burst up to 8 vCPUs
memory: "32Gi"
nvidia.com/gpu: 1