Commit Graph

133825 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
859e0e6d02 Merge pull request #134523 from bitoku/extended-resource-metrics
KEP-5004: DRAExtendedResource metrics
v1.35.0-alpha.3
2025-11-05 03:42:52 -08:00
Ayato Tokubi
320987ead3 Addressed comments 2025-11-05 10:44:50 +00:00
Ayato Tokubi
902c2e0c15 Fix lint errors in dynamicresources_test.go
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-11-05 10:44:50 +00:00
Kubernetes Prow Robot
38328aa3f8 Merge pull request #135102 from BenTheElder/revert-revert-dra
Reapply "prepare DRA kind config for kubeadm v1beta4"
2025-11-05 02:38:54 -08:00
Ayato Tokubi
c5b1493925 Add test case for claim creation failure in DRAExtendedResources
Extend the `setup` function to support API reactors, allowing custom reactions in tests.

Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-11-05 09:55:28 +00:00
Ayato Tokubi
ea7561b243 Implement scheduler_resourceclaim_creates_total metrics for DRAExtendedResources 2025-11-05 09:53:33 +00:00
Ayato Tokubi
5102591a6b Refactor resource claim metrics to use structured labels and add "source" dimension.
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-11-05 09:52:47 +00:00
Arda Güçlü
9cad3f8787 Introduce kuberc view/set commands under kubectl alpha (#135003)
* Introduce kuberc view/set commands under kubectl alpha

* Apply requested changes

* Apply requested changes
2025-11-05 01:48:59 -08:00
Kubernetes Prow Robot
0452b0aec7 Merge pull request #134746 from HirazawaUi/fix-restart-kubelet-1
KEP-4781: Restarting kubelet does not change pod status
2025-11-05 01:48:52 -08:00
Kubernetes Prow Robot
c329e64929 Merge pull request #134962 from sunya-ch/fix-resourceclaim-strategy-test-err
[DRA] Fix unexpected errors on ResourceClaim strategy update
2025-11-05 00:44:59 -08:00
Kubernetes Prow Robot
c727585676 Merge pull request #134216 from Goend/master
fixed the CRD statusResetFields init issue
2025-11-05 00:44:52 -08:00
Kubernetes Prow Robot
ed11e630c4 Merge pull request #135116 from BenTheElder/config-version
add missing apiversion to run_group_snapshot_e2e.sh
2025-11-04 23:04:49 -08:00
Kubernetes Prow Robot
dd6f46856d Merge pull request #135117 from borg-land/bump-pvc-5g
provision 10G disks for testing pvc instead of 1 byte or 1GB
2025-11-04 20:56:11 -08:00
Kubernetes Prow Robot
22d41b5443 Merge pull request #135059 from macsko/reenable_async_api_calls
Re-enable SchedulerAsyncAPICalls feature in v1.35
2025-11-04 20:56:04 -08:00
Goend
3b0913c866 fix test case 2025-11-05 11:17:00 +08:00
Kubernetes Prow Robot
5fd9cefd95 Merge pull request #134995 from yongruilin/flagz-kk-structure
[KEP-4828] Flagz versioned structured response
2025-11-04 19:02:04 -08:00
Kubernetes Prow Robot
e4d7a2475d Merge pull request #135119 from lalitc375/revert
revert of 8f0a6583ca
2025-11-04 17:54:05 -08:00
Lalit Chauhan
0aea256ef9 revert of 8f0a6583ca 2025-11-05 00:13:26 +00:00
Sunyanan Choochotkaew
4acafd9245 [DRA] Fix unexpected errors on ResourceClaim strategy update
- Fix setting distinctAttribute=nil when DRAConsumableCapacity is disabled
- Add must have no error check when no error expected in strategy test
- Update test case that causes unexpected errors

Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-11-05 08:45:51 +09:00
Kubernetes Prow Robot
3d595e3691 Merge pull request #134803 from enj/enj/f/constrained_impersonation
KEP-5284: Implement Constrained Impersonation
2025-11-04 15:32:23 -08:00
Kubernetes Prow Robot
4b2e387b8b Merge pull request #134734 from kannon92/kal-linter-enable
Enable duplicatemarkers for Kubernetes API Linter
2025-11-04 15:32:14 -08:00
Kubernetes Prow Robot
c1a6a3ca71 Merge pull request #134152 from pohly/dra-device-taints-1.35
DRA: device taints: new ResourceSlice API, new features
2025-11-04 15:32:07 -08:00
Kubernetes Prow Robot
dec78c833d Merge pull request #135094 from stlaz/fix-node-conformance-failures
Fix failures in node-e2e image pull tests
2025-11-04 14:32:11 -08:00
Kubernetes Prow Robot
459bea5adf Merge pull request #135084 from tallclair/resize-validation
Fix pod resize validation when adding non-resizable resources
2025-11-04 14:32:04 -08:00
upodroid
90f0fd09f2 provision 10G disks for testing pvc instead of 1 byte or 1GB 2025-11-05 01:25:13 +03:00
Kubernetes Prow Robot
97cb47a913 Merge pull request #135080 from dejanzele/feat/promote-job-managedby-to-ga
KEP-4368: Job Managed By; Promote to GA
2025-11-04 13:42:12 -08:00
Kubernetes Prow Robot
1ed34af815 Merge pull request #133724 from bart0sh/PR195-device-plugins-fix-out-of-sync
devicemanager: fix cleanup of unhealthy devices
2025-11-04 13:42:04 -08:00
Monis Khan
2a3f66d3f6 KEP-5284: Implement Constrained Impersonation
Signed-off-by: Jian Qiu <jqiu@redhat.com>
Signed-off-by: Monis Khan <mok@microsoft.com>

Co-authored-by: Jian Qiu <jqiu@redhat.com>
Co-authored-by: Monis Khan <mok@microsoft.com>
2025-11-04 16:30:49 -05:00
Benjamin Elder
8200f9a22c add missing apiversion to run_group_snapshot_e2e.sh 2025-11-04 13:10:56 -08:00
Patrick Ohly
3f45a675fc DRA integration: test eviction through DeviceTaintRule
This covers permissions and correct usage of SSA.
2025-11-04 21:57:24 +01:00
Patrick Ohly
bbf8bc766e DRA device taints: DeviceTaintRule status
To update the right statuses, the controller must collect more information
about why a pod is being evicted. Updating the DeviceTaintRule statuses then is
handled by the same work queue as evicting pods.

Both operations already share the same client instance and thus QPS+server-side
throttling, so they might as well share the same work queue. Deleting pods is
not necessarily more important than informing users or vice-versa, so there is
no strong argument for having different queues.

While at it, switching the unit tests to usage of the same mock work queue as
in staging/src/k8s.io/dynamic-resource-allocation/internal/workqueue. Because
there is no time to add it properly to a staging repo, the implementation gets
copied.
2025-11-04 21:57:24 +01:00
Patrick Ohly
0689b628c7 generated files 2025-11-04 21:57:24 +01:00
Patrick Ohly
f4a453389d DRA device taint eviction: configurable number of workers
It might never be necessary to change the default, but it is hard to be sure.
It's better to have the option, just in case.
2025-11-04 21:57:24 +01:00
Kubernetes Prow Robot
22151d719b Merge pull request #135079 from aaron-prindle/dra-shortcircuit-maxitems
feat: update DRA to short-circuit on maxSize checks, add a declarative validation test related to this case
2025-11-04 12:52:18 -08:00
Kubernetes Prow Robot
934c34435a Merge pull request #134875 from Jpsassine/jpsassine-dra-health-fix
Fix bug in reporting health for templated and renamed DRA claims
2025-11-04 12:52:11 -08:00
Kubernetes Prow Robot
c5ef945f37 Merge pull request #134445 from natasha41575/kubelet_node_cache
kubelet: synchronously fetch node and retry on NodeAffinity admission errors
2025-11-04 12:52:04 -08:00
yongruilin
256591520a feat: add OWNERS files for flagz server and api with approvers and reviewers 2025-11-04 19:45:32 +00:00
yongruilin
09dfeeb988 test: add integration test for /flagz endpoint in scheduler 2025-11-04 19:45:32 +00:00
yongruilin
ba059168c3 test: add integration test for /flagz endpoint in KCM 2025-11-04 19:45:32 +00:00
yongruilin
16db8e2375 feat: add integration test for /flagz kube-apiserver endpoint 2025-11-04 19:45:32 +00:00
yongruilin
2422bc0bb8 feat: Implement structured /flagz endpoint 2025-11-04 19:45:30 +00:00
Kubernetes Prow Robot
08a9e4fca7 Merge pull request #135067 from natasha41575/ippr-conformance
[InPlacePodVerticalScaling] Promote IPPR e2e tests to conformance
2025-11-04 11:42:20 -08:00
Kubernetes Prow Robot
a058cf788a Merge pull request #134624 from yt2985/podcertificates-beta
Promote Pod Certificates feature to beta
2025-11-04 11:42:12 -08:00
Kubernetes Prow Robot
645073f978 Merge pull request #132240 from yue9944882/delta-fifo-batch
Adding batch handling for popping items from RealFIFO
2025-11-04 11:42:05 -08:00
Kubernetes Prow Robot
c30b578ee5 Merge pull request #134905 from fj-naji/scheduler-dra-binding-timeout
scheduler: KEP-5007 Add BindingTimeout args to DynamicResources plugin
2025-11-04 10:04:05 -08:00
Min Jin
611b4c1408 Adding batch handling for popping items from RealFIFO
Signed-off-by: Min Jin <minkimzz@amazon.com>

Update staging/src/k8s.io/client-go/tools/cache/the_real_fifo.go

optimizing fifo loop

Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
Signed-off-by: Min Jin <minkimzz@amazon.com>

refactoring PopBatch to accept []Delta

Signed-off-by: Min Jin <minkimzz@amazon.com>
2025-11-04 09:59:32 -08:00
fj-naji
c438f8a983 scheduler: Add BindingTimeout args to DynamicResources plugin
Add a new `bindingTimeout` field to DynamicResources plugin args and wire it
into PreBind.

Changes:
- API: add `bindingTimeout` to DynamicResourcesArgs (staging + internal types).
- Defaults: default to 600 seconds when BOTH DRADeviceBindingConditions and
  DRAResourceClaimDeviceStatus are enabled.
- Validation: require >= 1s; forbid when either feature gate is disabled.
- Plugin: plumbs args into `pl.bindingTimeout` and uses it in
  `wait.PollUntilContextTimeout` for binding-condition wait logic.
- Plugin: remove legacy `BindingTimeoutDefaultSeconds`.

Tests:
- Add/adjust unit tests for validation and PreBind timeout path.
- Ensure <1s and negative values are rejected; forbids when gates disabled.
2025-11-04 17:15:19 +00:00
Kubernetes Prow Robot
f620a04eb5 Merge pull request #135060 from pohly/dra-scheduler-perf-normal-tests-experimental-allocator
DRA scheduler_perf: benchmark baseline test cases with different allocators
2025-11-04 09:14:15 -08:00
Kubernetes Prow Robot
276c59af7c Merge pull request #134769 from dejanzele/fix-job-starttime-validation-on-resume
fix: allow job startTime updates on resume from suspended state
2025-11-04 09:14:08 -08:00
Stanislav Láznička
ed62db7acf e2e registry: run as pods even in seemingly in-cluster pull tests
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-04 17:27:17 +01:00