Published signals

Demystifying Kueue: How ResourceFlavor, ClusterQueue, LocalQueue, Cohort, and Workload Work Together

Score: 8/10 Topic: Kueue CRD architecture for batch scheduling

A clear breakdown of Kueue's five core CRDs and their relationships, helping Kubernetes teams adopt batch scheduling with confidence.

Kueue is a Kubernetes-native batch scheduling system that manages job queues and resource quotas. Its five core CRDs—ResourceFlavor, ClusterQueue, LocalQueue, Cohort, and Workload—form a hierarchical model that can be confusing at first. This article explains each object's role and how they interact, using a resource admission analogy. ResourceFlavor defines resource types (e.g., GPU, CPU), ClusterQueue aggregates quotas across flavors, LocalQueue is the user-facing queue, Cohort enables sharing across queues, and Workload represents a job's resource request. Understanding these relationships is key to designing efficient batch scheduling pipelines. The article avoids API documentation and focuses on practical usage, making it valuable for platform engineers and SREs.