Commit Graph

131845 Commits

Author SHA1 Message Date
Kensei Nakada
46b858aa13 fix: return false to apply the patch 2025-07-30 19:12:57 +09:00
Kubernetes Prow Robot
a59ad81135 Merge pull request #132522 from sunya-ch/KEP-5075-PR
DRA: Implementation of Consumable Capacity (KEP-5075)
2025-07-29 23:56:27 -07:00
yliao
0a12f00e9d fix nil panic in hasBindingConditions, it cannot assume claim has allocations 2025-07-30 14:44:41 +09:00
Sunyanan Choochotkaew
7f052afaef KEP 5075: implement scheduler
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-07-30 09:52:49 +09:00
Kubernetes Prow Robot
91731d05e2 Merge pull request #133279 from ffromani/pod-level-resource-managers
[PodLevelResources] handle pod-level resource manager alignment
2025-07-29 17:28:33 -07:00
Dixita
3e3b2447ff Promote PodLevelResources to Beta (#132999)
Signed-off-by: ndixita <ndixita@google.com>
2025-07-29 17:28:26 -07:00
Sunyanan Choochotkaew
59bba92717 KEP-5075: generated codes from make update
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-07-30 09:26:52 +09:00
Sunyanan Choochotkaew
5ad969588d KEP-5075: API updates
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-07-30 09:26:40 +09:00
Kubernetes Prow Robot
8b9569babe Merge pull request #132895 from yue9944882/bugfix-nil-scheduler-limit-request
Fixes scheduler nil panic due to empty init container request&limit
2025-07-29 14:58:26 -07:00
Kubernetes Prow Robot
1b273b385e Merge pull request #130653 from yliaog/master
kubelet and scheduler for extended resource backed by DRA
2025-07-29 13:04:27 -07:00
Min Jin
29d1951eb7 fixes scheduler nil panic due to empty init container request&limit
Signed-off-by: Min Jin <minkimzz@amazon.com>
2025-07-29 12:34:35 -07:00
yliao
23d6f73e72 extended resource backed by DRA: test 2025-07-29 18:55:28 +00:00
yliao
34a64db2c7 extended resource backed by DRA: implementation 2025-07-29 18:55:21 +00:00
Kubernetes Prow Robot
74f7a44966 Merge pull request #133276 from macsko/stop_clearing_nnn_in_all_cases
KEP-5278 Stop clearing NominatedNodeName in all cases
2025-07-29 11:24:40 -07:00
Kubernetes Prow Robot
144d1987df Merge pull request #133275 from liggitt/dra-api
Add / update kubelet and DRA API owners
2025-07-29 11:24:32 -07:00
Kubernetes Prow Robot
b933c4643c Merge pull request #133193 from aojea/deflake_TestStreamTranslator_WebSocketServerErrors
Deflake test stream translator web socket server errors
2025-07-29 11:24:26 -07:00
Francesco Romani
a3a767b37e WIP: fix e2e tests
Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-07-29 20:20:08 +02:00
Francesco Romani
4ca47255a8 node: disable resource managers when pod-level resources are enabled
When pod-level resources are detected, the cpu and memory manages
cannot engage because the feature is not yet compatible,
one of the main reasons being the managers only work at container level.

So, the managers has to detect if pod level resources are in use,
and turn themselves to no-operation skipping resource allocation
should that be the case.

We add an intentional loud log to inform the user, because
pods with pod-level resources landing on a node which cannot
actuate the desired spec is likely to be undesirable.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-07-29 20:19:40 +02:00
yliao
3068b60b83 extended resource backed by DRA: codegen 2025-07-29 17:17:20 +00:00
yliao
1f2fd18ac8 extended resource backed by DRA: API types.go 2025-07-29 17:17:19 +00:00
Kubernetes Prow Robot
f142852b07 Merge pull request #133270 from aramase/aramase/i/deflake_issue_133249
test: fix TestStructuredAuthenticationConfigReload flake by handling expected network errors
2025-07-29 10:12:42 -07:00
Kubernetes Prow Robot
656360f67c Merge pull request #133254 from HirazawaUi/fixinvalid-validation
Fix incorrect validation on the kubelet
2025-07-29 10:12:34 -07:00
Kubernetes Prow Robot
fd3c879a5b Merge pull request #132443 from utam0k/clearn-nnn-bind-api
Clear pod.Status.NominatedNodeName when pod is bound
2025-07-29 10:12:26 -07:00
Luiz Oliveira
7fbf63a23f HPA support for pod-level resource specifications (#132430)
* HPA support for pod-level resource specifications

* Add e2e tests for HPA support for pod-level resource specifications
2025-07-29 09:02:26 -07:00
Jordan Liggitt
6e9b60e3fd Add / update kubelet and DRA API owners 2025-07-29 11:06:39 -04:00
utam0k
60fa65db88 Clear pod.Status.NominatedNodeName when pod is bound
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-07-29 23:48:11 +09:00
Francesco Romani
15b1a7fd31 Revert "CPU and Memory manager event when using pod level resources"
This reverts commit 7804b51f42.
2025-07-29 16:41:37 +02:00
Kubernetes Prow Robot
e2ab840708 Merge pull request #130160 from KobayashiD27/dra-device-binding-conditions
Implement DRA Device Binding Conditions (KEP-5007)
2025-07-29 07:34:26 -07:00
Kubernetes Prow Robot
f114c102b4 Merge pull request #133244 from carlory/fix-prerelease-lifecycle
Fix prerelease-lifecycle for volumeattributesclass
2025-07-29 05:38:28 -07:00
Maciej Skoczeń
aea0a3cca2 Run all relevant test cases with the feature gate enabled and disabled 2025-07-29 12:21:03 +00:00
utam0k
856e7d2383 scheduler: Stop clearing NominatedNodeName on all cases
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-07-29 12:21:03 +00:00
Kobayashi,Daisuke
6653ef652b KEP-5007 DRA Device Binding Conditions: Add dra integration test 2025-07-29 11:36:07 +00:00
Kobayashi,Daisuke
9e82c13301 KEP-5007 DRA Device Binding Conditions: Implement DRA logic 2025-07-29 11:35:58 +00:00
Kobayashi,Daisuke
e8c3af1f5c KEP-5007 DRA Device Binding Conditions: Implement scheduler logic 2025-07-29 11:34:30 +00:00
Kobayashi,Daisuke
ac81b829e4 KEP-5007 DRA Device Binding Conditions: Run make update 2025-07-29 11:34:03 +00:00
Kobayashi,Daisuke
987ad39516 KEP-5007 DRA Device Binding Conditions: API Related code Update 2025-07-29 11:32:47 +00:00
Kobayashi,Daisuke
34c3b09383 KEP-5007 DRA Device Binding Conditions: API Update 2025-07-29 11:31:48 +00:00
Kubernetes Prow Robot
461ba83084 Merge pull request #133021 from sanposhiho/pre-flight-skip
feat: trigger PreBindPreFlight in the binding cycle
2025-07-29 04:10:01 -07:00
Kensei Nakada
ac9fad6030 feat: trigger PreFilterPreBind in the binding cycle 2025-07-29 19:01:02 +09:00
Anish Ramasekar
48eef9ce9a test: fix TestStructuredAuthenticationConfigReload flake by handling expected network errors
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-07-29 08:06:39 +00:00
Kubernetes Prow Robot
1ce98e3c09 Merge pull request #133267 from danwinship/apiserver-proxy-flake
Fix apiserver service proxying e2e test flakiness
2025-07-28 23:18:37 -07:00
Kubernetes Prow Robot
ba76d238ad Merge pull request #133259 from ndixita/code-refactor
Adding check for nil pod resources in huge pages test
2025-07-28 23:18:30 -07:00
Kubernetes Prow Robot
1ef7677415 Merge pull request #133220 from toVersus/fix/downward-api-e2e-failure
[PodLevelResources] Add missing label to Downward API test
2025-07-28 21:06:29 -07:00
Kubernetes Prow Robot
dd4e4f1dd1 Merge pull request #133262 from BenTheElder/no-authenticated-image-pulling
remove broken test that depends on expired credential, remove hardcoded credential, add TODOs
2025-07-28 17:28:28 -07:00
Dan Winship
f9bb14fcf0 Fix apiserver service proxying e2e test flakiness
Also, fix its conformance description, which appears to have
accidentally been filled in with the description of the wrong test.
2025-07-28 19:42:04 -04:00
Benjamin Elder
8ace0fb89f remove failing test that depends on expired credential, remove credential, add TODOs
see: https://github.com/kubernetes/kubernetes/issues/130271
2025-07-28 15:43:43 -07:00
Antonio Ojea
f07dcd443d fix flake on TestStreamTranslator_WebSocketServerErrors
The metrics assertion race with the metric update, and since this
happens at the serverside, we use an active look to check the metrics
instead of expecting to be updated immidiatly.

Change-Id: I9a64b66301d5f4ac3df0c0a01de10602a20f89ea
2025-07-28 22:06:48 +00:00
Antonio Ojea
7ba22700bf websocket streamtranslator increament metrics before writing status
Test that assert on metrics use the returned status to sync the test, if
the metric is updated AFTER the state is returned the test will flake
because the assertion on the metric will race.

Change-Id: I317708a22cb47256c37dac3cab0463a2f925ad6b
2025-07-28 21:59:08 +00:00
Antonio Ojea
0aea6a1e45 TestStreamTranslator_BlockRedirects use subtests
Reset metrics per status code also allow to  log the particular status
code that flake, in case the problem comes from an specific one.

Change-Id: I29f67d4c5d76449350f45049f45ce8325a2d0ddd
2025-07-28 21:53:12 +00:00
ndixita
4b698656be Returning early if podResources is nil to avoid nil pointer dereferencing
Signed-off-by: ndixita <ndixita@google.com>
2025-07-28 19:31:08 +00:00