Commit Graph

6081 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1d69828518 Merge pull request #137611 from helayoty/helayoty/podgroup-status
KEP-5832: Add podGroup Status
2026-03-18 20:54:33 +05:30
Kubernetes Prow Robot
0d28578de1 Merge pull request #137795 from ttsuuubasa/dra-binding-conditions-beta
DRA Device Binding Conditions: graduate to beta
2026-03-18 19:18:33 +05:30
Kubernetes Prow Robot
8972b2069b Merge pull request #137365 from yaroslavborbat/dra-resourceslice-reconcile-only-pool-name
DRA: add ReconcileOnlyPoolName to ResourceSlice controller
2026-03-18 17:00:32 +05:30
Yaroslav Borbat
b9bf406456 DRA ResourceSlice: explicit AllNodes on Pool and placement validation
Signed-off-by: Yaroslav Borbat <yaroslav.752@gmail.com>
2026-03-18 13:27:16 +03:00
Kubernetes Prow Robot
09183519e6 Merge pull request #137804 from macsko/fix_race_in_podgroupstate_locking
Fix race in podGroupState locking
2026-03-18 15:16:34 +05:30
Kubernetes Prow Robot
5953c57c6b Merge pull request #137607 from 0xMH/fix/133531-dra-queueing-hint
DRA: return error on filter timeout instead of unschedulable
2026-03-18 14:26:31 +05:30
Maciej Skoczeń
5e07560178 Fix race in TestActivatePods testing code 2026-03-18 07:32:48 +00:00
helayoty
3e9c4966ff Address code review feedback
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:10:50 +00:00
helayoty
0ccf6c7b1a Add integration tests for PodGroup conditions
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:09:51 +00:00
helayoty
57ba60526f Implement podGroup Status
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 05:05:42 +00:00
Tsubasa Watanabe
57e649ae03 DRA Device Binding Conditions: update unit and integration tests
- update expectations for the default BindingTimeout in KubeSchedulerConfiguration
- DRA unit tests:
  - enable DRADeviceBindingConditions by default
  - add allocationTimestamp to expected ResourceClaims for PreBind cases
- disable DRADeviceBindingConditions when testing the stable allocator in TestSchedulerPerf

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2026-03-18 13:44:30 +09:00
Kubernetes Prow Robot
76de97d229 Merge pull request #136277 from brejman/issue-134393-perf-thresholds
Set throughput threshold for matching anti-affinity scheduler perf test
2026-03-18 09:57:38 +05:30
Hamza
67deec3bfa DRA: include node name in timeout error and rework FilterTimeout test setup 2026-03-18 04:33:24 +01:00
Kubernetes Prow Robot
130b8c6ce4 Merge pull request #137813 from dims/dsrinivas/0009-discovery-convergence-timeout
test/integration/apiserver/discovery: give convergence more time
2026-03-18 07:35:39 +05:30
Kubernetes Prow Robot
447d2bc16a Merge pull request #137812 from dims/dsrinivas/0010-storageversionmigrator-crd-update
test/integration/storageversionmigrator: wait longer for CRD updates
2026-03-18 05:21:04 +05:30
Kubernetes Prow Robot
2b6b888ed5 Merge pull request #137811 from dims/dsrinivas/0007-dra-controller-manager-metrics
test/integration/dra: poll ControllerManagerMetrics values
2026-03-18 05:20:57 +05:30
Kubernetes Prow Robot
fd3bb6d21f Merge pull request #137779 from richabanker/nh-kcm
Enable native histograms gated by feature flag in KCM
2026-03-18 05:20:34 +05:30
Kubernetes Prow Robot
78ffbc93f5 Merge pull request #137708 from tchap/kcm-add-leaderelection-flag
kcm: Link the leader election release on exit feature gate
2026-03-18 05:20:10 +05:30
Kubernetes Prow Robot
e2abeef6cd Merge pull request #136657 from Jefftree/sharding-test
[KEP-5866] Sharded List and Watch
2026-03-18 05:19:39 +05:30
Kubernetes Prow Robot
e1be691e7f Merge pull request #136043 from natasha41575/os_feasibility
[InPlacePodVerticalScaling] create an admission plugin to perform the OS and node capacity checks
2026-03-18 03:23:39 +05:30
Jefftree
ab1cfa764e sharding: address review comments (deads2k) 2026-03-17 16:44:17 -04:00
Jefftree
b8a17e1ce8 sharding: implement UID-based sharding for list and watch (KEP-5866) 2026-03-17 16:44:15 -04:00
Kubernetes Prow Robot
814c431a00 Merge pull request #136641 from troychiu/dra-devices-order
DRA: Introduce index-based naming in resourceslice controller and sort slices and pools lexicographically
2026-03-17 22:55:43 +05:30
Natasha Sarkar
fd8c6d3e2e add pod resize feasibility check admission plugin 2026-03-17 17:12:31 +00:00
Troy Chiu
761fc9d474 Introduce index-based naming in resourceslice controller and sort slices and pools lexicographically
fix test
2026-03-17 16:32:10 +00:00
Kubernetes Prow Robot
b159fc52f7 Merge pull request #135650 from pravk03/benchmark-test
Add node declared features scheduler perf tests
2026-03-17 22:01:42 +05:30
Praveen Krishna
4f5c634fcf Add a polling loop to wait for NodeDeclaredFeatures to sync in scheduler cache 2026-03-17 13:24:41 +00:00
Davanum Srinivas
a4fe5e0295 test/integration/apiserver/discovery: give convergence more time
The discovery integration tests can time out while waiting for APIService
cleanup and group-version removal to converge. In CI this shows up in
TestCRD/Race and TestCRD/CRDAPIServiceSameGroupDifferentVersions while
waiting for stale discovery state to disappear.

