131921 Commits

Author SHA1 Message Date
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
Taahir Ahmed
4874d41665 Pod Certs: Fix kubelet volume host arg order
Turned up during manual end-to-end testing of the Pod Certificates
feature.  This issue prevents podCertificate projected volumes from
successfully mounting.  Would have been caught by a feature e2e test.

After this fix, podCertificate volumes function correctly in a Kind
cluster.

Additionally, fix logging from podcertificatemanager.  In order for
projectionKey to have sensible logging output, its fields need to be
exported.
2025-07-28 21:42:42 -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
Kevin Torres
766d011bba E2E tests for no hints nor aligment of CPU and Memory managers 2025-07-28 18:53:04 +00:00
Kevin Torres
5672750e6a Unit tests for no hints nor aligment of CPU and Memory 2025-07-28 18:53:03 +00:00
Kevin Torres
7804b51f42 CPU and Memory manager event when using pod level resources 2025-07-28 18:53:03 +00:00
Kubernetes Prow Robot
924b324088 Merge pull request #133243 from yuanwang04/restart-rules
ContainerRestartRules feature gate should work with probes
2025-07-28 11:42:28 -07:00
Yuan Wang
fd206a0efb Add comments for restart rules not used for unknown container status and probes 2025-07-28 17:19:07 +00:00
Kubernetes Prow Robot
a2bf45b081 Merge pull request #133213 from sanposhiho/second-trial-conor
fix: handle corner cases in the async preemption
2025-07-28 10:06:36 -07:00
Kubernetes Prow Robot
2b2ea27250 Merge pull request #132868 from rata/userns-134-error-volume-devices
KEP-127 - validation: Return an error if user namespaces are used with volumeDevices
2025-07-28 10:06:30 -07:00
Yuan Wang
4b479da4b5 Remove the feature from e2e test 2025-07-28 16:33:20 +00:00
HirazawaUi
6997fbd1ed Fix incorrect validation on the kubelet 2025-07-29 00:02:20 +08:00
Kubernetes Prow Robot
e2eed70a29 Merge pull request #133245 from ivanvc/update-etcd-to-3.6.4
Update etcd to 3.6.4
2025-07-28 07:54:29 -07:00
Rodrigo Campos
48f8458c41 validation: Fix user-namespaces test case name
hostPath is a supported volume since Kubernetes 1.28. Let's update it.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-07-28 16:54:08 +02:00
Rodrigo Campos
50a7a8af4d validation: Align usage of hostUsers in error messages
Other validation errors, like using hostNetwork, don't put
pod.spec.HostNetwork in the error message.

Let's remove align with that.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-07-28 16:54:08 +02:00
Rodrigo Campos
5f7e611f73 validation: Return error if hostUsers=false && volumeDevices
Now if a pod tries to use user namespaces (hostUsers: false) and a
volume device, it will see this error:
	$ kubectl apply -f pod.yaml
	...
	* spec.ephemeralContainers[0].volumeDevices: Forbidden: when `pod.Spec.HostUsers` is false
	* spec.initContainers[0].volumeDevices: Forbidden: when `pod.Spec.HostUsers` is false
	* spec.containers[0].volumeDevices: Forbidden: when `pod.Spec.HostUsers` is false

Note that if a pod is already created with volumeDevices and userns,
then we allow modifications to that object.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-07-28 16:54:08 +02:00
Kensei Nakada
f3466f8adc fix: flake integration test 2025-07-28 23:12:58 +09:00
Kensei Nakada
ed74d4cd52 Revert "Revert "fix: handle corner cases in the async preemption""
This reverts commit 006d7620a8.
2025-07-28 20:22:27 +09:00
Kubernetes Prow Robot
2a03dd1d5e Merge pull request #133120 from utam0k/kep-5229-metrics
KEP-5229: Add the metrics
2025-07-28 03:58:36 -07:00
Kubernetes Prow Robot
010e0a9b5b Merge pull request #132886 from macsko/send_api_calls_through_dispatcher
KEP-5229: Send API calls through dispatcher and cache
2025-07-28 03:58:28 -07:00
Ivan Valdes
e8dc272c53 Update etcd to 3.6.4 2025-07-27 21:45:02 -07:00
carlory
0f7cd14959 Fix prerelease-lifecycle for volumeattributesclass 2025-07-28 11:52:12 +08:00
Yuan Wang
9c8dacb037 ContainerRestartRules feature gate should work with probes 2025-07-27 23:14:12 +00:00
Kubernetes Prow Robot
d33916baa4 Merge pull request #133226 from ivanvc/bump-etcd-to-3.6.4
Bump etcd sdk to v3.6.4
2025-07-27 00:14:27 -07:00
Kubernetes Prow Robot
7cc3faf39d Merge pull request #133225 from ivanvc/build-etcd-3.6.4
Build etcd v3.6.4 image
2025-07-25 21:46:27 -07:00
Tsubasa Nagasawa
48fd30113c [PodLevelResources] Add missing label to Downward API test 2025-07-26 07:51:58 +09:00
Ivan Valdes
57ceb56c6f Bump etcd sdk to v3.6.4 2025-07-25 14:09:41 -07:00