Commit Graph

136607 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0bb0dfd2fd Merge pull request #137785 from nmn3m/nmn3m/add-sig-instrumentation-reviewer
Add nmn3m to sig-instrumentation-reviewers
2026-03-17 07:27:58 +05:30
Kubernetes Prow Robot
a59c9f2575 Merge pull request #137780 from richabanker/nh-kubelet
Enable native histograms gated by feature flag in kubelet
2026-03-17 07:27:51 +05:30
Kubernetes Prow Robot
9cf54337e4 Merge pull request #137689 from jpbetz/fix-reset-fields-and-test
Test that field wiping and field resetting is applied consistently across API
2026-03-17 07:27:43 +05:30
Kubernetes Prow Robot
63e50efa0a Merge pull request #137350 from mortent/PartitionableDevicesToBeta
Promote DRAPartitionableDevices to beta
2026-03-17 07:27:36 +05:30
Kubernetes Prow Robot
5edaecfa53 Merge pull request #137609 from enj/enj/f/constrained_impersonation_beta
KEP-5284: promote constrained impersonation to beta
2026-03-17 06:35:36 +05:30
Kubernetes Prow Robot
2d7979b985 Merge pull request #136367 from bhope/metrics-beta-job-controller
Promote job controller metrics to beta
2026-03-17 04:47:44 +05:30
Kubernetes Prow Robot
c332baec33 Merge pull request #136155 from bhope/metrics-beta-scheduler
Promote scheduler metrics to beta
2026-03-17 04:47:37 +05:30
Nour
9570a0c4f6 Add nmn3m to sig-instrumentation-reviewers 2026-03-17 00:32:30 +02:00
Kubernetes Prow Robot
3b28911985 Merge pull request #137778 from bitoku/genericpleg
Set 0 to trigger the relist immediately
2026-03-17 01:59:38 +05:30
Richa Banker
56cd8b2fc6 Enable native histograms gated by feature flag in kubelet
Signed-off-by: Richa Banker <richabanker@google.com>
2026-03-16 12:18:32 -07:00
Kubernetes Prow Robot
fe37c66436 Merge pull request #137773 from lalitc375/graduate-forbidden
Graduate +k8s:forbidden to beta.
2026-03-17 00:35:37 +05:30
Kubernetes Prow Robot
a415416a32 Merge pull request #137775 from macsko/add_getnode_method_to_cache
Add GetNode method to scheduler cache for testing
2026-03-16 23:37:55 +05:30
Kubernetes Prow Robot
d763ae8f6f Merge pull request #137073 from iomarsayed/snapshot-podgroup-state-before-scheduling-cycle
Snapshot PodGroup state before initiating scheduling cycle
2026-03-16 23:37:48 +05:30
Kubernetes Prow Robot
ac976cf6a1 Merge pull request #136652 from brejman/kep-5732-tas-placement-plugin-config
Extend NodeResourcesFit plugin to score placements in the PodGroup scheduling cycle
2026-03-16 23:37:40 +05:30
Ayato Tokubi
d3056cb0b7 Set 0 to trigger the relist immediately 2026-03-16 17:29:41 +00:00
Kubernetes Prow Robot
41451cb954 Merge pull request #137735 from tosi3k/drop-scheduling-v1alpha1
Remove v1alpha1 scheduling API from the API defaulting test
2026-03-16 22:23:54 +05:30
Kubernetes Prow Robot
57144b592d Merge pull request #137001 from kairosci/ssh-fix
fix: remove duplicate SSH execution in masterExec function
2026-03-16 22:23:47 +05:30
Kubernetes Prow Robot
6c300757e8 Merge pull request #136314 from petern48/etcd_metrics_beta
Graduate etcd metric 'apiserver_storage_events_received_total' to BETA
2026-03-16 22:23:39 +05:30
Kubernetes Prow Robot
9c7e57bb7c Merge pull request #137330 from tico88612/cleanup/test-node-pod-dep-prometheus
Remove dep. Prometheus from test/e2e/node/pods.go
2026-03-16 20:43:49 +05:30
Bartosz
9533a4eddb Implement PlacementScorePlugin in NodeResourcesFit 2026-03-16 15:13:46 +00:00
Kubernetes Prow Robot
624af3f634 Merge pull request #134660 from Priyankasaggu11929/kep-3085-add-callback
[KEP-3085] kubelet - extend RuntimeHelper interface with `OnPodSandboxReady` to update `PodReadyToStartContainers` condition correctly
2026-03-16 20:43:41 +05:30
Maciej Skoczeń
19eeddaa92 Add GetNode method to scheduler cache for testing 2026-03-16 14:21:14 +00:00
Kubernetes Prow Robot
23e0d392ce Merge pull request #137742 from dims/dsrinivas/issue-137739-drain-timeout
kubectl/drain: widen namespace termination retry timeout
2026-03-16 18:53:39 +05:30
Lalit Chauhan
f9c3cd9db4 Graduate +k8s:forbidden to beta. 2026-03-16 10:59:43 +00:00
Kubernetes Prow Robot
bf303f9ec6 Merge pull request #137751 from KevinTMtz/pod-level-resource-managers-forward-compatibility
[PodLevelResourceManagers] CPU & Memory managers forward compatibility - Alpha
2026-03-16 15:15:39 +05:30
Kubernetes Prow Robot
eb0da686b8 Merge pull request #137765 from sivchari/fix-arg-order
fix: argument order of errors.Is
2026-03-16 13:41:39 +05:30
sivchari
183ebf26d7 fix: argument order of errors.Is
Signed-off-by: sivchari <shibuuuu5@gmail.com>
2026-03-16 16:23:26 +09:00
Jian Qiu
6c8e5e2d41 Add more unit tests for constrained impersonation (#136737)
* Add more unit tests for constrained impersonation

test cases for large number of groups/extra
test cases for system:masters constrained impersonation is not allowed

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Validate each authz request in the constrained impersonation unit test

Signed-off-by: Jian Qiu <jqiu@redhat.com>

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2026-03-16 11:03:37 +05:30
Priyanka Saggu
bd1ed91bb2 fix TestManagedBy by resetting metrics after controller start like other tests 2026-03-16 11:02:32 +05:30
Priyanka Saggu
7b71b3a165 make OnPodSandboxReady async to work correctly with on-demand per-pod relist 2026-03-16 10:55:52 +05:30
Priyanka Saggu
410efb048f add e2e tests verifying PodReadyToStartContainers condition set using criProxy to inject delay time 2026-03-16 10:14:02 +05:30
Priyanka Saggu
d7abab886e add tests to verify invocation of OnPodSandboxReady method and PodReadyToStartContainers condition 2026-03-16 10:14:02 +05:30
Priyanka Saggu
ab73613f42 [kubelet] add new OnPodSandboxReady method to RuntimeHelper interface to update PodReadyToStartContainers condition immediately after sandbox creation
This is to address the bug (gh-issue 134460), which reported that currently `PodReadyToStartContainers` condition is only set to `True` after the container image pull is completed. so, if the image size is big and image pull takes significant time to finish, the pod status managaer is blocked and the condition remaind `False`.

The commit implements the following changes, to allow kubelet to update the `PodReadyToStartContainers` pod condition immediately after all three requirements (pod sandbox, networking, volume)are ready, but before container images are pulled or containers are created.
* add `OnPodSandboxReady` method to the `RuntimeHelper` interface in `container/helpers.go`
* implement the `OnPodSandboxReady` method in Kubelet
* inside `(containerRuntime).SyncPod`, after sandbox creation and network configuration, invoke `runtimeHelper.OnPodSandboxReady()` directly
  (this method retrieves current pod status, generates updated API status, and notifies the status manager to sync to the API server)

This implementation is gated under `PodReadyToStartContainersCondition` feature gate, and fails gracefully, i.e, it only logs error and continues the pod creation process to make sure that these new changes don't block pod startup.
2026-03-16 10:14:02 +05:30
Kubernetes Prow Robot
8cfc85428a Merge pull request #137678 from aaron-prindle/flowcontrol-discriminator-and-member-dv-migration
feat: flowcontrol LimitResponse and PriorityLevelConfigurationSpec discriminator and member dv migration
2026-03-16 09:15:37 +05:30
Kubernetes Prow Robot
a274c27dd3 Merge pull request #137727 from SergeyKanzhelev/removeRaceInObservedGen
wait for container condition to be true before sending the pod update
2026-03-16 04:19:36 +05:30
Kubernetes Prow Robot
040ca59611 Merge pull request #137454 from haircommander/proc-mount-ga
KEP-4265: feature: promote ProcMountType to GA
2026-03-15 07:57:34 +05:30
Kevin Torres
b969bbda83 CPU & Memory managers forward compatibility 2026-03-14 23:39:07 +00:00
Davanum Srinivas
77f8d7c2a9 kubectl/drain: widen namespace termination retry timeout
TestEvictDuringNamespaceTerminating intentionally exercises the retry path
but only allows 10ms of total time. The production loop sleeps, refreshes
state, and retries under that same deadline, so a single retry plus
scheduler jitter is enough to exhaust the budget under -race or on busy
CI workers.

Keep the retry interval small so the test still covers the retry behavior,
but widen the overall timeout so the assertion measures semantics instead
of machine speed.

Tested:
go test -race ./staging/src/k8s.io/kubectl/pkg/drain -run TestEvictDuringNamespaceTerminating -count=100
2026-03-14 11:58:32 -04:00
Kubernetes Prow Robot
9ad8603033 Merge pull request #137736 from akhilerm/fix-kms-rules
remove streaming as a dependency of kms repo
2026-03-14 19:11:35 +05:30
Akhil Mohan
e0ec980b4d remove streaming as a dependency of kms repo
kms does not depend on streaming hence the entry is not needed
in the dependencies in publishing/rules file

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2026-03-14 18:11:57 +05:30
Kubernetes Prow Robot
287bfd2b44 Merge pull request #137621 from Karthik-K-N/consolidate-functions
kubelet: deduplicate CPU conversion helper functions
2026-03-14 15:05:34 +05:30
Antoni Zawodny
d879ee4761 Remove v1alpha1 scheduling API from the API defaulting test 2026-03-14 08:46:57 +01:00
Kubernetes Prow Robot
4c6cbf70b9 Merge pull request #137714 from natasha41575/allow_nri_to_block_resize
[InPlacePodVerticalScaling] Make the hardcoded 'unimplemented' message from CRI a const
2026-03-14 12:11:34 +05:30
Kubernetes Prow Robot
95365ff478 Merge pull request #134768 from KevinTMtz/pod-level-resource-managers-5526
[PodLevelResourceManagers] Pod Level Resource Managers - Alpha
2026-03-14 08:45:35 +05:30
Kubernetes Prow Robot
1817e10998 Merge pull request #136185 from tallclair/ndf-bitmap
Optimize NodeDeclaredFeatures with a bitmap FeatureSet implementation
2026-03-14 06:37:34 +05:30
Sergey Kanzhelev
9aee7c917a wait for container condition to be true before sending the pod update 2026-03-13 23:21:22 +00:00
Prathamesh Bhope
d66ae77959 Promote scheduler metrics to beta 2026-03-13 16:06:42 -07:00
Kubernetes Prow Robot
0ad0cce87e Merge pull request #137078 from saschagrunert/label-unlabeled-e2e-node-tests
Label unlabeled e2e node tests
2026-03-14 04:31:36 +05:30
Kubernetes Prow Robot
4df03ea76e Merge pull request #137550 from KhushAhuja/deflake-resize-cgroup-exec-retry
test/e2e: deflake pod resize cgroup value verification
2026-03-14 03:41:35 +05:30
Omar Sayed
e1b18e34ff snapshot pod group state before scheduling cycle and embed pod group manager into cache 2026-03-13 21:44:17 +00:00