Milestones
List view
NUMA-aware schedulers such as KAI Scheduler place GPU Pods using each Node's NodeResourceTopology (NRT), the list of its NUMA zones and what each has free. A zone is a group of CPUs, memory and GPUs that sit close together. KWOK Nodes, the virtual Nodes KWOK runs without a kubelet, have no Node Feature Discovery (NFD) to write it. Make the KWOK data plane write each KWOK Node's NRT from the layout MEP0010's first milestone gives CPU Nodes. It also charges Pods to zones, as the kubelet would. It builds on the data plane and GPU allocation of MEP0008's first milestone. Acceptance criteria - KAI's NUMA tests pass on KWOK Nodes: Run KAI's NUMA specs on Mokka's virtual KWOK Nodes. - A KWOK rack group gets NRTs that match those of CPU Nodes (real Nodes where Mokka simulates GPUs) with the same profile, as MEP0010's third user story describes.
No due date•0/4 issues closedIn CPU Nodes, a GPU's utilization in nvidia-smi and in dcgm-exporter's Prometheus metrics follows a pattern set per GPU, whatever Pod holds the GPU. This milestone lets a Pod set its GPUs' utilization and memory use with Mokka's telemetry annotations, as users of Run:ai's Fake GPU Operator (FGO) do with run.ai/* annotations. Acceptance criteria - MEP0009's first two user stories, a busy and an idle Pod on one Node and a running Pod that goes idle, pass with NVIDIA's device plugin and with its DRA driver. - A runtime policy's Bursty or Wave pattern shapes the utilization dcgm-exporter and nvidia-smi report on CPU Nodes.
No due date•0/9 issues closedA KWOK rack group binds KWOK Nodes that something else creates, such as kwokctl, a CI harness or an autoscaler. Add node.source, which lets a group say who creates its Nodes. Also add the KWOK provisioner, an optional component that creates the Nodes of groups with node.source: Mokka, as Cluster API or a cloud's node groups create a real cluster's machines. Groups have to ask, since Mokka can't tell a free slot a harness will fill from one it won't. A load test can then add 1,000 racks to an inventory and get their Nodes automatically without running kwokctl. Acceptance criteria - A node.source: Mokka group comes up automatically without kwokctl.
No due date•0/6 issues closedThe KWOK data plane starts as a single replica serving every KWOK rack. Let several replicas share the racks, so tests can grow to 1,000 racks and 72,000 GPUs. Each replica holds a shard Lease, a Kubernetes Lease it renews while it serves, and the control plane learns the replicas from these Leases, so an autoscaler can resize the data plane without telling it. The control plane gives each rack to the live replica that scores highest for it, a scheme called rendezvous hashing, so a replica joining or leaving moves only the racks it gains or loses. Acceptance criteria - 1,000 racks run across data plane replicas. - A control plane failover moves no racks.
No due date•0/6 issues closedKWOK Nodes, the virtual Nodes KWOK runs without a kubelet, have no NVIDIA dcgm-exporter to serve GPU metrics, and Run:ai's cluster operator checks for three of these metrics. Make the KWOK data plane serve them from every replica, for Prometheus to scrape through the chart's PodMonitor. Runtime policies' utilization patterns and Pods' telemetry annotations shape the values, through MEP0009's shared generator and workload tracker. Run:ai's harness can then move off the Fake GPU Operator (FGO) it uses today, with a migration guide to follow. Metrics tests written for CPU Nodes, the real Nodes where Mokka simulates GPUs, run unchanged on KWOK Nodes. Acceptance criteria - Run:ai's harness runs on Mokka instead of FGO, as MEP0008's second user story describes: Move Run:ai's test harness from FGO to Mokka (V5). - The tests of MEP0009's first two user stories, where Pods' annotations set their GPUs' utilization, run unchanged on KWOK Nodes, as its third user story describes.
No due date•0/5 issues closedAfter the first milestone, KWOK Nodes, the virtual Nodes KWOK runs without a kubelet, advertise GPUs only as nvidia.com/gpu capacity. Add a DRA mode, where each Node lists its GPUs in a ResourceSlice for the scheduler to allocate (Dynamic Resource Allocation), and stand in for NVIDIA's node-side ComputeDomain parts, which multi-node NVLink jobs use. KAI's DRA support and controllers of multi-node NVLink jobs can then be tested on KWOK Nodes in clusters without GPUs. Acceptance criteria: - KAI's DRA tests pass on KWOK Nodes: Run KAI's DRA specs on Mokka's virtual KWOK Nodes (V4). - A ComputeDomain with `numNodes: 4` and four Pods that claim its channel on KWOK Nodes turns `Ready` through NVIDIA's controller.
No due date•0/7 issues closedBasic integration of KWOK virtual nodes with Mokka. Bind KWOK Nodes into KWOK rack groups by node.type, and run one KWOK data plane replica that publishes their GPUs from rack state, removes them before a release completes, and allocates GPUs to their Pods in SGPURackAllocations. Acceptance criteria - KAI's scale suite passes with Mokka in place of FGO, on the KWOK Nodes its kwok-operator NodePools create: Run KAI's scale suite on Mokka's KWOK Nodes (V3).
No due date•0/9 issues closedThese are the Control Plane (MEP0001) prerequisites for the KWOK Integration (MEP0008). Deliver compiled rack state from the control plane, so the KWOK data plane applies the same state the node daemon will apply on CPU Nodes. Acceptance criteria - Each SGPURack's delivery generation advances whenever its bindings, profile or accepted policies change. - Node assignments are published with revisions and a delivery floor, and a leader change finishes or supersedes a pending publication. - The control plane serves the compiled state of up to 100 racks per request at POST /v1alpha1/racks/state:batchGet, ordered by delivery generations and assignment revisions as MEP0001 specifies.
No due date•0/8 issues closed