Commit Graph

136728 Commits

Author SHA1 Message Date
Praveen Krishna
3cd22dcb4f Verify that assumed pod NodeAllocatableResourceClaimStatuses matches the status to patch. 2026-03-18 19:20:11 +00:00
Praveen Krishna
11c8bf1f13 Cleanup NodeAllocatableDRAClaimStatus in Unreserve 2026-03-18 19:20:11 +00:00
Praveen Krishna
cdcfc4eeb3 Add integration tests. 2026-03-18 19:20:10 +00:00
Praveen Krishna
6b83eef7a2 Add pod Status and ResourceSlice API validation 2026-03-18 19:20:10 +00:00
Praveen Krishna
a84f938404 Validate Pod resources cover container and DRA requests. 2026-03-18 19:20:10 +00:00
Praveen Krishna
628365297a Add validation check to disallow node-allocatable resource claim sharing. 2026-03-18 19:20:10 +00:00
Praveen Krishna
2ce83e6cbb Add validation to disable in-place resize for pods with node-allocatable resource claims 2026-03-18 19:20:10 +00:00
Praveen Krishna
9e22d7b033 Include node-allocatable claims in kubelet admission check 2026-03-18 19:20:10 +00:00
Praveen Krishna
7c4f9ace63 Account for node-allocatable claims in NodeInfo cache 2026-03-18 19:20:10 +00:00
Praveen Krishna
0c25bdf74d Update scheduler cache interface to pass node-allocatable resource allocations to NodeInfo. 2026-03-18 19:20:10 +00:00
Praveen Krishna
af186d3534 Implement changes in DRA Plugin to handle node-allocatable claims
* Filter: Calculate the pod's total resource footprint by combining spec requests and DRA allocations, respecting accounting policies. Perform node resource fit checks. Cache the resulting NodeAllocatableResourceClaimStatus in CycleState.
* PreBind: Retrieve result from CycleState and patch it into Pod.Status.
2026-03-18 19:17:30 +00:00
Praveen Krishna
0f815fd0e5 Account for node allocatable claims in PodRequests
This commit updates the PodRequests and AggregateContainerRequests functions to include resources from node allocatable claims when calculating the total resource requests for a pod.
2026-03-18 14:33:06 +00:00
Praveen Krishna
ab5335d780 Add a linter exception for using maps. 2026-03-18 14:33:06 +00:00
Praveen Krishna
f266fe4118 make update 2026-03-18 14:33:01 +00:00
Praveen Krishna
7834e927d4 Add defaulting for nodeAllocatableResourceMappings[].allocationMultiplier 2026-03-18 14:18:28 +00:00
Praveen Krishna
3a5c8841c0 Introduce API fields 2026-03-18 14:18:28 +00:00
Praveen Krishna
cdfa045414 Add DRANodeAllocatableResources feature gate 2026-03-18 14:18:28 +00:00
Kubernetes Prow Robot
0d28578de1 Merge pull request #137795 from ttsuuubasa/dra-binding-conditions-beta
DRA Device Binding Conditions: graduate to beta
2026-03-18 19:18:33 +05:30
Kubernetes Prow Robot
1baff95324 Merge pull request #136988 from pedjak/kubectl-explain-extradocs
kubectl explain: render externalDocs from OpenAPI v3 schemas
2026-03-18 17:56:35 +05:30
Kubernetes Prow Robot
8972b2069b Merge pull request #137365 from yaroslavborbat/dra-resourceslice-reconcile-only-pool-name
DRA: add ReconcileOnlyPoolName to ResourceSlice controller
2026-03-18 17:00:32 +05:30
Yaroslav Borbat
b9bf406456 DRA ResourceSlice: explicit AllNodes on Pool and placement validation
Signed-off-by: Yaroslav Borbat <yaroslav.752@gmail.com>
2026-03-18 13:27:16 +03:00
Kubernetes Prow Robot
09183519e6 Merge pull request #137804 from macsko/fix_race_in_podgroupstate_locking
Fix race in podGroupState locking
2026-03-18 15:16:34 +05:30
Kubernetes Prow Robot
4e859569e5 Merge pull request #137790 from philhuan/kubelet-dra-health-refactor
kubelet/dra: refactor health helpers and add tests
2026-03-18 14:26:39 +05:30
Kubernetes Prow Robot
5953c57c6b Merge pull request #137607 from 0xMH/fix/133531-dra-queueing-hint
DRA: return error on filter timeout instead of unschedulable
2026-03-18 14:26:31 +05:30
Yaroslav Borbat
6f89451b0c DRA: add ReconcilePoolWithName to ResourceSlice controller
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Yaroslav Borbat <yaroslav.752@gmail.com>
2026-03-18 10:53:04 +03:00
Maciej Skoczeń
5e07560178 Fix race in TestActivatePods testing code 2026-03-18 07:32:48 +00:00
Maciej Skoczeń
6aeb784eda Fix race in podGroupState locking 2026-03-18 07:26:11 +00:00
Kubernetes Prow Robot
7d56731021 Merge pull request #137838 from hoskeri/leasespam
Fix logspam in leaderelection controller.
2026-03-18 12:11:38 +05:30
Kubernetes Prow Robot
e968baeea9 Merge pull request #137831 from BenTheElder/v1.35.0-api-testdata
Add v1.35.0 API testdata
2026-03-18 11:05:38 +05:30
Tsubasa Watanabe
57e649ae03 DRA Device Binding Conditions: update unit and integration tests
- update expectations for the default BindingTimeout in KubeSchedulerConfiguration
- DRA unit tests:
  - enable DRADeviceBindingConditions by default
  - add allocationTimestamp to expected ResourceClaims for PreBind cases
