Skip to content

feat: add kplane storage implementation#635

Open
savme wants to merge 2 commits into
mainfrom
feat/add-kplane-storage-impl
Open

feat: add kplane storage implementation#635
savme wants to merge 2 commits into
mainfrom
feat/add-kplane-storage-impl

Conversation

@savme

@savme savme commented Jun 1, 2026

Copy link
Copy Markdown

Related to #596.
Alternative implementation in #647.

What

Adds a kplane storage implementation to Milo.

Numbers

Scale benchmark; 100 projects across 5 runs (using the harness from #615):

metric value per project
heap 3.0 MiB
sys 5.0 MiB
goroutines 90
etcd watchers 0

How to try it

task dev:setup:kplane                 
task test:scale                       # run the scale benchmark (default 20 projects)
SCALE_PROJECTS=100 task test:scale    # or using a specific number of projects to create

Notes

Toolchain bumps required by the kplane fork:

  • Go: 1.25 → 1.26.3
  • sigs.k8s.io/controller-runtime: 0.23.3 → 0.24.1
  • sigs.k8s.io/multicluster-runtime: 0.23.3 → 0.24.1
  • k8s.io/{api,apimachinery,apiserver,client-go,component-base,...}: v0.35.0 → v0.36.0

k8s.io/client-go v1.5.2 appears in go.mod per kplane's require https://github.com/kplane-dev/apiserver/blob/main/go.mod#L17

Test plan

  • go build ./... clean
  • go vet ./... clean
  • go test ./... (unit) clean
  • task dev:setup:kplane brings apiserver up with the flag (verified via the kplane shared-cacher log line)
  • task test:scale against kplane backend produces the numbers above
  • Chainsaw e2e suite

@savme savme force-pushed the feat/add-kplane-storage-impl branch from 5bf9cf3 to 17e2cf4 Compare June 5, 2026 16:13
@savme savme marked this pull request as ready for review June 8, 2026 13:14
@savme savme requested a review from scotwells June 9, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant