Commit Graph

131651 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ff657e166b Merge pull request #133159 from ylink-lfs/chore/ptrto_migration
chore: ptrTo util removal with ptr.To
2025-07-23 22:52:39 -07:00
Kubernetes Prow Robot
df696c3189 Merge pull request #132657 from danwinship/drop-bfr
Drop BoundedFrequencyRunner from pkg/util/async
2025-07-23 22:52:32 -07:00
Kubernetes Prow Robot
01c5535387 Merge pull request #133085 from ritazh/DRAAdminAccess_beta
DRAAdminAccess: move to beta
2025-07-23 21:44:34 -07:00
Simran Kaur
c7d6c09683 List available endpoints for kube-apiserver (#132581)
Fix tests and formatting

Use ListedPaths for finding useful endpoints

Fix maps import

Update dependencies

Fix lint

Add option to pass listedpaths

Remove apiserver component check

Install statuz in genericapiserver

Register zpagesfeatures

Fix import order

Avoid adding non-debugging endpoints

Fix tests

Fix tests

fix tests

Sort paths

Sort in-place

Copy paths before sorting

Fix string initialization

Move sorting to later stage

Fix imports
2025-07-23 21:44:27 -07:00
Kubernetes Prow Robot
84df53a2a2 Merge pull request #133150 from rzlink/windsr
Remove Unit Test for WinDSR Feature Gate
2025-07-23 19:57:02 -07:00
Kubernetes Prow Robot
051dd70772 Merge pull request #133149 from ritazh/draadminaccess-test
draadminaccess test make it serial
2025-07-23 19:56:55 -07:00
Kubernetes Prow Robot
48f9786332 Merge pull request #133146 from liggitt/debug-flake
Add flake debugging for admission test
2025-07-23 19:56:47 -07:00
Kubernetes Prow Robot
dd6fa8bafd Merge pull request #133129 from ffromani/podres-get-add-tests
node: podresources: improve test coverage for the `Get` endpoint
2025-07-23 19:56:40 -07:00
Kubernetes Prow Robot
9adc49ffd4 Merge pull request #133046 from toVersus/reject-windows-in-api-server
[PodLevelResources] Add validation for Windows OS
2025-07-23 19:56:33 -07:00
Kubernetes Prow Robot
6ad14ad876 Merge pull request #132991 from danwinship/endpoints-e2e-updates
Endpoints e2e updates for KEP-4974
2025-07-23 19:56:26 -07:00
ylink-lfs
5f4a1aa58c chore: ptrTo util removal with ptr.To 2025-07-24 09:11:09 +08:00
Kubernetes Prow Robot
ca569e152d Merge pull request #132700 from pohly/dra-kubelet-grpc-v1
DRA kubelet: add v1 gRPC
2025-07-23 17:36:26 -07:00
Kubernetes Prow Robot
6ef2215eb7 Merge pull request #132558 from HirazawaUi/Implement-4762
KEP-4762: Allows setting any FQDN as the pod's hostname
2025-07-23 16:26:27 -07:00
Kubernetes Prow Robot
49cd87182c Merge pull request #125271 from tssurya/psa-probe-lifecycle-handler-host-option
Add PSA for blocking `.host` on pod probes
2025-07-23 15:16:27 -07:00
Kubernetes Prow Robot
d195722623 Merge pull request #132121 from atiratree/rs-minReadySeconds
schedule pod availability checks at the correct time in ReplicaSets
2025-07-23 14:04:28 -07:00
Kubernetes Prow Robot
041974709c Merge pull request #132106 from AndrewSirenko/vac-valid
[KEP-3751] Allow PVC VACName to go from non-nil to nil
2025-07-23 12:52:30 -07:00
Surya Seetharaman
4c87e60d0d Tests using .host field in probes must be at priviledged level
The sig-node tests have scenarios of doing probes and
lifecycle handler tests with post-start and pre-stop hooks
setting the host field to be another pod.

In baseline level such things won't be allowed because of
the PSA rules we are adding in this PR. So unsetting
the host field means it uses the podIP of self for doing
the checks and using that in the pre-stop and post-start
hooks is tricky because of the timing issues with when the
container is actually up v/s running the test.

So I have changed the tests to be privileded for them to
use the .host fields if they desire to.

See https://github.com/kubernetes/kubernetes/issues/133091
which is an issue opened to properly refactor these tests.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2025-07-23 21:17:05 +02:00
Surya Seetharaman
f94fcac868 Add new fixture testData for 1.34 PSA
This commit adds the fixture tests for the
new .host field restrictions on probe
and lifecycle handlers.

ran UPDATE_POD_SECURITY_FIXTURE_DATA=true go test -v ./test/... -run TestFixtures

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2025-07-23 21:15:46 +02:00
Surya Seetharaman
fc0474d771 Copy test fixtures to 1.34 from 1.32
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2025-07-23 21:15:46 +02:00
Surya Seetharaman
9540a96396 Copy test fixtures to 1.33 from 1.32
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2025-07-23 21:15:46 +02:00
Surya Seetharaman
4a3ebf886c update the minimal version to fix unit/fixture tests
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2025-07-23 21:15:46 +02:00
Surya Seetharaman
333b19b441 Add PSA for blocking .host field on pod probes and lifecycle
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2025-07-23 21:15:45 +02:00
Kubernetes Prow Robot
6d99828b80 Merge pull request #133127 from bart0sh/PR184-DRA-skip-flaky-test-on-Windows
DRA: skip flaky test case on Windows
2025-07-23 11:42:27 -07:00
Jordan Liggitt
c7bf3b81f6 Add flake debugging for admission test 2025-07-23 13:51:18 -04:00
Dawei Wei
a806e069e2 Remove WinDSR feature gate unit test 2025-07-23 17:40:53 +00:00
Kubernetes Prow Robot
1cead78757 Merge pull request #133147 from pohly/dra-allocator-experimental
DRA: Add experimental allocator variant
2025-07-23 10:30:35 -07:00
Kubernetes Prow Robot
c41cc0a144 Merge pull request #129837 from danwinship/aggregated-apiserver-endpointslices
Port aggregated apiserver discovery to EndpointSlices
2025-07-23 10:30:28 -07:00
Dan Winship
765d84e9bf Test only EndpointSlices, not Endpoints, in dual-stack e2e tests
The dual-stack integration tests already validate that we get the
expected Endpoints for single- and dual-stack Services. There is no
further "end to end" testing needed for Endpoints, given that
everything in a normal cluster would look at EndpointSlices, not
Endpoints.
2025-07-23 13:19:07 -04:00
Filip Křepinský
2cb48f77f0 schedule pod availability checks at the correct time in ReplicaSets 2025-07-23 18:58:57 +02:00
Kubernetes Prow Robot
7383971ab3 Merge pull request #133145 from ffromani/podres-dynamic-resources-enable-test
e2e: node: podresources: exercise with dynamicresources enabled
2025-07-23 09:22:34 -07:00
Kubernetes Prow Robot
e979287f29 Merge pull request #133117 from Phaow/bump-external-snapshotter
Bump external snapshotter for vgs tests
2025-07-23 09:22:27 -07:00
Rita Zhang
61cc6cf807 draadminaccess test make it serial
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2025-07-23 09:13:13 -07:00
Dan Winship
33b45c8383 Update "should proxy through a service and a pod" to look at EndpointSlices 2025-07-23 11:07:29 -04:00
Dan Winship
d70e7e223c Port aggregated apiserver discovery to EndpointSlices
Co-Authored-by: Jordan Liggitt <liggitt@google.com>
2025-07-23 11:07:29 -04:00
Dan Winship
41dc2d3b02 Add utilities for getting EndpointSlices for a Service
Co-Authored-by: Jordan Liggitt <liggitt@google.com>
2025-07-23 11:07:28 -04:00
Drew Sirenko
f7109ed281 [KEP-3751] Allow PVC VACName to update to nil or empty when status.currentVAC is nil 2025-07-23 10:59:18 -04:00
HirazawaUi
c35e4ad2b2 add codes for drop disabled pod fields 2025-07-23 22:57:12 +08:00
HirazawaUi
8d65e1e98e Add e2e tests. 2025-07-23 22:57:11 +08:00
HirazawaUi
f31aeca425 Add code for overriding hostnames 2025-07-23 22:57:11 +08:00
HirazawaUi
88b7621434 Add validation for the HostnameOverride field. 2025-07-23 22:57:08 +08:00
Morten Torkildsen
abb1b26d50 DRA: Add experimental allocator variant 2025-07-23 16:50:23 +02:00
Kubernetes Prow Robot
49af85d86a Merge pull request #133110 from ritazh/DRAAdminAccess_upgradedowngradetest
DRAAdminAccess: add upgrade downgrade test
2025-07-23 07:08:28 -07:00
Francesco Romani
17cc5e9ecd e2e: node: podresources: exercise with dynamicresources enabled
Differently than all the other tests, the testsuite
`TestListPodResourcesUsesOnlyActivePodsV1` did not enable
the `KubeletPodResourcesDynamicResources` FG.

This was just an oversight, because the test doesn't care
about the DynamicResources data, so the enablement was forgot.

We add the setting to make the tests consistent.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-07-23 15:38:34 +02:00
HirazawaUi
af6c97bd14 add Feature Gate. 2025-07-23 20:28:13 +08:00
HirazawaUi
8b3814c4ab Add the HostnameOverride field to the Pod API 2025-07-23 20:28:12 +08:00
Kubernetes Prow Robot
9148694d4b Merge pull request #133140 from KobayashiD27/fix-integ-dra-testFilterTimeout
DRA Updated to not directly change the global variable `claim`
2025-07-23 04:58:33 -07:00
Kubernetes Prow Robot
0d5921171a Merge pull request #133105 from togettoyou/scheduler_perf_132495
KEP-5229: Run Unschedulable scheduler_perf test case with SchedulerAsyncAPICalls feature gate enabled
2025-07-23 04:58:27 -07:00
Kubernetes Prow Robot
00e3c2b27c Merge pull request #133141 from pohly/dra-e2e-cleanup
DRA E2E cleanup
2025-07-23 02:50:27 -07:00
Ed Bartosh
c2a06e7912 DRA: skip flaky test case on Windows
Added a skipOnWindows flag to DynamicResources scheduler test case
to skip test that relies on nanosecond timer precision.
Windows timer granularity is much coarser than Linux, which causes
the test to fail often.
2025-07-23 11:06:11 +03:00
Kubernetes Prow Robot
6e8cc32c51 Merge pull request #132970 from wongchar/grad-uncore-beta
cpumanager: graduate prefer-align-cpus-by-uncorecache to beta
2025-07-23 01:00:28 -07:00