Increase the shared discovery timeout so the tests continue to verify the
same cleanup and convergence behavior with more headroom on slower
runners.
2026-03-17 09:12:04 -04:00
Davanum Srinivas
b2050d1e60 test/integration/storageversionmigrator: wait longer for CRD updates
TestStorageVersionMigrationWithCRD can time out in waitForCRDUpdate while
waiting for the expected served versions and storage version hash to
appear in discovery.

Increase the wait budget from 60 seconds to 2 minutes so the test keeps
checking the same CRD update condition without failing on slower
controller and discovery propagation.
2026-03-17 09:12:04 -04:00
Davanum Srinivas
ae79025a32 test/integration/dra: poll ControllerManagerMetrics values
TestDRA/all/ControllerManagerMetrics still waits a fixed 200ms before
checking the success counters. In CI this can fail with:

- Max difference between 1 and 0 allowed is 0.1
- success metric with admin_access=false should increment

The controller work then continues into cleanup, which produces
follow-on context canceled and handler timeout noise.

Replace the fixed sleeps with polling on the metric values so the test
waits for the controller's counters to converge.
2026-03-17 09:07:01 -04:00
Hamza
77403e5940 DRA: fix FilterTimeout/enabled test to clear worker-0 devices 2026-03-17 12:53:22 +01:00
Jefftree
db60e61acb kcm: Add integration test for leader election lease release on shutdown
Co-authored-by: Ondra Kupka <okupka@redhat.com>
2026-03-17 11:39:00 +01:00
Hamza
3ea232f220 DRA: adapt FilterTimeout test after upstream dra_test.go split 2026-03-17 11:29:37 +01:00
Patrick Ohly
4e33d5257b DRA integration: split source code
dra.go grew organically over time. Some tests where added there, others in
separate files. Separate files is better because it's easier to find tests and
because it avoids merge conflicts. To make the approach consistent, all code
that isn't related to how tests are run gets moved out of dra.go.
2026-03-17 07:57:07 +01:00
Patrick Ohly
180434e6b4 DRA integration: split into different packages
This does not change how tests are written registered, only which package
executes which tests.

Here's a comparison after cleaning compile and test caches. Wall-clock time is
actually lower with different packages because different packages can be tested
in parallel. The same tests run as before.

