kubernetes-sigs / kube-scheduler-wasm-extension

All the things to make the scheduler extendable with wasm.
Apache License 2.0
109 stars 22 forks source link

Update Kubernetes from 1.27.3 to 1.30.4 #128

Closed jgiannuzzi closed 1 week ago

jgiannuzzi commented 1 week ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

This PR updates all k8s references from 1.27.3 to 1.30.4, which is the version targeted by the Kubernetes Scheduler Simulator. This allows us to use the WASM plugin with the debuggable scheduler.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Updated to Kubernetes 1.30.4, no guest changes needed.

What are the benchmark results of this change?

goos: linux
goarch: arm64
pkg: sigs.k8s.io/kube-scheduler-wasm-extension/internal/e2e/scheduler
                                      │  before.txt  │             after.txt              │
                                      │    sec/op    │    sec/op     vs base              │
Example_NodeNumber/Simple/New-6         335.6m ±  4%   324.1m ±  3%  -3.42% (p=0.026 n=6)
Example_NodeNumber/Simple/Run-6         125.0µ ±  8%   118.7µ ±  7%       ~ (p=0.093 n=6)
Example_NodeNumber/Simple_Log/New-6     347.4m ±  7%   327.6m ±  4%  -5.71% (p=0.041 n=6)
Example_NodeNumber/Simple_Log/Run-6     143.3µ ± 10%   140.0µ ± 14%       ~ (p=0.485 n=6)
Example_NodeNumber/Advanced/New-6       719.2m ±  2%   721.6m ±  2%       ~ (p=0.485 n=6)
Example_NodeNumber/Advanced/Run-6       47.64µ ±  4%   48.20µ ±  9%       ~ (p=0.485 n=6)
Example_NodeNumber/Advanced_Log/New-6   716.7m ±  4%   722.0m ± 10%       ~ (p=0.485 n=6)
Example_NodeNumber/Advanced_Log/Run-6   55.63µ ±  3%   55.60µ ±  1%       ~ (p=0.699 n=6)
geomean                                 6.410m         6.294m        -1.82%
jgiannuzzi commented 1 week ago

/cc @sanposhiho

k8s-ci-robot commented 1 week ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jgiannuzzi, sanposhiho

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/blob/main/OWNERS)~~ [sanposhiho] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment