Commit Graph

54146 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0d40757969 Merge pull request #133051 from rata/userns-record-pod-error
kubelet/userns: Print podUID on errors
2025-10-31 11:34:06 -07:00
Kubernetes Prow Robot
5caeb4171d Merge pull request #134855 from sprait/fix-nil-deref-container-status
kubelet: add nil check for ContainerStatus in GetContainerStatus
2025-10-31 10:10:14 -07:00
Kubernetes Prow Robot
ef1eb4bef8 Merge pull request #135006 from p0lyn0mial/upstream-watchlist-unsupported-wl-kubelet-fake-pod-lw
kubelet/config/apiserver_test: expose IsWatchListSemanticsUnSupported on fakePodLW
2025-10-31 08:32:15 -07:00
Kubernetes Prow Robot
4ca91a6542 Merge pull request #134994 from liggitt/drop-strict-cost
Drop locked StrictCostEnforcementForVAP and StrictCostEnforcementForWebhooks feature gates
2025-10-31 07:38:12 -07:00
Lukasz Szaszkiewicz
1951e8dd88 kubelet/config/apiserver_test: expose IsWatchListSemanticsUnSupported on fakePodLW 2025-10-31 12:37:34 +01:00
Rodrigo Campos
05f5051be3 kubelet/userns: Print podUID on errors
We recently received this bug report: #132966. The issue seems to be
that the new range configured doesn't work for existing pods on the
node, and therefore the kubelet fails to start.

While I'll also improve the documentation to mention you need to drain
the node, let's also improve the error message saying which pod this
error comes from.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-10-31 12:06:30 +01:00
Nikolay Gorbatov
040516a6e7 fix linter changes 2025-10-31 11:44:17 +04:00
Kubernetes Prow Robot
b4d4cc9384 Merge pull request #123642 from aramase/aramase/f/kep_3331_jwks_metrics
Add JWKS fetch metrics for jwt authenticator
2025-10-30 22:42:02 -07:00
Jordan Liggitt
bd11e52bfc Drop locked StrictCostEnforcementForVAP and StrictCostEnforcementForWebhooks feature gates 2025-10-31 00:03:42 -04:00
Kubernetes Prow Robot
a13ad97048 Merge pull request #134949 from natasha41575/ippr-ga
Promote InPlacePodVerticalScaling to GA
2025-10-30 20:06:01 -07:00
Kubernetes Prow Robot
76103bec09 Merge pull request #134963 from yongruilin/master_maxitem-rcs
feat(dra): Migrate maxItems and uniqueness declarative validation for NetworkDeviceData.IPs and DeviceAllocationConfiguration.Requests
2025-10-30 17:22:01 -07:00
yongruilin
d80ac77d98 feat(dra): add k8s:optional for all DV migrated optional fields 2025-10-30 23:31:01 +00:00
Kubernetes Prow Robot
1ffcea577b Merge pull request #134984 from michaelasp/crdObsGeneration
Add ObservedGeneration to CRD conditions
2025-10-30 16:22:02 -07:00
Michael Aspinwall
cde15e6450 Add ObservedGeneration to CRD conditions 2025-10-30 22:30:01 +00:00
Kubernetes Prow Robot
9efb7ee538 Merge pull request #134313 from richabanker/statusz-structured
[KEP:4827] Structured statusz
2025-10-30 13:16:10 -07:00
Kubernetes Prow Robot
fb69410824 Merge pull request #133980 from siyuanfoundation/min-compat
[KEP-4330] add min-compatibility-version to control plane.
2025-10-30 13:16:03 -07:00
Kubernetes Prow Robot
31f83cdf2b Merge pull request #134647 from torredil/kadane-6123912
Enable `MutableCSINodeAllocatableCount` by default in Beta
2025-10-30 11:50:03 -07:00
Siyuan Zhang
67143028e7 Add --min-compatibility flag.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-10-30 13:36:38 -05:00
Richa Banker
c1a95eb7e2 Structured statusz 2025-10-30 10:39:52 -07:00
Natasha Sarkar
1d9c646892 fix unit tests for ippr ga 2025-10-30 17:28:42 +00:00
Kubernetes Prow Robot
9e284866c3 Merge pull request #134740 from hoskeri/untolerated-taint-generic
Do not log untolerated taint in pod status updates.
2025-10-30 02:22:03 -07:00
Kubernetes Prow Robot
808d320de1 Merge pull request #134956 from yliaog/blockowner
removed BlockOwnerDeletion
2025-10-30 01:26:11 -07:00
Kubernetes Prow Robot
906284afc7 Merge pull request #134933 from swatisehgal/node-mm-mgr-ctx-logging-updates
node: mm-mgr: Refactor to use logger parameter instead of context
2025-10-30 01:26:04 -07:00
yongruilin
df3f5dd493 test(validation): add cases for validating maxItems in status.devices.networkData.ips 2025-10-30 07:14:06 +00:00
yongruilin
2713803c78 feat(dra): migrate NetworkDeviceData.IPs maxItems to declarative validation 2025-10-30 07:14:06 +00:00
yongruilin
a8c9bb1f16 test(validation): add cases for validating maxItems in status allocation requests 2025-10-30 07:14:06 +00:00
yongruilin
0d6d2aa6a5 feat(dra): migrate DeviceAllocationConfiguration.Requests maxItems to declarative validation 2025-10-30 07:14:06 +00:00
yongruilin
9161461317 test(resourceclaim): add unit test for unique DeviceAllocationConfiguration.Requests in status
Add a unit test to  to verify the uniqueness validation for . This ensures that duplicate request names within this field are correctly flagged as invalid.
2025-10-30 07:14:04 +00:00
yongruilin
a553ac0e92 feat(dra): migrate DeviceAllocationConfiguration.Requests uniqueness to declarative validation 2025-10-30 07:06:35 +00:00
yongruilin
a4e8b54dee test(validation): add case for handling duplicate request names in ResourceClaim status update 2025-10-30 07:06:35 +00:00
yongruilin
cc0012b450 Add Declarative validation unit test for duplicate IPs in NetworkDeviceData 2025-10-30 07:06:35 +00:00
yongruilin
9bbf28e2f4 feat(dra): migrate NetworkDeviceData.IPs uniqueness to declarative validation 2025-10-30 07:06:35 +00:00
Kubernetes Prow Robot
de28a5bfea Merge pull request #134602 from lalitc375/device-attirubute
[feat] Add k8s-resource-fully-qualified-name format
2025-10-29 16:36:01 -07:00
yliao
4f647b3f3d removed BlockOwnerDeletion 2025-10-29 22:41:10 +00:00
Kubernetes Prow Robot
3ec2d82da5 Merge pull request #134784 from michaelasp/svm_beta2
SVM: bump the API to beta, remove unused fields
2025-10-29 13:56:02 -07:00
Michael Aspinwall
3b72759d1b Update SVM to Beta
Co-authored-by: Stanislav Láznička <stlaz.devel@proton.me>
2025-10-29 19:36:11 +00:00
Kubernetes Prow Robot
a490c43f0e Merge pull request #134948 from natasha41575/podgeneration-ga
Promote Pod Generation to GA
2025-10-29 12:10:01 -07:00
Anish Ramasekar
24a53fa638 add JWKS fetch metrics for jwt authenticator
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-10-29 11:42:40 -07:00
Kubernetes Prow Robot
412bfec7a1 Merge pull request #134157 from macsko/forget_pod_immediately_when_it_is_deleted
Forget pod from scheduler's cache immediately when it's deleted
2025-10-29 10:14:10 -07:00
Kubernetes Prow Robot
1f1ff7d8b2 Merge pull request #133066 from hankfreund/retry_backoff
Propagate backoff duration for crashloop backoff.
2025-10-29 10:14:03 -07:00
Natasha Sarkar
4a991bbbd9 fix unit tests for pod gen GA 2025-10-29 16:34:18 +00:00
Swati Sehgal
e06abce75f node: mm-mgr: Refactor to use logger parameter instead of context
This change completes the contextual logging migration for the memory
manager by updating the Manager interface and all implementations to
accept logr.Logger parameters instead of context.Context.

