Evo-Sched

A parameterized Kubernetes scheduler and noise-aware multi-objective evaluation pipeline implemented in Go. Evaluated through 1,350 live workload replays covering 32,400 pods on a four-worker cluster.

Year
2026
Status
submitted to KubeCon EU 2027
Role
Author
Links
github

Kubernetes schedulers can be tuned, and a live cluster will happily reward you for tuning them. The trouble is that a live cluster is noisy, so a policy that looks better after one run may simply have been lucky. Evo-Sched started as a question about how often that happens: under the same evaluation budget, does resampling promising candidates reduce false discoveries?

It began as a term project for an evolutionary computation course in March 2026. I continued it independently from August to September 2026, which is where the second and third versions and most of the evidence below come from.

How it works

The scheduler is written in Go. It filters infeasible nodes, then scores the rest with four non-negative weights that sum to one: free CPU, free memory, balance and consolidation. An NSGA-II-style optimizer searches over those weights for two objectives at once: p95 scheduling-decision latency, and the maximum number of workers occupied by the workload.

Candidates are not simulated. Each one is rolled out to a real scheduler deployment and has to bind real Pods on a four-worker kind cluster.

Evo-Sched live search and validation pipeline An NSGA-II-style optimizer proposes scoring weights. An evaluator rolls them out to a custom scheduler that binds real Pods on a four-worker kind cluster, and the measured latency and worker count return to the optimizer. Finalists from one-shot and two-stage search then go through shared ten-repeat validation and a survivor holdout on an unseen workload. Live search loop: 216 samples per arm, seeds 42, 123, 999 NSGA-II optimizer4 weights, sum to 1 Evaluatorpatch and roll out Custom schedulerfilter, then score 4-worker kind cluster24 real Pods per replay Timing, placementp95 latency, workers Finalists, at most 5 per arm (3 selected per arm) Shared validation9 policies, 3 loads, 10x False Pareto countone-shot 2/3, 2-stage 1/3 Survivor holdoutunseen workload, 10x Evidence audit and releaseclaims tied to files, SHA-256 sums
Only the scoring weights change between candidates. Filtering, workloads, cadence and measurement stay fixed.

One-shot search did not hold up

Version 2 ran 216 candidates across three seeds and picked five finalists from single measurements. After ten repeats of validation, none of the five remained nondominated. The apparent gains were not reproducible, and that result set the direction of the next version.

Comparing the two arms

Version 3 gave both arms the same budget: 72 fresh samples per seed, 216 in total. One-shot spent them on 216 candidates. Two-stage evaluated 126 candidates and used the other 90 samples to re-measure the promising ones. Together the arms ran 1,350 workload replays and 32,400 Pods, with no unschedulable results.

Six finalists and three baselines then went through the same validation, 270 more replays and 6,480 Pods.

Shared validation results for nine policies Mean p95 scheduling latency against mean occupied workers over ten repeats. Lower and further left is better. Two of three one-shot finalists and one of three two-stage finalists are dominated. 3 3.25 3.5 3.75 4 1.25 1.30 1.35 1.40 Mean occupied workers Mean p95 decision latency (s) balanced spread-heavy consolidation-heavy s999-gen-01-001 s123-gen-03-010 s999-gen-03-009 s999-init-004 s999-gen-05-006 s999-gen-05-003 one-shot two-stage baseline false Pareto discovery
Shared validation, mean of ten repeats on each of three workloads. Latency intervals overlap, so this shows point estimates only.

False Pareto discoveries fell from two of three finalists for one-shot to one of three for two-stage. Three finalists per arm is a small denominator, so I read this as a description of this run, not as proof.

The holdout was humbling

The three surviving policies then ran against a workload that search had never seen, again with ten repeats.

Policy Type Mean p95 (s) Mean workers Nondominated
balanced baseline 1.2459 3.0 yes
s999-gen-05-003 two-stage 1.3738 2.1 yes
consolidation-heavy baseline 1.3738 2.1 no
s999-init-004 two-stage 1.3997 4.0 no
spread-heavy baseline 1.4259 4.0 no
s123-gen-03-010 one-shot 1.4728 3.0 no

One of three survivors stayed nondominated. Its margin over the hand-designed consolidation baseline was 43 microseconds, at the same 2.1 workers, with strongly overlapping intervals. That is a near-tie, and I treat it as one: the search ended up next to a policy a person had written by hand.

What this does not show

The latency confidence intervals overlap. I make no claim of statistical superiority, of general optimizer effectiveness, of production generalization, or of beating the default kube-scheduler, which here is only a placement reference because it emits no decision timestamp. The holdout was unseen by search, but it was not fully blind, because earlier baseline results on it were already known. Worker count is a consolidation proxy, not a measure of powered-node cost.

What I take from it is the method. Measure twice before believing a live result, and report the near-tie when you get one.

I submitted this work as a talk to KubeCon + CloudNativeCon Europe 2027.

Evidence

The workloads, protocols, raw results and a claim-by-claim audit are versioned in the repository, and each release carries SHA-256 sums.