Commit Graph

134908 Commits

Author SHA1 Message Date
Hemant Kumar
7bbec73192 Add a interface for sharing CSINode objects between scheduler and CAS 2025-10-30 13:53:10 -04:00
Natasha Sarkar
d99d3c0b69 refactor ippr tests 2025-10-30 17:52:57 +00:00
Kubernetes Prow Robot
e7bedaa9ea Merge pull request #134953 from bhatnitish/fix_comment
kubeletplugin: clarify DRAPlugin comment about driver-specific claims
2025-10-30 10:40:03 -07:00
Richa Banker
c1a95eb7e2 Structured statusz 2025-10-30 10:39:52 -07:00
Natasha Sarkar
1d9c646892 fix unit tests for ippr ga 2025-10-30 17:28:42 +00:00
Patrick Ohly
2e543d151b DRA device taints: convert unit test to synctest
The immediate benefit is that the time required for running the package's unit
test goes down from ~10 seconds (because of required real-world delays) to ~0.5
seconds (depending on the CPU performance of the host). It can also make
writing tests easier because after a `Wait` there is no need for locking before
accessing internal state (all background goroutines are known to be blocked
waiting for the main goroutine).

What somewhat ruins the perfect determinism is the polling for informer cache
syncs: that can take an unknown number of loop iterations. Probably could be
fixed by making the waiting block on channels (requires work in client-go).