- disable DRADeviceBindingConditions when testing the stable allocator in TestSchedulerPerf

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2026-03-18 13:44:30 +09:00
Tsubasa Watanabe
6bf9cd5053 DRA Device Binding Conditions: run make update
Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2026-03-18 13:44:11 +09:00
Tsubasa Watanabe
cc2ab58a3a DRA Device Binding Conditions: graduate to beta
Promote DRADeviceBindingConditions feature gate from Alpha to Beta
in v1.36 with default enabled.

- Update feature gate definition to set default=true for v1.36 Beta
- Update API documentation comments from "alpha field" to "beta field"
  across all resource API versions (v1, v1beta1, v1beta2)

Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2026-03-18 13:44:10 +09:00
Kubernetes Prow Robot
76de97d229 Merge pull request #136277 from brejman/issue-134393-perf-thresholds
Set throughput threshold for matching anti-affinity scheduler perf test
2026-03-18 09:57:38 +05:30
Hamza
67deec3bfa DRA: include node name in timeout error and rework FilterTimeout test setup 2026-03-18 04:33:24 +01:00
Benjamin Elder
0d2c2cf5b2 UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api -count=1 2026-03-17 20:29:53 -07:00
Benjamin Elder
bf0d191a15 Add v1.35.0 API testdata 2026-03-17 19:54:54 -07:00
Kubernetes Prow Robot
a1293fe6b1 Merge pull request #137836 from BenTheElder/fix-api
Fix API serialization compatibility regression in VolumeMountStatus
2026-03-18 08:23:46 +05:30
Kubernetes Prow Robot
ad4e232c4a Merge pull request #137326 from amritansh1502/fix-136333-kubelet-zero-psi-metrics
Fix zero PSI metrics emitted when OS doesn't enable PSI
2026-03-18 08:23:39 +05:30
Kubernetes Prow Robot
f072e19776 Merge pull request #137835 from BenTheElder/suggest-test
suggest running k8s.io/api tests after adding testdata without test caching
2026-03-18 07:35:46 +05:30
Kubernetes Prow Robot
130b8c6ce4 Merge pull request #137813 from dims/dsrinivas/0009-discovery-convergence-timeout
test/integration/apiserver/discovery: give convergence more time
2026-03-18 07:35:39 +05:30
Abhijit Hoskeri
c07f3ebbde Fix logspam in leaderelection controller.
If the reconcileElectionStep function returns `noRequeue, nil`, it causes log
spam from apiserver.  This is because HandleErrorWithContext regardless of
error value.  Skip logging if error is nil.

Also, tag the log message with the involved lease object name.

```
...
{"ts":1773796037662.8264,"logger":"UnhandledError","caller":"leaderelection/leaderelection_controller.go:169","msg":"Failed to reconcile election step"}
{"ts":1773796038472.465,"logger":"UnhandledError","caller":"leaderelection/leaderelection_controller.go:169","msg":"Failed to reconcile election step"}
...
```
2026-03-17 18:05:20 -07:00
Benjamin Elder
6d7dca82c4 hack/update-openapi-spec.sh 2026-03-17 18:03:57 -07:00
Benjamin Elder
ce9ad95192 UPDATE_COMPATIBILITY_FIXTURE_DATA=true make test WHAT=k8s.io/api 2026-03-17 17:37:24 -07:00
Benjamin Elder
9f60cc3c4e hack/update-codegen.sh 2026-03-17 17:37:23 -07:00
Benjamin Elder
f6d42d302b make VolumeMountStatus.VolumeStatus a pointer to preserve serialization compatibility 2026-03-17 17:37:23 -07:00
Kubernetes Prow Robot
447d2bc16a Merge pull request #137812 from dims/dsrinivas/0010-storageversionmigrator-crd-update
test/integration/storageversionmigrator: wait longer for CRD updates
2026-03-18 05:21:04 +05:30
Kubernetes Prow Robot
2b6b888ed5 Merge pull request #137811 from dims/dsrinivas/0007-dra-controller-manager-metrics
test/integration/dra: poll ControllerManagerMetrics values
2026-03-18 05:20:57 +05:30
Kubernetes Prow Robot
9c578ed6cf Merge pull request #137796 from ndixita/cleanup-empty-values
Cleanup: Ignore empty memory requests in Status Resources and improve coverage
2026-03-18 05:20:49 +05:30
Kubernetes Prow Robot
762d386de4 Merge pull request #137783 from enj/enj/t/constrained_impersonation_key
KEP-5284: optimize constrained impersonation cache key construction
2026-03-18 05:20:41 +05:30
Kubernetes Prow Robot
fd3bb6d21f Merge pull request #137779 from richabanker/nh-kcm
Enable native histograms gated by feature flag in KCM
2026-03-18 05:20:34 +05:30