Commit Graph

134142 Commits

Author SHA1 Message Date
carlory
34700d6605 add Workload permissions to view, edit and admin clusterroles
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-11-24 17:03:00 +08:00
Kubernetes Prow Robot
5bcb759973 Merge pull request #135304 from macsko/fix_failing_sched_perf_tests_on_featuregates
Fix failing scheduler_perf test cases that don't set any feature gate
2025-11-20 10:26:40 -08:00
Kubernetes Prow Robot
0f093c9f49 Merge pull request #134921 from Karthik-K-N/cel-test
Improve CEL Policy Admission test
2025-11-20 10:26:32 -08:00
Kubernetes Release Robot
4cf195304c CHANGELOG: Update directory for v1.35.0-beta.0 release 2025-11-19 16:31:33 +00:00
Karthik Bhat
3e19cc5160 Address review comments 2025-11-19 21:07:28 +05:30
Maciej Skoczeń
04eb121d32 Fix failing scheduler_perf test cases that don't set any feature gate 2025-11-19 10:48:51 +00:00
Kubernetes Prow Robot
54900791c4 Merge pull request #135327 from michaelasp/fix-alpha-api-warnings-134023
Fix alpha API warnings for patch version differences
v1.35.0-beta.0
2025-11-18 20:42:00 -08:00
Akhil Singh
e08c1e4ce3 Fix alpha API warnings for patch version differences
Fixes issue #134023 where alpha API warnings were being logged
when binary version (1.34.1) and emulation version (1.34) differed
only in patch version.

The issue was in api_enablement.go where the version comparison
was using EqualTo() which compares all version components including
patch versions. The fix changes the comparison to only check
major.minor versions using version.MajorMinor().

Changes:
- Modified version comparison logic in ApplyTo() method to only
  compare major.minor versions, not patch versions
- Added comprehensive test cases to verify the fix works correctly
- Tests confirm that warnings are still logged for different
  major/minor versions but not for different patch versions

This prevents spurious warnings when emulation version is set to
major.minor (e.g., 1.34) and binary version includes patch (e.g., 1.34.1).
2025-11-18 16:44:38 +00:00
Kubernetes Prow Robot
8d450ef773 Merge pull request #135305 from saschagrunert/fix-procmount-userns-validation
test/e2e_node: Update procMount test to use Restricted PSA level
2025-11-14 08:31:40 -08:00
Sascha Grunert
a66c025dc9 test/e2e_node: Update procMount test to use Restricted PSA level
Update the procMount test expectations to match the intentional PSA
policy relaxation introduced in commit e8bd3f629d.

As of Kubernetes 1.35+, Pod Security Admission Baseline policy
allows UnmaskedProcMount for pods with user namespaces (hostUsers:
false). This was an intentional change to support nested container
use cases while maintaining security through user namespace isolation.

The test "will fail to unmask proc mounts if not privileged" was
written before this relaxation and expected Baseline level to reject
UnmaskedProcMount. Since Baseline now allows it (for user namespace
pods), the test needs to use Restricted level instead, which
unconditionally blocks UnmaskedProcMount regardless of user namespace
settings.

Changes:
- Change PSA level from Baseline to Restricted
- Update test name to clarify it's testing Restricted level behavior
- Update framework name from "proc-mount-baseline-test" to
  "proc-mount-restricted-test"