Before:

    PASS test/integration/dra.TestDRA/GA-opt-out/PrioritizedList (0.02s)
    PASS test/integration/dra.TestDRA/GA-opt-out (3.37s)
    PASS test/integration/dra.TestDRA/v1beta1/PublishResourceSlices/create (17.05s)
    PASS test/integration/dra.TestDRA/v1beta1/PublishResourceSlices (17.06s)
    PASS test/integration/dra.TestDRA/v1beta1 (1.63s)
    PASS test/integration/dra.TestDRA/v1beta2/PublishResourceSlices/create (17.05s)
    PASS test/integration/dra.TestDRA/v1beta2/PublishResourceSlices (17.05s)
    PASS test/integration/dra.TestDRA/v1beta2 (2.69s)
    PASS test/integration/dra.TestDRA/all/ControllerManagerMetrics (0.89s)
    PASS test/integration/dra.TestDRA/all/DeviceBindingConditions/TimeoutReached (6.36s)
    PASS test/integration/dra.TestDRA/all/DeviceBindingConditions/TimeoutRecover (7.35s)
    PASS test/integration/dra.TestDRA/all/DeviceBindingConditions/FailureRemove (7.20s)
    PASS test/integration/dra.TestDRA/all/DeviceBindingConditions/FailureTaints (7.20s)
    PASS test/integration/dra.TestDRA/all/DeviceBindingConditions/BasicFlow (12.23s)
    PASS test/integration/dra.TestDRA/all/DeviceBindingConditions (13.71s)
    PASS test/integration/dra.TestDRA/all/PartitionableDevices/PerDeviceNodeSelection (0.30s)
    PASS test/integration/dra.TestDRA/all/PartitionableDevices/MultiHostDevice (0.31s)
    PASS test/integration/dra.TestDRA/all/PartitionableDevices (0.61s)
    PASS test/integration/dra.TestDRA/all/MaxResourceSlice/basic (0.05s)
    PASS test/integration/dra.TestDRA/all/MaxResourceSlice/with-taints-and-consumes-counters (0.07s)
    PASS test/integration/dra.TestDRA/all/MaxResourceSlice/with-shared-counters (0.01s)
    PASS test/integration/dra.TestDRA/all/MaxResourceSlice (0.12s)
    PASS test/integration/dra.TestDRA/all/EvictClusterWithV1alpha3Rule (35.26s)
    PASS test/integration/dra.TestDRA/all/EvictClusterWithV1beta2Rule (35.36s)
    PASS test/integration/dra.TestDRA/all/EvictClusterWithSlices (4.11s)
    PASS test/integration/dra.TestDRA/all/InvalidResourceSlices/only-invalid-for-one-node (1.06s)
    PASS test/integration/dra.TestDRA/all/InvalidResourceSlices/invalid-for-all-nodes (1.13s)
    PASS test/integration/dra.TestDRA/all/InvalidResourceSlices/invalid-one-node-and-valid-other (1.05s)
    PASS test/integration/dra.TestDRA/all/InvalidResourceSlices (3.36s)
    PASS test/integration/dra.TestDRA/all/FilterTimeout/disabled (2.15s)
    PASS test/integration/dra.TestDRA/all/FilterTimeout/enabled (4.17s)
    PASS test/integration/dra.TestDRA/all/FilterTimeout (6.37s)
    PASS test/integration/dra.TestDRA/all/ShareResourceClaimSequentially (140.87s)
    PASS test/integration/dra.TestDRA/all/AdminAccess (0.01s)
    PASS test/integration/dra.TestDRA/all/Convert (0.01s)
    PASS test/integration/dra.TestDRA/all/ResourceClaimDeviceStatus (0.02s)
    PASS test/integration/dra.TestDRA/all/PrioritizedListScoring/single-claim (1.03s)
    PASS test/integration/dra.TestDRA/all/PrioritizedList (1.24s)
    PASS test/integration/dra.TestDRA/all/ImplicitExtendedResource (1.24s)
    PASS test/integration/dra.TestDRA/all/ExplicitExtendedResource (1.24s)
    PASS test/integration/dra.TestDRA/all/PrioritizedListScoring/multi-claim (1.00s)
    PASS test/integration/dra.TestDRA/all/PrioritizedListScoring (2.26s)
    PASS test/integration/dra.TestDRA/all/UsesAllResources (2.91s)
    PASS test/integration/dra.TestDRA/all/PublishResourceSlices/create (17.04s)
    PASS test/integration/dra.TestDRA/all/PublishResourceSlices/recreate-after-delete (26.09s)
    PASS test/integration/dra.TestDRA/all/PublishResourceSlices/fix-after-update (7.04s)
    PASS test/integration/dra.TestDRA/all/PublishResourceSlices (50.17s)
    PASS test/integration/dra.TestDRA/all (255.62s)
    PASS test/integration/dra.TestDRA/disabled/APIDisabled (0.00s)
    PASS test/integration/dra.TestDRA/disabled/Pod (0.00s)
    PASS test/integration/dra.TestDRA/disabled (2.71s)
    PASS test/integration/dra.TestDRA/default/EvictClusterWithSlices (3.93s)
    PASS test/integration/dra.TestDRA/default/FilterTimeout/disabled (2.14s)
    PASS test/integration/dra.TestDRA/default/FilterTimeout/enabled (4.17s)
    PASS test/integration/dra.TestDRA/default/FilterTimeout (6.33s)
    PASS test/integration/dra.TestDRA/default/Pod (0.01s)
    PASS test/integration/dra.TestDRA/default/UsesAllResources (3.96s)
    PASS test/integration/dra.TestDRA/default (12.90s)
    PASS test/integration/dra.TestDRA/GA/PartitionableDevices (0.00s)
    PASS test/integration/dra.TestDRA/GA/DeviceBindingConditions/BasicFlow (0.00s)
    PASS test/integration/dra.TestDRA/GA/DeviceBindingConditions (0.00s)
    PASS test/integration/dra.TestDRA/GA/ResourceSliceController (44.67s)
    PASS test/integration/dra.TestDRA/GA/ShareResourceClaimSequentially (130.58s)
    PASS test/integration/dra.TestDRA/GA/AdminAccess (0.00s)
    PASS test/integration/dra.TestDRA/GA/Pod (0.00s)
    PASS test/integration/dra.TestDRA/GA/ResourceClaimDeviceStatus (0.00s)
    PASS test/integration/dra.TestDRA/GA/PrioritizedList (1.21s)
    PASS test/integration/dra.TestDRA/GA/ImplicitExtendedResource (1.21s)
    PASS test/integration/dra.TestDRA/GA/ExplicitExtendedResource (1.21s)
    PASS test/integration/dra.TestDRA/GA/UsesAllResources (2.96s)
    PASS test/integration/dra.TestDRA/GA/PublishResourceSlices/create (17.04s)
    PASS test/integration/dra.TestDRA/GA/PublishResourceSlices/recreate-after-delete (26.08s)
    PASS test/integration/dra.TestDRA/GA/PublishResourceSlices/fix-after-update (7.04s)
    PASS test/integration/dra.TestDRA/GA/PublishResourceSlices (50.18s)
    PASS test/integration/dra.TestDRA/GA (177.94s)
    PASS test/integration/dra.TestDRA (595.30s)
    PASS test/integration/dra

    real	10m22.927s
    user	10m36.621s
    sys	1m20.993s

