Commit Graph

136865 Commits

Author SHA1 Message Date
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
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
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
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
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
Kubernetes Prow Robot
a439183755 Merge pull request #137352 from natasha41575/nonsidecarinitctrs
[InPlacePodVerticalScaling] Relax validation to support in-place resizing non-sidecar initContainers
2026-03-19 08:44:28 +05:30
Kubernetes Prow Robot
6e845f67fa Merge pull request #137864 from yongruilin/dv-dra-mismatch
fix(declarative validation): union validation ratcheting when oldObj is nil
2026-03-19 07:52:37 +05:30
Kubernetes Prow Robot
caecddc909 Merge pull request #134627 from briansonnenberg/brians-kubelet-pods-api
[KEP-4188] New Kubelet gRPC API returning node-local Pod info
2026-03-19 07:52:30 +05:30
Kubernetes Prow Robot
98bb6823a8 Merge pull request #137862 from gnufied/pvc-unused-since-condition
Report PVC unused time via PVC condition
2026-03-19 07:08:49 +05:30
Kubernetes Prow Robot
d0ede29bd5 Merge pull request #137856 from adrianmoisey/adrian-fix-round-trip
Fix HPAv2 objects that are being updated via v1
2026-03-19 07:08:42 +05:30
Kubernetes Prow Robot
0eb3ae1640 Merge pull request #137827 from SergeyKanzhelev/criClientWithoutApimachinery
Cri client without apimachinery
2026-03-19 07:08:35 +05:30
Kubernetes Prow Robot
a3b068a003 Merge pull request #137647 from nojnhuh/dra-gang
DRA: fix Pods in a scheduling gang sharing ResourceClaims
2026-03-19 07:08:28 +05:30
Natasha Sarkar
2d23d21802 e2e test for resize of non-sidecar init containers 2026-03-19 00:43:57 +00:00
Natasha Sarkar
559c63fa30 kubelet support for non-sidecar init container resize 2026-03-19 00:43:56 +00:00
Natasha Sarkar
2d205b9556 use Node Declared Features to handle 'InPlacePodVerticalScalingInitContainers' 2026-03-19 00:43:56 +00:00
Natasha Sarkar
fa50e63b81 relax validation check for resizing nonsidecar init containers 2026-03-19 00:43:52 +00:00
Natasha Sarkar
d2dbd4c08d Define 'InPlacePodVerticalScalingInitContainers' feature gate 2026-03-19 00:43:43 +00:00
yongruilin
24c1eb237d Add slice and map union member support with tests
- Code generator: use len() != 0 for slice/map member extractors
  instead of != nil, so empty slice/map are treated as "not set"
- Add slice and map members to union test types (both discriminated
  and undiscriminated)
- Add test coverage for nil vs empty, ratcheting, and nil oldObj
  with slice/map members

Co-authored-by: Tim Hockin <thockin@google.com>
2026-03-19 00:35:05 +00:00
Kubernetes Prow Robot
ca5c40e58a Merge pull request #137764 from pacoxu/sig-node-standalone
e2e_node: fix pod StartTime assertion to compare time value
2026-03-19 05:42:59 +05:30
Kubernetes Prow Robot
158b69d223 Merge pull request #137753 from adamkasztenny/fix-lease-optimistic-update-log-level-v2
Reduce log level for optimistic lease update fallback
2026-03-19 05:42:51 +05:30
Kubernetes Prow Robot
c2a7819806 Merge pull request #137719 from sohankunkerkar/memqos-kernel-metrics-e2e
KEP-2570: Add tiered memory protection, metrics, rollback fix, and E2E tests for MemoryQoS
2026-03-19 05:42:44 +05:30
Kubernetes Prow Robot
87924903db Merge pull request #137629 from stlaz/ensure-secret-images-allowlist-fix
Image Pulling Authorization: fix the allowlisting policy
2026-03-19 05:42:36 +05:30
Kubernetes Prow Robot
bf1abbf2e9 Merge pull request #136355 from enj/enj/i/tls_cache_gc
Add GC to client-go TLS cache
2026-03-19 05:42:29 +05:30
yongruilin
52cb155c97 Use IsZero instead of IsNil for union ratcheting check
- Use reflect.ValueOf(oldObj).IsZero() instead of IsNil() so union
  validation works with non-nilable T (e.g. value types)
