yongruilin
ca66143d5f
Add DRA test for device attribute with no value set
...
Test that declarative validation catches a DeviceAttribute with no
value fields set, which was the original bug scenario where union
ratcheting incorrectly skipped validation for new map entries.
2026-03-18 22:26:41 +00:00
yongruilin
39e99b2a2c
Add nil OldValue test coverage for union doc_tests
...
Add tests for Union, DiscriminatedUnion, and ZeroOrOneOfUnion
validating that nil oldObj (new map entry or newly-set pointer
field during update) does not skip validation via ratcheting.
2026-03-18 22:26:00 +00:00
yongruilin
c9e18abca5
Fix union validation ratcheting when oldObj is nil
...
When oldObj is nil (e.g. new map entry added during update), union
ratcheting incorrectly treats nil old and empty new as unchanged
membership, skipping validation entirely. Fix by checking
reflect.ValueOf(oldObj).IsNil() and disabling ratcheting when
oldObj is nil, so the new value is fully validated.
This affects Union, DiscriminatedUnion, and ZeroOrOneOfUnion
(via unionValidate).
2026-03-18 22:25:32 +00:00
Kubernetes Prow Robot
e7a3b09a03
Merge pull request #131744 from ArangoGutierrez/dra_describe
...
Add ResourceSlices field to kubectl describe node
2026-03-18 22:04:31 +05:30
Kubernetes Prow Robot
92a3cb856f
Merge pull request #137847 from shwetha-s-poojary/fix_TestGetConntrackMax
...
Fix TestGetConntrackMax to align with capped conntrack max values
2026-03-18 20:55:03 +05:30
Kubernetes Prow Robot
cf09296f9a
Merge pull request #137843 from pacoxu/cobra-v1.10.2
...
bump spf13/cobra to v1.10.2
2026-03-18 20:54:55 +05:30
Kubernetes Prow Robot
1d69828518
Merge pull request #137611 from helayoty/helayoty/podgroup-status
...
KEP-5832: Add podGroup Status
2026-03-18 20:54:33 +05:30
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
helayoty
744acc4277
Handle oldStatus nil case and check message overwrite
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-03-18 11:05:20 +00:00
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
shwetha-s-poojary
467ce9c6cd
Fix TestGetConntrackMax to align with capped conntrack max values
2026-03-18 15:25:21 +05:30
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
Paco Xu
a27021081d
remove gopkg.in/yaml.v3 usage of cobra
2026-03-18 16:47:19 +08:00
Paco Xu
a304826799
bump spf13/cobra to v1.10.2
2026-03-18 16:46:23 +08:00
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
helayoty
88cccd9d7e
enhance unit tests
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-03-18 06:48:54 +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
helayoty
b728516811
skip setting condition to False if it was True
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-03-18 05:10:53 +00:00
helayoty
3e9c4966ff
Address code review feedback
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-03-18 05:10:50 +00:00
helayoty
0ccf6c7b1a
Add integration tests for PodGroup conditions
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-03-18 05:09:51 +00:00
helayoty
57ba60526f
Implement podGroup Status
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-03-18 05:05:42 +00:00
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
Kubernetes Prow Robot
5f3eeab332
Merge pull request #137768 from macsko/fix_gated_pop_podgroups
...
Handle gated pods correctly while popping PodGroup members
2026-03-18 05:20:25 +05:30