After:

    PASS test/integration/dra/api.TestDRA/disabled/APIDisabled (0.00s)
    PASS test/integration/dra/api.TestDRA/disabled/Pod (0.00s)
    PASS test/integration/dra/ga.TestDRA/GA/PartitionableDevices (0.01s)
    PASS test/integration/dra/ga.TestDRA/GA/DeviceBindingConditions/BasicFlow (0.01s)
    PASS test/integration/dra/ga.TestDRA/GA/DeviceBindingConditions (0.00s)
    PASS test/integration/dra/api.TestDRA/disabled (2.75s)
    PASS test/integration/dra/all.TestDRA/all/ControllerManagerMetrics (0.73s)
    PASS test/integration/dra/api.TestDRA/GA-opt-out/PrioritizedList (0.00s)
    PASS test/integration/dra/api.TestDRA/GA-opt-out (2.61s)
    PASS test/integration/dra/default.TestDRA/default/EvictClusterWithSlices (3.72s)
    PASS test/integration/dra/default.TestDRA/default/FilterTimeout/disabled (2.14s)
    PASS test/integration/dra/all.TestDRA/all/DeviceBindingConditions/TimeoutReached (6.30s)
    PASS test/integration/dra/default.TestDRA/default/FilterTimeout/enabled (4.16s)
    PASS test/integration/dra/default.TestDRA/default/FilterTimeout (6.32s)
    PASS test/integration/dra/default.TestDRA/default/Pod (0.01s)
    PASS test/integration/dra/all.TestDRA/all/DeviceBindingConditions/TimeoutRecover (6.40s)
    PASS test/integration/dra/default.TestDRA/default/UsesAllResources (4.19s)
    PASS test/integration/dra/default.TestDRA/default (13.41s)
    PASS test/integration/dra/default.TestDRA (17.61s)
    PASS test/integration/dra/default
    PASS test/integration/dra/all.TestDRA/all/DeviceBindingConditions/FailureRemove (7.21s)
    PASS test/integration/dra/api.TestDRA/v1beta1/PublishResourceSlices/create (17.05s)
    PASS test/integration/dra/api.TestDRA/v1beta1/PublishResourceSlices (17.05s)
    PASS test/integration/dra/api.TestDRA/v1beta1 (2.68s)
    PASS test/integration/dra/all.TestDRA/all/DeviceBindingConditions/FailureTaints (7.21s)
    PASS test/integration/dra/all.TestDRA/all/DeviceBindingConditions/BasicFlow (12.84s)
    PASS test/integration/dra/all.TestDRA/all/DeviceBindingConditions (12.70s)
    PASS test/integration/dra/all.TestDRA/all/PartitionableDevices/PerDeviceNodeSelection (0.37s)
    PASS test/integration/dra/all.TestDRA/all/PartitionableDevices/MultiHostDevice (0.31s)
    PASS test/integration/dra/all.TestDRA/all/PartitionableDevices (0.68s)
    PASS test/integration/dra/all.TestDRA/all/MaxResourceSlice/basic (0.04s)
    PASS test/integration/dra/all.TestDRA/all/MaxResourceSlice/with-taints-and-consumes-counters (0.07s)
    PASS test/integration/dra/all.TestDRA/all/MaxResourceSlice/with-shared-counters (0.00s)
    PASS test/integration/dra/all.TestDRA/all/MaxResourceSlice (0.12s)
    PASS test/integration/dra/api.TestDRA/v1beta2/PublishResourceSlices/create (17.05s)
    PASS test/integration/dra/api.TestDRA/v1beta2/PublishResourceSlices (17.05s)
    PASS test/integration/dra/api.TestDRA/v1beta2 (2.70s)
    PASS test/integration/dra/api.TestDRA (44.85s)
    PASS test/integration/dra/ga.TestDRA/GA/ResourceSliceController (44.57s)
    PASS test/integration/dra/api
    PASS test/integration/dra/all.TestDRA/all/EvictClusterWithV1alpha3Rule (35.22s)
    PASS test/integration/dra/all.TestDRA/all/EvictClusterWithV1beta2Rule (35.20s)
    PASS test/integration/dra/all.TestDRA/all/EvictClusterWithSlices (3.97s)
    PASS test/integration/dra/all.TestDRA/all/InvalidResourceSlices/invalid-one-node-and-valid-other (1.08s)
    PASS test/integration/dra/all.TestDRA/all/InvalidResourceSlices/only-invalid-for-one-node (1.04s)
    PASS test/integration/dra/all.TestDRA/all/InvalidResourceSlices/invalid-for-all-nodes (1.09s)
    PASS test/integration/dra/all.TestDRA/all/InvalidResourceSlices (3.32s)
    PASS test/integration/dra/all.TestDRA/all/FilterTimeout/disabled (2.16s)
    PASS test/integration/dra/all.TestDRA/all/FilterTimeout/enabled (4.16s)
    PASS test/integration/dra/all.TestDRA/all/FilterTimeout (6.35s)
    PASS test/integration/dra/ga.TestDRA/GA/ShareResourceClaimSequentially (130.55s)
    PASS test/integration/dra/ga.TestDRA/GA/AdminAccess (0.00s)
    PASS test/integration/dra/ga.TestDRA/GA/Pod (0.00s)
    PASS test/integration/dra/ga.TestDRA/GA/ResourceClaimDeviceStatus (0.00s)
    PASS test/integration/dra/ga.TestDRA/GA/PrioritizedList (1.21s)
    PASS test/integration/dra/ga.TestDRA/GA/ImplicitExtendedResource (1.21s)
    PASS test/integration/dra/ga.TestDRA/GA/ExplicitExtendedResource (1.21s)
    PASS test/integration/dra/ga.TestDRA/GA/UsesAllResources (2.85s)
    PASS test/integration/dra/ga.TestDRA/GA/PublishResourceSlices/create (17.04s)
    PASS test/integration/dra/ga.TestDRA/GA/PublishResourceSlices/recreate-after-delete (26.08s)
    PASS test/integration/dra/ga.TestDRA/GA/PublishResourceSlices/fix-after-update (7.04s)
    PASS test/integration/dra/ga.TestDRA/GA/PublishResourceSlices (50.16s)
    PASS test/integration/dra/ga.TestDRA/GA (178.21s)
    PASS test/integration/dra/ga.TestDRA (228.37s)
    PASS test/integration/dra/ga
    PASS test/integration/dra/all.TestDRA/all/ShareResourceClaimSequentially (150.80s)
    PASS test/integration/dra/all.TestDRA/all/AdminAccess (0.00s)
    PASS test/integration/dra/all.TestDRA/all/Convert (0.00s)
    PASS test/integration/dra/all.TestDRA/all/ResourceClaimDeviceStatus (0.01s)
    PASS test/integration/dra/all.TestDRA/all/ImplicitExtendedResource (1.21s)
    PASS test/integration/dra/all.TestDRA/all/ExplicitExtendedResource (1.21s)
    PASS test/integration/dra/all.TestDRA/all/PrioritizedListScoring/single-claim (1.10s)
    PASS test/integration/dra/all.TestDRA/all/PrioritizedList (1.31s)
    PASS test/integration/dra/all.TestDRA/all/PrioritizedListScoring/multi-claim (1.01s)
    PASS test/integration/dra/all.TestDRA/all/PrioritizedListScoring (2.34s)
    PASS test/integration/dra/all.TestDRA/all/UsesAllResources (2.70s)
    PASS test/integration/dra/all.TestDRA/all/PublishResourceSlices/create (17.04s)
    PASS test/integration/dra/all.TestDRA/all/PublishResourceSlices/recreate-after-delete (26.08s)
    PASS test/integration/dra/all.TestDRA/all/PublishResourceSlices/fix-after-update (7.05s)
    PASS test/integration/dra/all.TestDRA/all/PublishResourceSlices (50.17s)
    PASS test/integration/dra/all.TestDRA/all (265.28s)
    PASS test/integration/dra/all.TestDRA (315.46s)
    PASS test/integration/dra/all

    real	5m44.256s
    user	10m44.523s
    sys	1m20.929s