Key changes:
- Update Manager interface methods to accept logr.Logger:
  * AddContainer, RemoveContainer, GetMemoryNUMANodes
  * GetAllocatableMemory, GetMemory (removed context entirely)
- Update Policy interface methods to accept logr.Logger instead of context.Context
- Pass logger to NewManager() and policy constructors (NewPolicyStatic, NewPolicyNone, NewPolicyBestEffort)
- Update internal_container_lifecycle to use klog.TODO() when calling memory manager methods
- Update fake manager to accept and use logger parameter
- Update all test code to pass logger instead of context

This aligns with the contextual logging migration pattern where:
- Functions that need a logger accept logr.Logger parameter directly
- Logger is passed from the boundary (e.g., Start()) down to implementation
- klog.TODO() is used temporarily in call sites where logger is not yet available
- Context is only used where truly needed (e.g., Start() method)

This follows the same pattern as recent migrations in:
- pkg/kubelet/cm/topologymanager (#134174)
- pkg/kubelet/cm/devicemanager (#134293)
- pkg/kubelet/cm/cpumanager (#125912)

Related to the initial memory manager contextual logging work in #130727.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-10-29 16:09:42 +00:00
Natasha Sarkar
d2f780e277 promote ippr to ga 2025-10-29 16:01:21 +00:00
Natasha Sarkar
21c832b47d promote pod generation to GA 2025-10-29 15:52:17 +00:00
Kubernetes Prow Robot
a8a43a5e25 Merge pull request #134795 from aditigupta96/fix-runwithcontext-controller-tests
pkg/controller: Use informer.RunWithContext in tests
2025-10-29 07:14:04 -07:00
Maciej Skoczeń
b29fdd1551 Forget pod from scheduler's cache immediately when it's deleted or has DeletionTimestamp set 2025-10-29 10:00:38 +00:00
Maciej Skoczeń
1502996787 Refactor scheduler event handlers for pods to handle binding event in one place 2025-10-29 09:59:35 +00:00
Lalit Chauhan
37ba7bb454 Address feedbacks 2025-10-29 04:41:10 +00:00
Lalit Chauhan
ec8c2246b2 Use k8s-resource-fully-qualified-name format to validate MatchAttribute 2025-10-29 04:41:07 +00:00
Kubernetes Prow Robot
b6e7ee359d Merge pull request #134644 from vikasbolla/fix_change_permission
Fix volume mount changePermissions test flake
2025-10-28 19:08:00 -07:00