Commit Graph

5749 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f09cd625bc Merge pull request #135007 from ania-borowiec/nnn_code_update
KEP-5278 Bring back clearing NominatedNodeName after scheduling or binding failure
2025-11-04 07:14:24 -08:00
Ania Borowiec
191ab8d78d Integration test verifying that in case a preemptor pod with higher priority arrives while preemption is ongoing, the lower priority preemptor does not get stuck in unschedulable 2025-11-04 11:57:39 +00:00
Ania Borowiec
9640da5452 Verify if pod has ongoing async preemption before evicting pods 2025-11-04 11:57:34 +00:00
Ania Borowiec
c98804b77f Fix existing integration tests for NominatedNodeName 2025-11-04 09:45:50 +00:00
Kubernetes Prow Robot
462c869354 Merge pull request #134326 from sairameshv/global_cache_dra
Add global cache to map between the deviceclass and the extended resource
2025-11-03 10:40:06 -08:00
yliao
3eab698884 fixed unit test and integration test failures
Fix minor nits

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 20:07:01 +05:30
Kubernetes Prow Robot
4e5220939e Merge pull request #134927 from macsko/dont_delete_pods_with_deletiontimestamp
Don't preempt pods with DeletionTimestamp set
2025-11-03 06:02:14 -08:00
Sai Ramesh Vanka
d8c66ffb63 Add a global cache to support DRA's extended resource to the device
class mapping

- Add a new interface "DeviceClassResolver" in the scheduler framework
- Add a global cache of mapping between the extended resource and the
  device class
- Cache can be leveraged by the k8s api-server, controller-manager along with the scheduler
- This change helps in delegating the requests to the dynamicresource
  plugin based on the mapping during the node update events and thus
avoiding an extra scheduling cycle

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2025-11-03 12:31:16 +05:30
Kubernetes Prow Robot
1b6d0c7c03 Merge pull request #134965 from tsj-30/fix-dra-devicebindingconditions-flake
test: fix flake in DRA DeviceBindingCondition
2025-10-31 12:26:03 -07:00
Kubernetes Prow Robot
4ca91a6542 Merge pull request #134994 from liggitt/drop-strict-cost
Drop locked StrictCostEnforcementForVAP and StrictCostEnforcementForWebhooks feature gates
2025-10-31 07:38:12 -07:00
Kubernetes Prow Robot
ce7ba8aa76 Merge pull request #134959 from atiratree/deployment-integration-tests
add integration tests for pod replacement during scaling and Recreate/RollingUpdate strategies
2025-10-31 07:38:04 -07:00
Kubernetes Prow Robot
279f214cc5 Merge pull request #134989 from alaypatel07/extended-resources-scheduler-perf
refactor scheduler_perf test for extended resources by dra to have 10-50 device classes
2025-10-31 03:52:12 -07:00
Kubernetes Prow Robot
b4d4cc9384 Merge pull request #123642 from aramase/aramase/f/kep_3331_jwks_metrics
Add JWKS fetch metrics for jwt authenticator
2025-10-30 22:42:02 -07:00
Jordan Liggitt
bd11e52bfc Drop locked StrictCostEnforcementForVAP and StrictCostEnforcementForWebhooks feature gates 2025-10-31 00:03:42 -04:00
Alay Patel
02289d08f6 refactor scheduler_perf test for extended resources by dra to have 10-50 device classes
Signed-off-by: Alay Patel <alayp@nvidia.com>
2025-10-30 16:55:32 -04:00
Kubernetes Prow Robot
9efb7ee538 Merge pull request #134313 from richabanker/statusz-structured
[KEP:4827] Structured statusz
2025-10-30 13:16:10 -07:00
Siyuan Zhang
67143028e7 Add --min-compatibility flag.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-10-30 13:36:38 -05:00
Richa Banker
c1a95eb7e2 Structured statusz 2025-10-30 10:39:52 -07:00
Kubernetes Prow Robot
6056b0dfa4 Merge pull request #134973 from pohly/dra-test-utilities
DRA: test improvements
2025-10-30 09:26:05 -07:00
Patrick Ohly
8d3bc085ce DRA integration: refactor helper functions
They now live in a separate file, use ktesting+Gomega consistently, and
follow (mostly) best practices:
- strict validation during create
- wait for completion of delete

