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.
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.
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.