Commit Graph

136901 Commits

Author SHA1 Message Date
Ayato Tokubi
0acd0a4468 cri-client: use atomic.Bool for useStreaming to fix data race
Replace plain bool with sync/atomic.Bool for the useStreaming field
in remoteRuntimeService and remoteImageService to eliminate a data
race when multiple goroutines concurrently read/write the field
during Unimplemented fallback.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-03-21 16:11:11 +00:00
Kubernetes Prow Robot
ef247770b5 Merge pull request #137190 from everpeace/KEP-5491-alpha
KEP-5491: DRA: List Types for Attributes [Alpha]
2026-03-21 14:18:12 +05:30
Shingo Omura
627ac57e36 KEP-5491: replace "new(bool)" with "new(true)" to fix typecheck error in validation_resourceslice_test.go 2026-03-21 12:33:47 +09:00
Kubernetes Prow Robot
15eaed180f Merge pull request #137028 from nmn3m/feature/dra-resource-pool-status
KEP-5677: Add ResourcePoolStatusRequest API for DRA resource availability visibility
2026-03-21 08:16:13 +05:30
Kubernetes Prow Robot
69d4f67bc4 Merge pull request #137916 from kannon92/issue-137915-workload-api
test: Fix PodGroup CRUD test failing due to missing Workload reference
2026-03-20 21:06:17 +05:30
Kubernetes Prow Robot
08d246509c Merge pull request #137904 from soltysh/disable_maxunavailable
KEP-961: demote maxUnavailable feature in statefulset to off by default
2026-03-20 18:04:16 +05:30
Shingo Omura
b613ed56a2 KEP-5491: change ResourceSliceMaxDevicesWithTaintsOrConsumesCounters to ResourceSliceMaxDevicesWithAdvancedFeatures and add testcases with max devices with list attributes 2026-03-20 20:29:00 +09:00
Kubernetes Release Robot
a5e5992df0 CHANGELOG: Update directory for v1.36.0-beta.0 release 2026-03-19 23:38:00 +00:00
Kubernetes Prow Robot
734aeb836d Merge pull request #137015 from nmn3m/contextual-logging-scheduler-events
scheduler: use contextual logging for event emission
v1.36.0-beta.0
2026-03-20 03:12:31 +05:30
Kubernetes Prow Robot
98b4091f5d Merge pull request #137909 from dims/switch-PLEGOnDemandRelist-default-to-false-for-1.36
Switch PLEGOnDemandRelist default to `false` for 1.36
2026-03-20 02:22:39 +05:30
Kubernetes Prow Robot
e00eb8f394 Merge pull request #137906 from aramase/aramase/c/grpc_v1.79.0
update google.golang.org/grpc to v1.79.3
2026-03-20 02:22:31 +05:30
Maciej Szulik
f88289dc01 KEP-961: demote maxUnavailable feature in statefulset to off by default
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-03-19 20:47:03 +01:00
Kevin Hannon
3c91eba80c test: Fix PodGroup CRUD test failing due to missing Workload reference
Remove PodGroupTemplateRef from the PodGroup e2e CRUD test. The
PodGroupWorkloadExists admission plugin (introduced in #137464)
rejects PodGroups that reference a non-existent Workload, causing
the test to fail. The workload reference is not needed to test
basic PodGroup API CRUD operations.
2026-03-19 15:36:38 -04:00
Kubernetes Prow Robot
6c87b171ca Merge pull request #137870 from tallclair/push-lplxytyovnkw
test: fix flaky static pod tests by asserting on termination message …
2026-03-20 00:30:30 +05:30
Benjamin Elder
33724b9a86 enable PLEGOnDemandRelist in feature unit tests 2026-03-19 11:19:41 -07:00
Davanum Srinivas
4a69899d8b Switch PLEGOnDemandRelist default to false for 1.36 2026-03-19 13:04:47 -04:00
Anish Ramasekar
f5d48853c5 update google.golang.org/grpc to v1.79.3
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2026-03-19 11:47:06 -05:00
Tim Allclair
57eb99dbb8 test: fix flaky static pod tests by asserting on termination message and container ID instead of StartTime
The expectation that StartTime changes on kubelet restart for static pods is no longer reliable due to faked init container status logic. This change updates the tests to assert on the specific behavior introduced by that logic.
2026-03-19 16:45:14 +00:00
Kubernetes Prow Robot
b910026535 Merge pull request #137889 from sohankunkerkar/memqos-fix-reconcile
Remove reconcilePodMemoryProtection that resets pod cgroup values on systemd
2026-03-19 21:32:42 +05:30
Heba
cf5ba01d13 KEP-5832: Implement PodGroup admission (#137464)
* Add admission for podGroup

Signed-off-by: helayoty <heelayot@microsoft.com>

* Create workload object before podgroup

Signed-off-by: helayoty <heelayot@microsoft.com>

---------

Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-19 21:32:34 +05:30
Nour
71f6d73937 Remove +k8s:validation-gen-nolint from ResourcePoolStatusRequest, regenerate the code
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 16:56:37 +02:00
Nour
5513334650 Move ResourcePoolStatusRequest e2e tests to control plane context, drop unnecessary Feature:DynamicResourceAllocation tag, fix indentation
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 16:50:04 +02:00
Nour
58cbde2aff Pass individual informers, move DRA controllers to resource.go, simplify retry logic and metric tests
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 16:50:03 +02:00
Nour
1d634d81f2 Refactor ResourcePoolStatusRequest e2e tests to use Eventually matchers
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 16:50:03 +02:00
Nour
4dacffe793 Use string type for printer device columns
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 16:50:03 +02:00
Nour
8b9159baa4 Drop CSR analogy, mark ObjectMeta +required,reduce limits (maxItems=500, maxLength=128) for etcd safety, add Errors printer column
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 16:50:03 +02:00
Nour
4dffbf5b2a Add tests for ResourcePoolStatusRequest
Add unit tests for handwritten and declarative validation, controller
logic, metrics, table printer output, controller-manager registration,
etcd storage round-trip, and an integration test for the full RPSR
lifecycle. Also add an e2e test exercising the DRA test driver with
RPSR and the example manifest.
2026-03-19 16:50:03 +02:00
Nour
30fe79df21 Add ResourcePoolStatusRequest controller, registry, and RBAC
Implement the RPSR controller that watches ResourcePoolStatusRequest
objects and aggregates pool status from DRA drivers. Add the API server
registry (strategy, storage), handwritten validation, RBAC bootstrap
policy for the controller, kube-controller-manager wiring, table
printer columns, and storage factory registration.
2026-03-19 16:50:02 +02:00
Nour
29601b8628 Add ResourcePoolStatusRequest API types and generated code
Introduce the ResourcePoolStatusRequest resource type in the
resource.k8s.io/v1alpha3 API group, gated behind the
DRAResourcePoolStatus feature gate. This includes external and internal
type definitions, protobuf/OpenAPI generated code, client-go typed
clients, informers, listers, apply configurations, deepcopy, defaults,
conversion, fuzzer, declarative validation tags, and API discovery
metadata.
2026-03-19 16:49:56 +02:00
Yashasvi Misra
1132a4e4ef top command documentation enhancement (#136825)
* top command documentation enhancement

* Added FAQ details
2026-03-19 19:36:33 +05:30
Kubernetes Prow Robot
ac10370ad2 Merge pull request #136987 from bitoku/kep-5825-cri
[KEP-5825] cri-api: Add streaming RPCs for CRI list operations
2026-03-19 18:28:39 +05:30
Nour
aa5e5ea9d6 scheduler: use contextual logging for event emission
Signed-off-by: Nour <nurmn3m@gmail.com>
2026-03-19 14:33:09 +02:00
Sohan Kunkerkar
e3849e2b55 Remove reconcilePodMemoryProtection that resets pod cgroup values on systemd 2026-03-19 07:53:34 -04:00
Kubernetes Prow Robot
9d02f5f918 Merge pull request #137032 from helayoty/helayoty/5547-workload-job-integration
KEP-5547: Implement Workload APIs integration with Job controller
2026-03-19 17:10:31 +05:30
Kubernetes Prow Robot
dd776ab4c5 Merge pull request #137772 from lalitc375/fix-linter
validation-gen: allow beta validations in alpha packages without pref…
2026-03-19 15:36:40 +05:30
Kubernetes Prow Robot
88573def71 Merge pull request #137146 from george-angel/fix/container-restart-sidecar-exited
kubelet: fix containers not restarting when sidecar keeps running
2026-03-19 15:36:32 +05:30
Peter Nguyen
bd94e01450 Rename etcd_bookmark_counts to etcd_bookmark_total and change it from a gauge to a counter metric (#136483)
* Add etcd_bookmark_total counter metric and deprecate etcd_bookmark_counts

* Update docs using scripts

* Add test for etcd_bookmark_total and run gofmt

* gofmt
2026-03-19 14:06:30 +05:30
Kubernetes Prow Robot
f0bd9004e1 Merge pull request #137861 from nojnhuh/dra-kind-scheduling-api
Add scheduling v1alpha2 for DRA kind config
2026-03-19 13:16:30 +05:30
Shingo Omura
f44e1fbbb0 KEP-5491: '.includes' CEL function raises a runtime error when applying to lists longer than resourceapi.ResourceSliceMaxAttributeValuesPerDevice 2026-03-19 16:24:39 +09:00
Shingo Omura
1375a51e05 KEP-5491: add more testcases: macro on scalars(when the feature gate is on), and "in" operator cost estimation for documenting purpose. 2026-03-19 16:24:39 +09:00
Shingo Omura
9b45256ba3 KEP-5491: introduce "includes" CEL function that can work both for scalar and list attributes 2026-03-19 16:24:38 +09:00
Shingo Omura
cb60b14b70 KEP-5491: implement matchAttribute/distinctAttribute in experimental allocator for list/scalar fields 2026-03-19 16:24:38 +09:00
Shingo Omura
e4e45ed589 KEP-5491: strategy(dropDisableFields) for list fields in DeviceAttribute 2026-03-19 16:24:38 +09:00
Shingo Omura
b43153602c KEP-5491: validation for list attributes in DeviceAttribute 2026-03-19 14:46:47 +09:00
Shingo Omura
3902f5611f KEP-5491: generated code for list attribute fields in DeviceAttribute API ("make update"-ed) 2026-03-19 14:45:08 +09:00
Shingo Omura
f67b004ebf KEP-5491: add list attribute fields(BoolValues, IntValues, StringValues, VersionValues) in DeviceAttribute API
KEP-5491: Document the list field in DeviceAttribute are "non-empty"
2026-03-19 14:32:28 +09:00
Shingo Omura
81c0b9ce34 KEP-5491: add DRAListTypeAttributes feature gate with Alpha 2026-03-19 14:32:23 +09:00
Kubernetes Release Robot
880a6dda4c CHANGELOG: Update directory for v1.35.3 release 2026-03-19 03:20:49 +00:00
Kubernetes Release Robot
7dddeada88 CHANGELOG: Update directory for v1.34.6 release 2026-03-19 03:19:43 +00:00
Kubernetes Release Robot
96009e4806 CHANGELOG: Update directory for v1.33.10 release 2026-03-19 03:17:58 +00:00