The latter is not complete yet because it was found that some binding condition
test keeps a ResourceCLaim in an undeletable state. That's okayish (namespace
stays around until apiserver gets restarted), but is worth looking into later.
2025-10-30 13:58:02 +01:00
S J Tharun
01d1cb9679 test: fix flake in DRA DeviceBindingConditions by waiting for reallocation before status update
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com>
2025-10-30 18:00:45 +05:30
Filip Křepinský
9b80964efd add integration tests for pod replacement during scaling and
Recreate/RollingUpdate strategies
2025-10-30 09:55:43 +01:00
Kubernetes Prow Robot
3ec2d82da5 Merge pull request #134784 from michaelasp/svm_beta2
SVM: bump the API to beta, remove unused fields
2025-10-29 13:56:02 -07:00
Michael Aspinwall
3b72759d1b Update SVM to Beta
Co-authored-by: Stanislav Láznička <stlaz.devel@proton.me>
2025-10-29 19:36:11 +00:00
Anish Ramasekar
24a53fa638 add JWKS fetch metrics for jwt authenticator
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-10-29 11:42:40 -07:00
Kubernetes Prow Robot
412bfec7a1 Merge pull request #134157 from macsko/forget_pod_immediately_when_it_is_deleted
Forget pod from scheduler's cache immediately when it's deleted
2025-10-29 10:14:10 -07:00
Maciej Skoczeń
b29fdd1551 Forget pod from scheduler's cache immediately when it's deleted or has DeletionTimestamp set 2025-10-29 10:00:38 +00:00
Maciej Skoczeń
a42581c7d3 Don't preempt pods with DeletionTimestamp set 2025-10-29 09:05:24 +00:00
Kubernetes Prow Robot
110408060c Merge pull request #134542 from hoskeri/clean-loopback-clients
Drop loopback clients if unused
2025-10-28 09:10:02 -07:00
Kubernetes Prow Robot
d5efbf2ebf Merge pull request #134452 from pohly/dra-ga-feature-gate
DRA: lock to default-on
2025-10-28 07:49:36 -07:00
Kubernetes Prow Robot
1474788587 Merge pull request #134727 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics-kubelet
pkg/kubelet/watch_base_manager: wraps the LW with WatchList semantics
2025-10-27 06:37:36 -07:00
Kubernetes Prow Robot
f051670a47 Merge pull request #133087 from atiratree/terminating-replicas-beta
promote DeploymentReplicaSetTerminatingReplicas to Beta
2025-10-27 04:47:37 -07:00
Abhijit Hoskeri
a35785c033 Drop loopback clients if unused
kube-controller-manager and kube-scheduler do not use the
configured loopback clients. Drop them.

Fix up scheduler test server to not depend on
the loopback client.
2025-10-26 14:47:57 -07:00
Patrick Ohly
8b6f98b06e DRA: lock to default-on
The core functionality was enabled by default in 1.34 without any issues that
would have suggested turning it off, so now we can lock it to on-by-default.

Tests which cover disabling the feature must use version emulation.
2025-10-24 20:04:20 +02:00
Dan Winship
715228f478 Remove LoadBalancerIPMode feature gate 2025-10-24 09:12:03 -04:00
Kubernetes Prow Robot
6652c9fadf Merge pull request #134457 from danwinship/prefersamenode
KEP-3015: update PreferSameTrafficDistribution to GA
2025-10-23 14:41:33 -07:00
Kubernetes Prow Robot
57c243f33c Merge pull request #134450 from mayank-agrwl/controller-contextual-logs
Replace HandleCrash and HandleError calls to use context-aware alternatives
2025-10-23 00:49:02 -07:00
Siyuan Zhang
70ac573619 adopt consistent way to set feature gate based on emulation version for kcm and scheduler test server.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-10-22 13:20:30 -05:00
Sean Sullivan
413c34f319 Added feature gate and tests 2025-10-21 20:31:24 +00:00
Lukasz Szaszkiewicz
da77cf84ba pkg/kubelet/watch_base_manager: wraps the LW with WatchList semantics 2025-10-20 20:05:22 +02:00
Kubernetes Prow Robot
e066b3850f Merge pull request #133912 from tallclair/kube-feature-deps
Mark all Kube feature dependencies, and require dependencies to be declared for all features
2025-10-16 11:14:43 -07:00
Tim Allclair
debe026b21 Fix unit tests to work with explicit depndencies 2025-10-15 15:04:26 -07:00
Jordan Liggitt
20af32e5c1 Stop serving alphas removed in 1.35 2025-10-15 12:59:59 -04:00
Kubernetes Prow Robot
b35220c725 Merge pull request #134608 from tallclair/disable-allocator-dual-write-2
Fix DisableAllocatorDualWrite dependency on MultiCIDRServiceAllocator
2025-10-15 01:53:41 -07:00
Tim Allclair
bf88ae7d73 Fix DisableAllocatorDualWrite dependency on MultiCIDRServiceAllocator 2025-10-14 17:22:19 -07:00
Kubernetes Prow Robot
f7fb7cd86b Merge pull request #134588 from liggitt/fixes-only-no-go-bump
go 1.25.2/1.24.8 related fixes
2025-10-14 07:45:36 -07:00
Dan Winship
c6a86d125f Merge the two TrafficDistribution integration tests 2025-10-14 08:24:19 -04:00
Jordan Liggitt
3c2c64a7f6 Add integration test for invalid SAN certificate handling 2025-10-13 20:22:05 -04:00
Kubernetes Prow Robot
db63a581ca Merge pull request #134366 from tallclair/feature-gates-test
Set multiple feature gates simultaneously in test
2025-10-13 13:11:33 -07:00
Filip Křepinský
dd3a713f6c fix ReplicaSet and Deployment tests for DeploymentReplicaSetTerminatingReplicas FG enablement 2025-10-10 21:47:02 +02:00