kubernetes/pkg
bwsalmon 854e67bb51
KEP 5598: Opportunistic Batching (#135231)
* First version of batching w/out signatures.

* First version of pod signatures.

* Integrate batching with signatures.

* Fix merge conflicts.

* Fixes from self-review.

* Test fixes.

* Fix a bug that limited batches to size 2
Also add some new high-level logging and
simplify the pod affinity signature.

* Re-enable batching on perf tests for now.

* fwk.NewStatus(fwk.Success)

* Review feedback.

* Review feedback.

* Comment fix.

* Two plugin specific unit tests.:

* Add cycle state to the sign call, apply to topo spread.
Also add unit tests for several plugi signature
calls.

* Review feedback.

* Switch to distinct stats for hint and store calls.

* Switch signature from string to []byte

* Revert cyclestate in signs. Update node affinity.
Node affinity now sorts all of the various
nested arrays in the structure. CycleState no
longer in signature; revert to signing fewer
cases for pod spread.

* hack/update-vendor.sh

* Disable signatures when extenders are configured.

* Update pkg/scheduler/framework/runtime/batch.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update staging/src/k8s.io/kube-scheduler/framework/interface.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Review feedback.

* Disable node resource signatures when extended DRA enabled.

* Review feedback.

* Update pkg/scheduler/framework/plugins/imagelocality/image_locality.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update pkg/scheduler/framework/interface.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update pkg/scheduler/framework/plugins/nodedeclaredfeatures/nodedeclaredfeatures.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update pkg/scheduler/framework/runtime/batch.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Review feedback.

* Fixes for review suggestions.

* Add integration tests.

* Linter fixes, test fix.

* Whitespace fix.

* Remove broken test.

* Unschedulable test.

* Remove go.mod changes.

---------

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>
2025-11-12 21:51:37 -08:00
..
api Enabling NodeDeclaredFeatures in unit tests 2025-11-12 08:26:15 +00:00
apis Kubelet changes and unit tests 2025-11-11 18:19:07 +00:00
auth wire in ctx to rbac plugins 2024-09-17 20:04:02 +03:00
capabilities remove import doc comments 2024-12-02 16:59:34 +01:00
certauthorization Pod Certificates: Basic implementation 2025-07-21 21:49:57 +00:00
client test: code coverage increase for kubelet_client 2025-06-25 13:39:12 +08:00
cluster/ports remove import doc comments 2024-12-02 16:59:34 +01:00
controller KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00
controlplane kube-apiserver: Enable peer proxy and peer-aggregated discovery 2025-11-06 12:48:19 -08:00
credentialprovider Migrate pkg/credentialprovider to structured logging 2025-08-11 16:41:55 -07:00
features KEP 5598: Opportunistic Batching (#135231) 2025-11-12 21:51:37 -08:00
fieldpath remove import doc comments 2024-12-02 16:59:34 +01:00
generated Generated files from API changes 2025-11-11 18:15:21 +00:00
kubeapiserver api: Create Workload API 2025-11-06 09:36:43 +00:00
kubectl remove import doc comments 2024-12-02 16:59:34 +01:00
kubelet Merge pull request #132919 from ndixita/pod-level-in-place-pod-resize 2025-11-12 07:59:41 -08:00
kubemark Merge pull request #122384 from carlory/remove-kubelet-flag-register-schedulable 2025-06-18 05:26:54 -07:00
printers api: Create Workload API 2025-11-06 09:36:43 +00:00
probe remove usage o ExecProbeTimeout 2025-10-20 18:52:54 +00:00
proxy kube-proxy/winkernel: fix stale RemoteEndpoints due to premature clearing of terminatedEndpoints map. 2025-11-05 16:23:43 +00:00
quota/v1 adjusts DRA extended resource quota to include devices usages from regular resource claims 2025-11-05 23:24:24 +00:00
registry Modifying validation logic and pod strategy for PodResize to accommodate for Pod Level Resources resize 2025-11-11 18:15:22 +00:00
routes Move public key getter to interface 2024-06-25 18:10:08 -04:00
scheduler KEP 5598: Opportunistic Batching (#135231) 2025-11-12 21:51:37 -08:00
security remove import doc comments 2024-12-02 16:59:34 +01:00
securitycontext Merge pull request #131018 from saschagrunert/default-masked-paths 2025-07-15 10:56:23 -07:00
serviceaccount Convert externaljwt from gogo to protoc 2025-07-08 08:08:30 +02:00
util KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00
volume kubelet: fix concurrent map write error when creating a pod with empty volumes when the LocalStorageCapacityIsolationFSQuotaMonitoring feature-gate is enabled 2025-11-06 16:23:04 +08:00
windows/service Windows node graceful shutdown 2024-11-05 17:46:22 +00:00
.import-restrictions restrict the use of scheme internally to client-go 2025-05-16 08:48:39 +00:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00