Commit graph

6251 commits

Author SHA1 Message Date
Kubernetes Prow Robot
d96ef3cd6a
Merge pull request #139287 from kannon92/issue-139281
batch/job: Fix scheduling directives mutation for not-yet-started suspended Jobs
2026-05-27 20:57:07 +05:30
Kevin Hannon
37629e3c21
batch/job: Fix scheduling directives mutation for not-yet-started suspended Jobs
When MutableSchedulingDirectivesForSuspendedJobs feature gate is
enabled, it overwrites the notStarted check with a stricter condition
requiring the JobSuspended=True condition. This rejects mutations on
suspended Jobs that have never started but whose JobSuspended condition
has not yet been set by the job controller, breaking external
controllers like MultiKueue that inject scheduling directives
immediately after creating a suspended Job.

Preserve the notStarted path as an OR condition alongside the
JobSuspended condition check, restoring pre-1.36 behavior for
not-yet-started Jobs while maintaining the new relaxation for
previously-started Jobs.

Kubernetes-issue: https://github.com/kubernetes/kubernetes/issues/139281
2026-05-27 09:38:44 -04:00
Maciej Skoczeń
8eb66b73ef Add support for PodGroups in scheduling queue 2026-05-27 13:06:13 +00:00
Kubernetes Prow Robot
338e80805f
Merge pull request #138643 from brejman/gang-early-return-core
Add early-return based on mincount to pod group scheduling algorithm
2026-05-27 17:36:43 +05:30
Kubernetes Prow Robot
48ba469549
Merge pull request #137204 from luxas/authorizer-decision-to-struct
Conditional Authz [1/n]: Add conditional capabilities to the authorizer interface
2026-05-27 02:32:00 +05:30
Kubernetes Prow Robot
083b28d8a6
Merge pull request #139217 from adrianmoisey/dns-search-string-relaxation
KEP-4427: Remove RelaxedDNSSearchValidation feature gate
2026-05-26 22:54:07 +05:30
Kubernetes Prow Robot
c735e8c567
Merge pull request #139162 from brejman/fix-stuck-preemption
Fix case where preemptor may be stuck in unschedulable queue
2026-05-26 21:01:17 +05:30
Bartosz
27c939be26
Fix case where preemptor may be stuck in unschedulable queue 2026-05-26 13:35:05 +00:00
Bartosz
1e1bad1dde
Add PlacementFeasible plugin to support early gang termination 2026-05-25 10:36:03 +00:00
Antoni Basista
8b8aa9c52b Add support for NNN in podgrouppreemption 2026-05-25 08:54:22 +00:00
Adrian Moisey
cbc8e77b2a
KEP-4427: Remove RelaxedDNSSearchValidation feature gate 2026-05-24 10:21:22 +02:00
dom4ha
72d770c679 Convert DisruptionMode from enum to struct 2026-05-22 12:50:19 +00:00
dom4ha
88948acc38 Remove v1alpha2 API definitions
Update client-go lister and informer imports to v1alpha3
2026-05-22 12:50:19 +00:00
dom4ha
8a52fb2ea9 Migrate references to v1alpha3 in tests, controllers, and remaining files 2026-05-22 12:50:19 +00:00
Joe Betz
5482f0bf4b
Test that trailing data in protobuf encoded managed fields is dropped 2026-05-20 21:19:57 -04:00
Kubernetes Prow Robot
30ccb9e50f
Merge pull request #139078 from jpbetz/return-deleted-object
Add API definition test to enforce ReturnDeletedObject: false
2026-05-19 23:33:48 +05:30
Kubernetes Prow Robot
34341909b3
Merge pull request #139144 from pravk03/ndf-perf
Increase pod count in NodeDeclaredFeatures plugin scheduler perf test
2026-05-19 22:33:48 +05:30
Praveen Krishna
f01dce5a4b increase node declared features benchmark to 50k pods 2026-05-18 18:52:32 +00:00
Kubernetes Prow Robot
8993230c71
Merge pull request #139056 from iomarsayed/add-performance-tests-for-tas
Add performance tests for TAS
2026-05-18 16:53:58 +05:30
Kubernetes Prow Robot
d7e0dc363e
Merge pull request #137340 from vshkrabkov/perf-test/init-opportunistic-batching
Opportunistic batching performance tests
2026-05-18 15:47:51 +05:30
vshkrabkov
0945adf6e9 Opportunistic batching performance test 2026-05-15 17:36:13 +02:00
iomarsayed
430306b3d5 Add performance tests for TAS 2026-05-15 13:16:24 +00:00
Kubernetes Prow Robot
055da541f7
Merge pull request #139084 from jdzikowski/fixmaxscheduledcountbasicpolicy
Fix the maxScheduledCount test could get updated for basic policy podgroups
2026-05-15 18:16:52 +05:30
Kubernetes Prow Robot
73e9abda67
Merge pull request #139055 from Argh4k/cpu-profile-op
Add Operation to run selective CPU profiling in scheduler benchmark
2026-05-15 18:16:44 +05:30
Jarosław Dzikowski
3999f29665 Fix the maxScheduledCount test could get updated for basic policy podgroups 2026-05-15 09:44:42 +00:00
Maciej Wyrzuc
b4117324c8 Add Operation to run selective CPU profiling in scheduler benchmark 2026-05-15 09:24:20 +00:00
Joe Betz
ab17d4910d
Add API definition test to enforce ReturnDeletedObject: false 2026-05-15 02:01:56 +00:00
Ben Luddy
d80cb7b850
Automatically clean up test-only storage decode panic overrides.
As with per-test feature gate overrides, scope overrides of test-only storage decode panics to the
test's duration. This also protects against accidental contamination of other tests, since callers
are no longer responsible for removing their own overrides.
2026-05-14 12:33:12 -04:00
Anish Ramasekar
7262edeb59
fix(admission): reword NodeRestriction audience authorization error
The previous error message said the audience was "not found in pod
spec volume", which led users to mount a spurious projected service
account token volume in the pod spec to satisfy the check. That is
not the intended remedy: kubelets should be authorized via RBAC to
request tokens for the configured audience.

