Commit Graph

127102 Commits

Author SHA1 Message Date
Patrick Ohly
9261a182bb DRA kubelet: separate beta and alpha gRPC APIs
Reusing types from the alpha in the beta made it possible to provide and use
both versions without conversion. The downside was that removal of the alpha
would have been harder, if not impossible. DRA drivers could continue to
use the alpha types and provided the beta interface automatically.

Now the two versions are completely separate gRPC APIs, although in practice
there are no differences besides the name. Support for the alpha API in kubelet
is provided via automatically generated conversion and manually written
interface wrappers.

Those are provided as part of the v1alpha4 package. The advantage of having all
of that in a central place is that it'll be easier to remove when no longer
needed.
2024-11-07 07:42:40 +01:00
Kubernetes Prow Robot
6cc3570466
Merge pull request #128190 from HarshalNeelkamal/external-jwt
Add plugin and key-cache for ExternalJWTSigner integration
2024-11-07 06:29:45 +00:00
Kubernetes Prow Robot
c462d4c8e5
Merge pull request #126096 from utam0k/support-disabling-oom-group-kill
kubelet: new kubelet config option for disabling group oom kill
2024-11-07 06:29:36 +00:00
Kubernetes Prow Robot
3b6978051b
Merge pull request #121897 from carlory/ds-registry-test
daemonset registry: add unit test for UpdateStatus
2024-11-07 06:29:29 +00:00
Sreeram Venkitesh
1739ee2ba9 Removed duplicated tests after rebase 2024-11-07 11:38:54 +05:30
Sreeram Venkitesh
385d2b198c Fixes from review, updated tests cases 2024-11-07 11:34:58 +05:30
Sreeram Venkitesh
7d1d7182f3 Update function name and remove feature gate check 2024-11-07 11:29:11 +05:30
Sreeram Venkitesh
4dae42a796 Updated version skew strategy for InPlacePodVerticalScaling 2024-11-07 11:29:07 +05:30
Jian Zeng
a137b08e87
chore: update import-restrictions.yaml
The `k8s.io/utils/ptr` should be allowed for import within ./pkg/apis/core

Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2024-11-07 13:52:16 +08:00
Jian Zeng
1a2c557d44
test: add e2e test
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2024-11-07 13:52:16 +08:00
Jian Zeng
4193824215
chore: update generated code
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2024-11-07 13:52:16 +08:00
Jian Zeng
94cd0a0892
feat(kubelet): only returns logs that match the given stream
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2024-11-07 13:52:16 +08:00
Jian Zeng
0793f6577f
feat: update conversion helpers
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2024-11-07 13:52:01 +08:00
Kubernetes Prow Robot
154b756e2e
Merge pull request #128166 from yongruilin/test-allow-label
test: add integration test for allow-metric-label
2024-11-07 05:19:29 +00:00
Yusuke Sakurai
992f1d9a08 add integration test for volumebinding for queueinghint 2024-11-07 14:10:26 +09:00
Kensei Nakada
105d489aa4 chore: wording 2024-11-07 14:09:35 +09:00
Kensei Nakada
e601eb7c5a fix: run activate() only when fail 2024-11-07 14:09:35 +09:00
Kensei Nakada
4a084d54d2 feat: set the threashold on the scheduler-perf test case 2024-11-07 14:09:35 +09:00
Kensei Nakada
9b5928f764 fix: refactor TestPrepareCandidate 2024-11-07 14:09:35 +09:00
Kensei Nakada
9756a648b0 fix: move to a new way updating an extended resource 2024-11-07 14:09:35 +09:00
Kensei Nakada
ce377efa00 fix: improve logs\ 2024-11-07 14:09:35 +09:00
Kensei Nakada
49135d6173 fix: take QHint disable scenario into consideration 2024-11-07 14:09:35 +09:00
Kensei Nakada
4b92f6d398 fix the broken part due to the merge 2024-11-07 14:09:35 +09:00
Kensei Nakada
d4d91d4ace fix: use set methods 2024-11-07 14:09:35 +09:00
Kensei Nakada
623b2a20d2 fix: handle Activate event properly 2024-11-07 14:09:35 +09:00
Kensei Nakada
102d79ec93 add: add a test case for Activate 2024-11-07 14:09:35 +09:00
Kensei Nakada
a95b8b5085 fix: use Activate always 2024-11-07 14:09:35 +09:00
Kensei Nakada
02459ca59c fix: register the event in in-flight as necessary at Activate 2024-11-07 14:09:35 +09:00
Kensei Nakada
8be51d3f32 chore: fix based on reviews 2024-11-07 14:09:35 +09:00
Kensei Nakada
677792663f fix: register Pod/Delete event at the preemption plugin 2024-11-07 14:09:35 +09:00
Kensei Nakada
3124c5bd56 fix: avoid errors from the race condition detector 2024-11-07 14:09:35 +09:00
Kensei Nakada
c322294883 implement PodActivator to activate when preemption fails 2024-11-07 14:09:35 +09:00
Kensei Nakada
8f2243fe74 chore: tiny wording on the comment 2024-11-07 14:09:35 +09:00
Kensei Nakada
1e2511031e feat: support metrics 2024-11-07 14:09:35 +09:00
Kensei Nakada
fe3119fa69 make sure DefaultPreemption implements PreEnqueuePlugin 2024-11-07 14:09:35 +09:00
Kensei Nakada
ac5aacc5f6 fix: address reviews on e2e 2024-11-07 14:09:35 +09:00
Kensei Nakada
08e8403e2e feat: add the e2e test for the async preemption 2024-11-07 14:09:34 +09:00
Kensei Nakada
98bdbdcf18 fix: refactor TestPrepareCandidate to test async feature too 2024-11-07 14:09:34 +09:00
Kensei Nakada
02eabc7d8e fix: modify newly added preemption test 2024-11-07 14:09:34 +09:00
Kensei Nakada
68aeced18e fix: fixed some tests 2024-11-07 14:09:34 +09:00
Kensei Nakada
e40f3f40bd fix: address reviews 2024-11-07 14:09:34 +09:00
Kensei Nakada
69a8d0ec0b feature(KEP-4832): asynchronous preemption 2024-11-07 14:09:34 +09:00
Mengqi (David) Yu
1003d36870 Add random interval to nodeStatusReport interval every time after an actual node status change
update TestUpdateNodeStatusWithLease this time to avoid flakiness
2024-11-07 04:33:59 +00:00
Kubernetes Prow Robot
3184eb3d1b
Merge pull request #128629 from liggitt/revert-spreadkubeletload
Revert "Add random interval to nodeStatusReport interval every time after an actual node status change
2024-11-07 03:53:42 +00:00
Kubernetes Prow Robot
afc204104c
Merge pull request #128601 from pohly/dra-api-opaque-parameters-length-limit
DRA API: opaque parameters length limit
2024-11-07 03:53:35 +00:00
Kubernetes Prow Robot
f3498df864
Merge pull request #128522 from huww98/multi-volume-part-0
Cleanups about kubelet/volumemanager
2024-11-07 03:53:28 +00:00
Joe Betz
3603555831 Fix flake in CEL cost stability tests
A new test was added that uses exists(), which short circuits
when a condition is met.  The test input is a map with random
ordering, so the test can fail when the element that causes
the iteration to short circuit is traversed first.
2024-11-06 22:19:32 -05:00
Harshal Neelkamal
6fdacf0411 Add plugin and key-cache for ExternalJWTSigner integration 2024-11-07 03:16:23 +00:00
Joe Betz
a6e0a7b17b Add defaulting to tests 2024-11-06 22:14:30 -05:00
utam0k
4f909c14a0
kubelet: new kubelet config option for disabling group oom kill
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-11-07 12:03:04 +09:00