2026-03-17 07:57:07 +01:00
Patrick Ohly
93c8014f34 DRA integration: enforce better test isolation
Tests that are written as if they had the entire apiserver for themselves have
been a recurring problem. Ensuring that would limit us to start a new apiserver
and potentially other components (scheduler, resource claim controller) in
serial tests, which is slower.

Therefore all tests should create a test namespace and derive their driver name
from that, then create slices, classes and claims so that each test only uses
its own instances. If they don't, one test may allocate devices published by
another test. We cannot enforce how tests create their objects because there
may be many different valid ways, but we can detect incorrect allocation by
watching claims and checking their allocation result.

This detects the missing driver name selector in the explicit extended resource
tests (fixed in master already) like this:

    Claim all-explicitextendedresource-dk28h/my-pod-extended-resources-xtcgq has allocated device v1.DeviceRequestAllocationResult{Request:"container-0-request-0", Driver:"driver-all-evictclusterwithrule-slh8g", Pool:"cluster", Device:"device-700", AdminAccess:(*bool)(nil), Tolerations:[]v1.DeviceToleration(nil), BindingConditions:[]string(nil), BindingFailureConditions:[]string(nil), ShareID:(*types.UID)(nil), ConsumedCapacity:map[v1.QualifiedName]resource.Quantity(nil)} from a driver in some other test (driver-all-evictclusterwithrule-slh8g):
      <*v1.ResourceClaim | 0x2d8b54b4820>:
        [...]