Fixes the ci-crio-userns-e2e-serial test failure that started occurring
when runtimes began reporting user namespace support.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-11-14 10:17:54 +01:00
bwsalmon
854e67bb51 KEP 5598: Opportunistic Batching (#135231)
* First version of batching w/out signatures.

* First version of pod signatures.

* Integrate batching with signatures.

* Fix merge conflicts.

* Fixes from self-review.

* Test fixes.

* Fix a bug that limited batches to size 2
Also add some new high-level logging and
simplify the pod affinity signature.

* Re-enable batching on perf tests for now.

* fwk.NewStatus(fwk.Success)

* Review feedback.

* Review feedback.

* Comment fix.

* Two plugin specific unit tests.:

* Add cycle state to the sign call, apply to topo spread.
Also add unit tests for several plugi signature
calls.

* Review feedback.

* Switch to distinct stats for hint and store calls.

* Switch signature from string to []byte

* Revert cyclestate in signs. Update node affinity.
Node affinity now sorts all of the various
nested arrays in the structure. CycleState no
longer in signature; revert to signing fewer
cases for pod spread.

* hack/update-vendor.sh

* Disable signatures when extenders are configured.

* Update pkg/scheduler/framework/runtime/batch.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update staging/src/k8s.io/kube-scheduler/framework/interface.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Review feedback.

* Disable node resource signatures when extended DRA enabled.

* Review feedback.

* Update pkg/scheduler/framework/plugins/imagelocality/image_locality.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update pkg/scheduler/framework/interface.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update pkg/scheduler/framework/plugins/nodedeclaredfeatures/nodedeclaredfeatures.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Update pkg/scheduler/framework/runtime/batch.go

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>

* Review feedback.

* Fixes for review suggestions.

* Add integration tests.

* Linter fixes, test fix.

* Whitespace fix.

* Remove broken test.

* Unschedulable test.

* Remove go.mod changes.

---------

Co-authored-by: Maciej Skoczeń <87243939+macsko@users.noreply.github.com>
2025-11-12 21:51:37 -08:00
Kubernetes Prow Robot
7070977604 Merge pull request #135275 from BenTheElder/fix-selinux
update github.com/opencontainers/selinux to v1.13.0
2025-11-12 20:47:37 -08:00
Kubernetes Prow Robot
8849917973 Merge pull request #135246 from carlory/fix-135239-2
Fix volume performance tests with performance constraints
2025-11-12 18:49:37 -08:00
Kubernetes Prow Robot
c245b40b87 Merge pull request #135254 from saschagrunert/image-volume-containerd-skip
[KEP-4639] Remove image volume e2e test because CI has containerd < 2.1
2025-11-12 07:59:49 -08:00
Kubernetes Prow Robot
9673a7fbf1 Merge pull request #132919 from ndixita/pod-level-in-place-pod-resize
Pod level in place pod resize - alpha
2025-11-12 07:59:41 -08:00
Benjamin Elder
1ce140d105 update github.com/opencontainers/selinux to v1.13.0 2025-11-12 14:46:31 +00:00
Kubernetes Release Robot
f33a6e5a92 CHANGELOG: Update directory for v1.32.10 release 2025-11-12 12:00:59 +00:00
Kubernetes Release Robot
ea83385231 CHANGELOG: Update directory for v1.31.14 release 2025-11-12 11:33:21 +00:00
Kubernetes Release Robot
b6e83d29fc CHANGELOG: Update directory for v1.33.6 release 2025-11-12 09:48:46 +00:00
Kubernetes Release Robot
4b20e5c3fe CHANGELOG: Update directory for v1.34.2 release 2025-11-12 09:26:05 +00:00
Sascha Grunert
71ddb98ae4 Remove image volume e2e test because CI has containerd < 2.1
Remove the e2e test since we switched to beta (enabled by default)
instead of GA. We re-add the test in 1.36.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-11-12 09:31:34 +01:00
ndixita
5ac2ffcc1e Enabling NodeDeclaredFeatures in unit tests
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 08:26:15 +00:00
Praveen Krishna
0e883083bf Add InPlacePodLevelResourcesVerticalScaling declared feature. 2025-11-12 07:22:51 +00:00
ndixita
10b73f8ef9 Test fixes
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 06:21:06 +00:00
ndixita
21920bb37e Test fixes
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 01:18:53 +00:00
Kubernetes Prow Robot
9c915e357f Merge pull request #135228 from aramase/aramase/f/kep_2535_beta
Mark KubeletEnsureSecretPulledImages feature gate as beta
2025-11-11 11:32:55 -08:00
ndixita
0f88a9a17e verioned_feature_list update 2025-11-11 18:19:11 +00:00
ndixita
8920eb9107 Unit test for AddPod with PLR resources
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:19:10 +00:00
Kevin Torres
66248c262c Unit tests for allocation manager 2025-11-11 18:19:10 +00:00
ndixita
1733d8fc8c e2e tests
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:19:09 +00:00
ndixita
edc3b77cf8 Kubelet changes and unit tests
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:19:07 +00:00
ndixita
11ff4efcde Kubelet changes to support IPPR + PodLevelResources
Signed-off-by: ndixita <ndixita@google.com>
2025-11-11 18:17:28 +00:00
ndixita
7645eb70e9 Scheduler changes to support pod level resources in place resize 2025-11-11 18:15:22 +00:00
ndixita
84776abaff Modifying validation logic and pod strategy for PodResize to accommodate for Pod Level Resources resize 2025-11-11 18:15:22 +00:00
ndixita
b8777c3263 Generated files from API changes 2025-11-11 18:15:21 +00:00
ndixita
efc3126b76 Adding Resources and AllocatedResoures fields to the list of expected fields in PodStatus in admission test 2025-11-11 18:15:20 +00:00
ndixita
69c1fd72aa API changes for Pod Level IPPR related PodStatus fields 2025-11-11 18:15:17 +00:00
ndixita
6d30134256 Adding InPlacePodLevelResourcesVerticalScaling feature gate 2025-11-11 18:12:33 +00:00
Stanislav Láznička
d26b44540e move Ensure Secret-Pulled Images feature to beta
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-11-11 11:48:35 -05:00
Stanislav Láznička
805eb885e3 node e2e: add tests for Ensure Secret Image Pulls default policy
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>

Co-authored-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-11-11 11:15:53 -05:00
Kubernetes Prow Robot
462ee14a36 Merge pull request #134345 from yuanwang04/restart-pod
Implement RestartAllContainers
2025-11-11 07:18:56 -08:00
Kubernetes Prow Robot
5a26d2af61 Merge pull request #134932 from marosset/windows-unit-tests-winstats-fixes
Fixing unit test flakes in pkg/kubelet/winstats TestCollectMetricsData
2025-11-10 22:52:54 -08:00
Yuan Wang
0b47a37861 Keep pod in running state and prune past container status from runtime 2025-11-11 06:37:49 +00:00
Kubernetes Prow Robot
266555e880 Merge pull request #135244 from carlory/fix-135239
fix [sig-node] Container Runtime blackbox test when running a container with a new image [Serial] should be able to pull from private registry with secret [NodeConformance]
2025-11-10 20:26:53 -08:00
carlory
2f55207dff Fix volume performance tests with performance constraints
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-11-11 11:37:23 +08:00
carlory
094b1bf018 fix [sig-node] Container Runtime blackbox test when running a container with a new image [Serial] should be able to pull from private registry with secret [NodeConformance] 2025-11-11 10:31:12 +08:00
Kubernetes Prow Robot
cea339fdef Merge pull request #132579 from stlaz/ensure-secret-images-beta
KEP-2535: move objects to beta, add storage version migration to filesystem cache
2025-11-10 18:18:54 -08:00
Stanislav Láznička
bb82225998 ImagePulledRecord API: don't serialize nulls
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-10 22:32:02 +01:00
Stanislav Láznička
99ceb20173 kubelet/image-manager: pulled images records storage version migration
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-10 22:32:01 +01:00
Stanislav Láznička
6fd9878056 kubeletconfig: copy ImagePullIntent, ImagePulledRecord to v1beta1
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-11-10 22:27:14 +01:00