The only change required in the implementation is avoiding the sleep when
deleting a pod failed for the last time in the loop (a useful, albeit minor
improvement by itself): the test proceeds after having blocked that last Delete
call, in which case synctest expects the background goroutine to exit without
delay.
2025-10-30 17:29:58 +01: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
Morten Torkildsen
2e534d6da1 DRA: Allow AllocationMode: All from multi-node resource pools 2025-10-30 16:17:47 +00:00
Kevin Hannon
fda069a5d6 update kal to fix markdown table bug 2025-10-30 12:01:09 -04:00
Kevin Hannon
9cc3a06f0b enable duplicate tags for kal and add exceptions 2025-10-30 11:15:35 -04:00
Kubernetes Prow Robot
34988e758d Merge pull request #134453 from stlaz/node-conformance-e2e
Fix node conformance tests with fake registry
2025-10-30 07:48:06 -07:00
Monis Khan
0fac370625 sig-auth: fix KAS options OWNERS
Signed-off-by: Monis Khan <mok@microsoft.com>
2025-10-30 10:23:46 -04:00
Stanislav Láznička
428be46ba2 node conformance e2e: move registry cleanup to ginkgo.DeferCleanup
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-30 15:00:57 +01:00
Kubernetes Prow Robot
6eee830d4f Merge pull request #134919 from p0lyn0mial/upstream-watchlist-unsupported-wl-wrapp-remaining-lws
watchlist: wrap remaining LW with ToListWatcherWithWatchListSemantics
2025-10-30 06:32:11 -07:00
Kubernetes Prow Robot
ab39c8be55 Merge pull request #134854 from serathius/informer-benchmark
Benchmark SharedIndexInformer
2025-10-30 06:32:04 -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
Stanislav Láznička
89f1edd516 kubelet/image_manager: rename EnsureImageExists arguments at the interface level
These were previously only renamed at the implementation and the
interface itself was forgotten about.

Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-30 13:33:28 +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
Tsubasa Watanabe
79df44ca52 scheduler: KEP-5007 allocator test - devices w/wo BindingConditions
Verify allocation behavior when a ResourceSlice contains both devices
with and without BindingConditions: ensure the both devices are successfully
allocated via two requests in a single ResourceClaim.

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2025-10-30 18:56:08 +09:00
Kubernetes Prow Robot
150b4dc15e Merge pull request #134955 from natasha41575/podgen-conformance
Promote Pod Generation e2e tests to conformance
2025-10-30 02:22:11 -07:00
Kubernetes Prow Robot
9e284866c3 Merge pull request #134740 from hoskeri/untolerated-taint-generic
Do not log untolerated taint in pod status updates.
2025-10-30 02:22:03 -07:00
Stanislav Láznička
7bc354e15d kubelet: add metrics for in-memory stored image-pull-related records
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-30 10:21:06 +01:00
Stanislav Láznička
ae7c6e8080 kubelet/imageManager: add metrics for MustAttemptImagePull
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-30 10:21:05 +01:00
Stanislav Láznička
429a96eda6 kubelet: add metric for the number of stored image-pull-related records 2025-10-30 10:21:05 +01:00
Marek Siarkowicz
7a9d718cdf Benchmark SharedIndexInformer 2025-10-30 10:09:50 +01:00
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
808d320de1 Merge pull request #134956 from yliaog/blockowner
removed BlockOwnerDeletion
2025-10-30 01:26:11 -07:00
Kubernetes Prow Robot
906284afc7 Merge pull request #134933 from swatisehgal/node-mm-mgr-ctx-logging-updates
node: mm-mgr: Refactor to use logger parameter instead of context
2025-10-30 01:26:04 -07:00
Sunyanan Choochotkaew
b1942ae6b1 [DRA] Add dropDeviceBindingConditionsFields and fix immutable field on DeviceBindingConditions strategy test
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-10-30 17:04:43 +09:00
yongruilin
df3f5dd493 test(validation): add cases for validating maxItems in status.devices.networkData.ips 2025-10-30 07:14:06 +00:00
yongruilin
2713803c78 feat(dra): migrate NetworkDeviceData.IPs maxItems to declarative validation 2025-10-30 07:14:06 +00:00
yongruilin
a8c9bb1f16 test(validation): add cases for validating maxItems in status allocation requests 2025-10-30 07:14:06 +00:00
yongruilin
0d6d2aa6a5 feat(dra): migrate DeviceAllocationConfiguration.Requests maxItems to declarative validation 2025-10-30 07:14:06 +00:00
yongruilin
9161461317 test(resourceclaim): add unit test for unique DeviceAllocationConfiguration.Requests in status
Add a unit test to  to verify the uniqueness validation for . This ensures that duplicate request names within this field are correctly flagged as invalid.
2025-10-30 07:14:04 +00:00
yongruilin
a553ac0e92 feat(dra): migrate DeviceAllocationConfiguration.Requests uniqueness to declarative validation 2025-10-30 07:06:35 +00:00
yongruilin
a4e8b54dee test(validation): add case for handling duplicate request names in ResourceClaim status update 2025-10-30 07:06:35 +00:00
yongruilin
cc0012b450 Add Declarative validation unit test for duplicate IPs in NetworkDeviceData 2025-10-30 07:06:35 +00:00
yongruilin
9bbf28e2f4 feat(dra): migrate NetworkDeviceData.IPs uniqueness to declarative validation 2025-10-30 07:06:35 +00:00
Kubernetes Prow Robot
37c72027f6 Merge pull request #134924 from mariafromano-25/cleanup-swap-feature
Cleanup Swap Feature to Node Conformance
2025-10-29 19:34:03 -07:00
Kubernetes Prow Robot
de28a5bfea Merge pull request #134602 from lalitc375/device-attirubute
[feat] Add k8s-resource-fully-qualified-name format
2025-10-29 16:36:01 -07:00
Maria Romano Silva
1d2b87c2e9 updated nodeswap description only 2025-10-29 23:00:29 +00:00
yliao
4f647b3f3d removed BlockOwnerDeletion 2025-10-29 22:41:10 +00:00
Natasha Sarkar
2a217a9bfd promote pod generation tests to conformance 2025-10-29 20:57:59 +00: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
Kubernetes Prow Robot
a490c43f0e Merge pull request #134948 from natasha41575/podgeneration-ga
Promote Pod Generation to GA
2025-10-29 12:10:01 -07: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
Ondra Kupka
ad2c6b443d controller/validatingadmissionpolicystatus: Improve goroutine mgmt
Make sure all threads are terminated when Run returns.
2025-10-29 19:07:10 +01:00
Ondra Kupka
a51285e1f2 controller/servicecidrs: Improve goroutine mgmt
Make sure all threads are terminated when Run returns.
2025-10-29 19:07:10 +01:00
Ondra Kupka
63c15cbe83 controller/resourceclaim: Improve goroutine mgmt
Make sure all threads are terminated when Run returns.
2025-10-29 19:07:10 +01:00