The ResourceClaim status simulates device allocation. To avoid false positives,
it needs to use unique driver names like the other tests.
2026-03-17 07:57:02 +01:00
Patrick Ohly
e04d25c222 apiserver testing: fix support for pre-created TContext
When StartTestServer is called with a TContext by the caller, tearing down the
apiserver via its tear-down function would also cancel the context for everyone
else using it, which is unexpected and not intended.

Accidentally, scheduler_perf and scheduler/batch relied on this behavior:
- The apiserver clients waited on a context that got its cancellation
  from the root context and thus gets canceled last.
- The apiserver was told to stop earlier, but then waited because
  it still had active clients.
- Shutdown gets slowed down enough that integration testing times out.

The fix is to explicitly cancel the clients before the apiserver. Long-term
ktesting should be changed to do the same as the new testing.T.Context: cancel
the context *before* cleaning up, not *after* it.
2026-03-17 07:50:18 +01:00
Kubernetes Prow Robot
9cf54337e4 Merge pull request #137689 from jpbetz/fix-reset-fields-and-test
Test that field wiping and field resetting is applied consistently across API
2026-03-17 07:27:43 +05:30
Kubernetes Prow Robot
63e50efa0a Merge pull request #137350 from mortent/PartitionableDevicesToBeta
Promote DRAPartitionableDevices to beta
2026-03-17 07:27:36 +05:30
Kubernetes Prow Robot
5edaecfa53 Merge pull request #137609 from enj/enj/f/constrained_impersonation_beta
KEP-5284: promote constrained impersonation to beta
2026-03-17 06:35:36 +05:30
Richa Banker
cdf6cdde08 Enable native histograms gated by feature flag in KCM 2026-03-16 11:45:51 -07:00
Praveen Krishna
6453fc2d03 Add Node Declared Features scheduler performance tests 2026-03-16 18:17:56 +00:00
Praveen Krishna
9ed70ce8c5 Add PreInitFn and NodeUpdateFn hooks to scheduler_perf test framework. 2026-03-16 18:17:56 +00:00
Kubernetes Prow Robot
d763ae8f6f Merge pull request #137073 from iomarsayed/snapshot-podgroup-state-before-scheduling-cycle
Snapshot PodGroup state before initiating scheduling cycle
2026-03-16 23:37:48 +05:30
Priyanka Saggu
bd1ed91bb2 fix TestManagedBy by resetting metrics after controller start like other tests 2026-03-16 11:02:32 +05:30
Kubernetes Prow Robot
040ca59611 Merge pull request #137454 from haircommander/proc-mount-ga
KEP-4265: feature: promote ProcMountType to GA
2026-03-15 07:57:34 +05:30
Kubernetes Prow Robot
1817e10998 Merge pull request #136185 from tallclair/ndf-bitmap
Optimize NodeDeclaredFeatures with a bitmap FeatureSet implementation
2026-03-14 06:37:34 +05:30
Omar Sayed
e1b18e34ff snapshot pod group state before scheduling cycle and embed pod group manager into cache 2026-03-13 21:44:17 +00:00
Kubernetes Prow Robot
b869833664 Merge pull request #137115 from damdo/add-tls-curve-preferences
Add --tls-curve-preferences flag for configuring TLS key exchange mechanism (curves)
2026-03-13 23:11:35 +05:30
Peter Hunt
539352eddd feature: promote ProcMountType to GA
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2026-03-13 12:27:16 -04:00