Commit Graph

136827 Commits

Author SHA1 Message Date
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
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
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
Jon Huhn
71f02bb2f3 DRA: fix Pods in a scheduling gang sharing ResourceClaims 2026-03-18 17:30:19 -05:00
Kubernetes Prow Robot
7a3a6cf4be Merge pull request #136725 from pravk03/native-dra-2
Introduce support of DRA for Native Resources
2026-03-19 03:36:38 +05:30
Kubernetes Prow Robot
b865748c1c Merge pull request #135118 from johanneswuerbach/scaletozero
KEP-2021: HPA condition based scaling to zero
2026-03-19 03:36:30 +05:30
Monis Khan
fa9a1fe5f7 Add GC to client-go TLS cache
Signed-off-by: Monis Khan <mok@microsoft.com>
2026-03-18 17:24:33 -04:00
Hemant Kumar
00d3cb1c5a Update wording for Unused timestamp to indicate lag 2026-03-18 17:13:59 -04:00
Roman Bednar
58f1520a03 update resize e2e tests to check only resize conditions 2026-03-18 17:08:11 -04:00
Roman Bednar
6c087b2724 add unused condition to persistent volume claims 2026-03-18 17:08:08 -04:00
Kubernetes Prow Robot
1a3fd46367 Merge pull request #137854 from Jefftree/kcm-test-owners
Add OWNERS for controller manager integration tests
2026-03-19 02:14:37 +05:30
Kubernetes Prow Robot
74c2317766 Merge pull request #137846 from lalitc375/required-forbidden
Add tests for +k8s:required and +k8s:forbidden validation tags
2026-03-19 02:14:30 +05:30
Sohan Kunkerkar
d2b77a8133 Rename HardReservation to TieredReservation for memoryReservationPolicy
The tiered approach uses memory.min for Guaranteed pods (hard protection)
and memory.low for Burstable pods (soft protection). Rename the policy
value to reflect this design.
2026-03-18 16:24:27 -04:00
Sohan Kunkerkar
dbd3f16787 Add node E2E tests for MemoryQoS
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com>
2026-03-18 16:24:26 -04:00
Sohan Kunkerkar
5ccf6ae320 Add node-level metric and rollback reconciliation 2026-03-18 16:24:26 -04:00
Kubernetes Prow Robot
1b5bcf309c Merge pull request #137641 from helayoty/helayoty/protection-controller-podgroup
KEP-5832: Add protection controller for PodGroup
2026-03-19 01:03:00 +05:30
Kubernetes Prow Robot
47751d94ac Merge pull request #137564 from iPraveenParihar/e2e/update-snapshotmetadataservice-crd
e2e: update snapshotmetadataservice crd to v1beta1
2026-03-19 01:02:42 +05:30
Kubernetes Prow Robot
e70704a43a Merge pull request #137489 from brejman/tas-complete
Integrate TAS logic into the pod group scheduling cycle
2026-03-19 01:02:32 +05:30
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