Patrick Ohly
c1ec1dce75
DRA scheduler: code cleanup
...
Comment fix and removal of `skippedUnknownDevice`. That field was originally
meant to somehow influence how a failure to allocate gets reported, but in the
end that distinction was not implemented.
2024-10-14 17:24:09 +02:00
Patrick Ohly
6dffee6534
DRA scheduler: increase unit test code coverage
...
Driven by gaps highlighted by `go test -coverprofile` and also adding some more
complex scenarios.
2024-10-14 17:24:09 +02:00
Patrick Ohly
d2ab00cf55
DRA scheduler: fix aborting of allocation with mode "all"
...
The internal "stop allocation" error was sometimes erroneously (pun intended)
returned as result of the allocation and then shown to users. No error and no
results should have been returned instead, which then is shown as "allocation
not possible".
Aborting allocation early is only correct if the device which cannot be
allocated is one of the "all" devices which were requested.
2024-10-14 17:24:09 +02:00
Patrick Ohly
1a34d4840b
DRA scheduler: fix incorrect allocation of "all" devices
...
The code which pre-determined the set of "all" devices when using
"allocationMode: all" accidentally ignored the selector of the device class.
As a result, allocation worked correctly only when a node had only devices
matching the intended device class. When there were additional devices, things
went wrong:
- Unrelated devices allocated for a request.
- Claim allocation failed completely.
2024-10-14 17:24:09 +02:00
Kubernetes Prow Robot
e456fbfaa6
Merge pull request #127545 from mjudeikis/mjudeikis/sa.flow.fix
...
Fix npe in serviceAccount flow
2024-09-23 08:00:06 +01:00
Kubernetes Prow Robot
257d6f3f5b
Merge pull request #127512 from bergerhoffer/adding-interactive-delete
...
Adding example for interactive delete
2024-09-23 07:59:59 +01:00
Kubernetes Prow Robot
25aa9cd074
Merge pull request #127534 from mmorel-35/testifylint/contains@k8s.io/kubectl
...
fix: enable contains rule from testifylint in module `k8s.io/kubectl`
2024-09-23 05:53:59 +01:00
Kubernetes Prow Robot
4c2e239047
Merge pull request #126799 from kiashok/update-cadvisor-hcsshim
...
Update cadvisor and hcsshim versions
2024-09-23 02:39:58 +01:00
Kubernetes Prow Robot
fd44b5bf3b
Merge pull request #127544 from mjudeikis/mjudeikis/npe.check.fix
...
Fix npe when running in limited config in generic-control-plane mode
2024-09-22 22:30:05 +01:00
Kubernetes Prow Robot
5f0b2a8a26
Merge pull request #127533 from mmorel-35/testifylint/blank-import
...
fix: enable blank-import rule from testifylint
2024-09-22 22:29:58 +01:00
Kubernetes Prow Robot
f7085634de
Merge pull request #127529 from mmorel-35/testifylint/compares@k8s.io/apiserver
...
fix: enable compares rule from testifylint in module k8s.io/apiserver
2024-09-22 21:26:05 +01:00
Kubernetes Prow Robot
6bd57ffc5c
Merge pull request #127527 from mmorel-35/testifylint/compares@k8s.io/client-go
...
fix: enable compares rule from testifylint in module k8s.io/client-go
2024-09-22 21:25:59 +01:00
Kubernetes Prow Robot
5253ca0511
Merge pull request #127528 from mmorel-35/testifylint/compares@k8s.io/kubernetes
...
fix: enable compares rule from testifylint in module k8s.io/kubernetes
2024-09-22 20:19:59 +01:00
Kirtana Ashok
3fba9930b7
Update cadvisor and hcsshim versions
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-09-22 11:50:45 -07:00
Mangirdas Judeikis
4783af9a49
fix npe when running in limited config in generic-control-plane mode
2024-09-22 19:06:45 +03:00
Mangirdas Judeikis
cf6d113f24
fix npe in serviceAccount flow
2024-09-22 16:04:48 +03:00
Matthieu MOREL
1e7bd5541e
fix: enable contains rule from testifylint in module k8s.io/kubectl
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-22 11:56:01 +02:00
Matthieu MOREL
552cebfa7e
fix: enable blank-import rule from testifylint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-22 11:36:42 +02:00
Matthieu MOREL
fa0e38981c
fix: enable compares rule from testifylint in module k8s.io/kubernetes
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-22 11:20:05 +02:00
Matthieu MOREL
407d74fb6a
fix: enable compares rule from testifylint in module
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-22 10:43:42 +02:00
Matthieu MOREL
6e82050ef0
fix: enable compares rule from testifylint in module k8s.io/apiserver
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-22 09:14:08 +02:00
Kubernetes Prow Robot
61dbc03563
Merge pull request #127471 from macsko/add_deletepodsop_to_scheduler_perf
...
Add deletePodsOp to scheduler_perf
2024-09-22 07:00:04 +01:00
Kubernetes Prow Robot
a87215915f
Merge pull request #127447 from sanposhiho/bug-topologyspread
...
fix(topologyspread): register UpdatePodTolerations when QHint is enabled
2024-09-22 06:59:58 +01:00
Kubernetes Prow Robot
221bf19ee0
Merge pull request #127309 from ii/create-csinode-lifecycle-test
...
Write e2e test for StorageV1CSINode Endpoints +6 Endpoints
2024-09-21 03:59:59 +01:00
Kubernetes Prow Robot
a8fd8f5a41
Merge pull request #127516 from dims/bump-timeout-to-account-for-slow-gpu-operations
...
Bump timeout to account for slow GPU daemonset activation
2024-09-21 02:55:58 +01:00
Davanum Srinivas
3d7d06e7cd
Bump timeout to account for slow GPU operations
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-20 20:52:51 -04:00
Kubernetes Prow Robot
52095a8b7b
Merge pull request #127509 from dims/test-more-gpu-stuff
...
Test MOAR GPU stuff (add the cuda demo suite!)
2024-09-20 23:53:58 +01:00
Kubernetes Prow Robot
7a58803c84
Merge pull request #127281 from ii/remove-node-endpoints
...
Remove Node endpoints from pending_eligible_endpoints.yaml
2024-09-20 22:50:04 +01:00
Kubernetes Prow Robot
e61ae75936
Merge pull request #126080 from mmorel-35/testifylint/staging/src/k8s.io/cloud-provider
...
fix: enable testifylint on `staging/src/k8s.io/cloud-provider`
2024-09-20 22:49:57 +01:00
Kubernetes Prow Robot
f9a57ba82d
Merge pull request #126760 from ncdc/ncdc/emeritus
...
Move ncdc to emeritus
2024-09-20 21:01:58 +01:00
Matthieu MOREL
7d05570897
fix: enable testifylint on staging/src/k8s.io/cloud-provider
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-20 19:40:36 +00:00
Andrea Hoffer
8e7593e18a
Adding example for interactive delete
2024-09-20 15:02:29 -04:00
Kubernetes Prow Robot
a15dca3765
Merge pull request #126079 from mmorel-35/testifylint/staging/src/k8s.io/component-base
...
fix: enable testifylint on `staging/src/k8s.io/component-base`
2024-09-20 17:15:58 +01:00
Davanum Srinivas
e516e003c5
Test MOAR GPU stuff
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-20 11:40:33 -04:00
Kubernetes Prow Robot
08e6500cd9
Merge pull request #127468 from mimowo/nominate-mimowo-apps-reviewer
...
Self-nominate mimowo as sig-apps reviewer
2024-09-20 14:38:05 +01:00
Kubernetes Prow Robot
f2700895a4
Merge pull request #127422 from srivastav-abhishek/go-vet-fix
...
Go vet fixes for gotip
2024-09-20 14:37:58 +01:00
Maciej Skoczeń
287b61918a
Add deletePodsOp to scheduler_perf
2024-09-20 09:46:27 +00:00
Kubernetes Prow Robot
21f54c3ca1
Merge pull request #127493 from p0lyn0mial/upstream-deflake-cacher-dont-accept-requests
...
storage/cacher/cacher_whitebox_test:deflake TestCacherDontAcceptRequestsStopped when ResilientWatchCacheInitialization is off
2024-09-20 09:37:52 +01:00
Kubernetes Prow Robot
65c77b7e3b
Merge pull request #127492 from p0lyn0mial/upstream-deflake-consistent-read-fallback
...
pkg/storage/cacher/cacher_whitebox_test: deflake TestConsistentReadFallback when ResilientWatchCacheInitialization is off
2024-09-20 09:37:42 +01:00
Kubernetes Prow Robot
ffabcdc6d1
Merge pull request #127448 from Nordix/esotsal/fix-123852
...
Potentially deflake "RuntimeClass should reject a Pod requesting a deleted RuntimeClass" test
2024-09-20 08:07:43 +01:00
Abhishek Kr Srivastav
95860cff1c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-09-20 12:36:38 +05:30
Kubernetes Prow Robot
767d28dcf0
Merge pull request #126083 from mmorel-35/testifylint/pkg/api
...
fix: enable testifylint on `pkg/api`
2024-09-20 05:44:52 +01:00
Kubernetes Prow Robot
08aefc8a92
Merge pull request #119362 from pacoxu/add-new-eviction-pid-test
...
add new e2e test with PodAndContainerStatsFromCRI enabled for pid eviction order
2024-09-20 05:44:45 +01:00
Lukasz Szaszkiewicz
5b7faca6b6
storage/cacher/cacher_whitebox_test:deflake TestCacherDontAcceptRequestsStopped when ResilientWatchCacheInitialization is off
2024-09-20 06:42:04 +02:00
Lukasz Szaszkiewicz
077c35ee82
pkg/storage/cacher/cacher_whitebox_test: deflake TestConsistentReadFallback when ResilientWatchCacheInitialization is off
2024-09-20 06:15:22 +02:00
Kubernetes Prow Robot
a45742b271
Merge pull request #126895 from googs1025/refactor/kubelet_podmanager_ut
...
refactor(kubelet): implement a table-driven test for pod_manager
2024-09-20 04:12:07 +01:00
googs1025
e0dab78c1b
refactor(kubelet): implement a table-driven test for pod_manager
2024-09-20 09:02:14 +08:00
Kubernetes Prow Robot
c348d099f8
Merge pull request #127475 from dims/resurrect-gpu-tests-that-use-jobs
...
Resurrect GPU tests that use Jobs
2024-09-20 00:25:29 +01:00
Kubernetes Prow Robot
7c156c57f3
Merge pull request #127363 from bouaouda-achraf/gcloud-info-format-error
...
fix(e2e-node-tests): project and zone in the prerequisites check
2024-09-20 00:25:20 +01:00
Kubernetes Prow Robot
f0c7640337
Merge pull request #127467 from skitt/remove-adjust-remplate
...
codegen: get rid of adjustTemplate
2024-09-19 22:25:16 +01:00