- Remove hasOldValue guard from inner loop conditionals; only check
  at the final ratcheting skip point
- Add doc comments explaining T is "any" rather than "comparable"
  because union members can be slices
- Add value-type subtests for Union and DiscriminatedUnion

Co-authored-by: Tim Hockin <thockin@google.com>
2026-03-18 23:45:09 +00:00
Kubernetes Prow Robot
76a3d535a1 Merge pull request #136548 from mariafromano-25/psi-ga-update
[KEP 4205] GA the KubeletPSI FeatureGate
2026-03-19 04:54:28 +05:30
Sergey Kanzhelev
70793b760c use tracing headers directly from otel so the reference to apimachinery will be gone completely 2026-03-18 23:21:16 +00:00
Brian Sonnenberg
8c848ad9e4 Moved broadcast logic into StatusManager with no lock-holding. 2026-03-18 23:07:37 +00:00
Brian Sonnenberg
b6fbc88793 ci fixes 2026-03-18 23:07:37 +00:00
Brian Sonnenberg
2e494fc71c Overlay latest status for GET and LIST, and in the initial sync for WATCH. 2026-03-18 23:07:37 +00:00
Brian Sonnenberg
67441f2a11 Addressed comments. Change OnPodDeleted to only populate the name, namespace and UID of the pod object to avoid sending confusing, stale end state. 2026-03-18 23:07:37 +00:00
Brian Sonnenberg
b408806675 Addressed comments and optimized broadcaster.
Removed split-brain subscriber interface and switched to purely PodWorker broadcasting immediately after SetPodStatus to ensure consistent, monotonic view of the pod.
2026-03-18 23:07:36 +00:00
Brian Sonnenberg
872a3bd044 Update generated protobuf bindings for PodsAPI v1alpha1 2026-03-18 23:07:36 +00:00
Brian Sonnenberg
69167c14bd Refactored broadcast logic, specifically:
For ADDED, we broadcast directly after receiving the pod info and successfully processing it for the first time from the API server, so this should always be the first thing broadcast for a given pod.

For DELETED, we broadcast after it has been processed in updateStatusInternal with podIsFinished, so this should always be the last thing broadcast for a given pod.

For MODIFIED, we broadcast once when we receive a new spec from the API server, and once when we finish processing in the status manager.  This way the watchers can see the flow from when a spec is received to when it has reconciled.  To avoid status flapping on slow status updates with many spec updates, we always overlay the latest status from the status manager on every broadcast.  This hybrid state is fine because the ObservedGeneration will indicate how far desynced the spec has become from the status, so watchers can act accordingly.
2026-03-18 23:07:36 +00:00
Brian Sonnenberg
0809c4f37f linter fixes 2026-03-18 23:07:36 +00:00
Brian Sonnenberg
960c317df4 fmt and ci fixes 2026-03-18 23:07:36 +00:00
Brian Sonnenberg
433ae3363f Fix typo 2026-03-18 23:07:36 +00:00
Brian Sonnenberg
fd330c303d Refactor PodsServer to use PodManager as source of truth
- Fixed version in kube_features.go after rebase (1.35->1.36)
- Removed internal pod cache in PodsServer to reduce memory footprint and avoid duplication.
- Injected pod.Manager into PodsServer to serve as the single source of truth for pod data.
- Refactored WatchPods to broadcast UIDs and fetch fresh pod data from podManager, ensuring consistency.
- Updated convertWatchEventType to safely handle unknown event types.
- Refactored unit tests to use MockManager and added a test case for static pods.
- Updated e2e suite with static pod test
2026-03-18 23:07:36 +00:00
Brian Sonnenberg
044f65ca5c [KEP-4188] New Kubelet gRPC API with endpoint returning local Pod information 2026-03-18 23:07:36 +00:00
helayoty
83a30f8bac Add e2e tests for Workload/PodGroup Job integration
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 22:32:58 +00:00
helayoty
736f227760 Add integration tests for Workload/PodGroup Job integration
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 22:32:57 +00:00
helayoty
981a333927 Add admission plugin for update parallelism
Signed-off-by: helayoty <heelayot@microsoft.com>
2026-03-18 22:32:57 +00:00