Reword the error to a generic "is not authorized to request tokens
for audience %q" so users are not pushed toward modifying pod specs.
The valid authorization paths (pod spec volume, CSIDriver tokenRequests,
or the request-serviceaccounts-token-audience verb) are documented
in the kubelet credential provider task page.

Update the unit and integration test expectations to match.
2026-05-13 16:30:51 -07:00
Lucas Käldström
69a8b4dd7a Adapt the codebase to the Authorizer interface change 2026-05-13 18:34:51 +03:00
Jordan Liggitt
bed4a34ad8
Drop meaningless ,inline from json tags 2026-05-13 11:24:04 -04:00
Kubernetes Prow Robot
cc9fd614c4
Merge pull request #139008 from wojtek-t/revert_pod_group_admission
Revert "KEP-5832: Implement PodGroup admission (#137464)
2026-05-13 19:01:48 +05:30
Kubernetes Prow Robot
5a61559f1f
Merge pull request #138463 from nicknikolakakis/fix/138461-podcertrequest-test-flake
Deflake PodCertificateRequest integration tests
2026-05-13 01:16:29 +05:30
Wojciech Tyczyński
3115775706 Revert #138756 2026-05-12 21:05:12 +02:00
Wojciech Tyczyński
17460de7bd Revert "KEP-5832: Implement PodGroup admission (#137464) 2026-05-12 21:00:23 +02:00
Kubernetes Prow Robot
237efd3dcd
Merge pull request #136224 from serathius/watchcache-checker
Move consistency checking to cacher subpackage
2026-05-12 20:40:29 +05:30
Kubernetes Prow Robot
f830e4a2b8
Merge pull request #138542 from pohly/dra-create-resource-claim
DRA: harmonize ResourceClaim creation metric
2026-05-12 05:12:09 +05:30
Nick Nikolakakis
bc121381a8
Reuse single lastErr variable across PCR Create polls
Replace lastErrBarFoo/lastErrFooBar with a single lastErr variable
reused by both PodCertificateRequest Create polls in
TestNodeAuthorizerNamespaceNameConfusion, matching the convention
used elsewhere in the file.

Signed-off-by: Nick Nikolakakis <nonicked@protonmail.com>
2026-05-11 18:27:34 +03:00
Kubernetes Prow Robot
4c4f7d8a76
Merge pull request #138886 from jdzikowski/mincount-preemption2
Add tests for WAP that prove that maxScheduledCount can increase during reprieval for gang PodGroups
2026-05-11 18:09:57 +05:30
Patrick Ohly
4a305f8fc7 DRA: fix component list for ResourceClaim metric
The endpoint-mappings.yaml file specifies which components use which
metrics. The case some, but not all core components (kube-controller-manager
and kube-scheduler in this case) sharing the same metrics was not
supported. This gets fixed by not returning early once the first file path
matches.

Not all metrics in pkg/controller/resourceclaim/metrics are shared. To make the
sharing clearer and fit into the file-path based component support in
endpoint-mappings.yaml, the shared metric gets moved to a new
pkg/resourceclaim/metrics package.
2026-05-11 12:31:45 +02:00
Maciej Skoczeń
401665d2e0 Fix gang scheduling scheduler-perf tests not executing in CI 2026-05-11 09:05:13 +00:00
Kubernetes Prow Robot
a1c9a473ec
Merge pull request #138910 from BenTheElder/declared-feature-admission-flake
TestNodeDeclaredFeatureAdmission: retry transient node "not found" errors
2026-05-09 03:59:18 +05:30
Kubernetes Prow Robot
e8742a6ba7
Merge pull request #138908 from jpbetz/fix-create-via-update-metdata-wiping
Fix create via update metdata wiping
2026-05-09 01:57:26 +05:30
Benjamin Elder
59fcb6b6aa TestNodeDeclaredFeatureAdmission: retry transient node "not found" errors 2026-05-08 12:11:35 -07:00
Joe Betz
d357ca97bb
Add metadata field wipe on create integration test 2026-05-08 13:52:52 -04:00
Kubernetes Prow Robot
8e2ef00239
Merge pull request #138341 from iomarsayed/add-performance-tests-for-gang-scheduling
Add performance tests for gang scheduling
2026-05-08 23:13:26 +05:30
iomarsayed
8f018f97a8 Add performance tests for gang scheduling 2026-05-08 11:52:50 +00:00
Jarosław Dzikowski
c29d56d889 Add tests for WAP that prove that maxScheduledCount can increase for gang PodGroups 2026-05-08 11:22:24 +00:00
Kubernetes Prow Robot
7988c94bf6
Merge pull request #138810 from macsko/fix_wap_test_case
Enable WAP correctly in basic policy integration test
2026-05-08 14:21:17 +05:30
Kubernetes Prow Robot
9d011e034b
Merge pull request #138801 from luxas/impl-conditional-authz-0
Conditional Authz [0/5]: Rename all usages of the `authorizer.Authorizer` interface to `authorizer.UnconditionalAuthorizer`
2026-05-08 03:21:17 +05:30