Commit Graph

53361 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a11bc701e8 Merge pull request #132457 from ania-borowiec/depends_on_cluster_move_podinfo
Moving Scheduler interfaces to staging: Move PodInfo and NodeInfo interfaces (together with related types) to staging repo, leaving internal implementation in kubernetes/kubernetes/pkg/scheduler
2025-07-24 09:38:27 -07:00
Ania Borowiec
aecd37e6fb Moving Scheduler interfaces to staging: Move PodInfo and NodeInfo interfaces (together with related types) to staging repo, leaving internal implementation in kubernetes/kubernetes/pkg/scheduler 2025-07-24 12:10:58 +00:00
Kubernetes Prow Robot
89a01ec72a Merge pull request #133019 from pohly/dra-scheduler-plugin-owners
DRA scheduler plugin: add pohly as approver
2025-07-24 03:42:33 -07:00
Kubernetes Prow Robot
254a46943a Merge pull request #132706 from pohly/dra-api-v1
DRA API: graduation to GA
2025-07-24 03:42:26 -07:00
Kubernetes Prow Robot
3ba0c944b1 Merge pull request #133119 from bart0sh/PR184-kubelet-DRA-fix-setupFakeGRPCServer
kubelet: DRA: Handle grpc.ErrServerStopped in plugin tests
2025-07-24 02:10:27 -07:00
Patrick Ohly
b768c1d1d5 DRA API: bump storage version to v1beta2
This avoids the overhead for the more complex conversion to v1beta1 and might
make it a bit more realistic to get rid of the v1beta1 eventually.

The expected GVK must be set explicitly because when emulating 1.33,
v1beta1 is the default although the fixed storage version is v1beta2.
2025-07-24 08:33:56 +02:00
Patrick Ohly
24de875ceb DRA: graduate DynamicResourceAllocation feature to GA
It hasn't been on-by-default before, therefore it does not get locked to the
new default on yet. This has some impact on the scheduler configuration
because the plugin is now enabled by default.

Because the feature is now GA, it doesn't need to be a label on E2E tests,
which wouldn't be possible anyway once it gets removed entirely.
2025-07-24 08:33:56 +02:00
Patrick Ohly
5c4f81743c DRA: use v1 API
As before when adding v1beta2, DRA drivers built using the
k8s.io/dynamic-resource-allocation helper packages remain compatible with all
Kubernetes release >= 1.32. The helper code picks whatever API version is
enabled from v1beta1/v1beta2/v1.

However, the control plane now depends on v1, so a cluster configuration where
only v1beta1 or v1beta2 are enabled without the v1 won't work.
2025-07-24 08:33:45 +02:00
Patrick Ohly
cff91579e8 DRA API: v1 registration + tests 2025-07-24 08:30:25 +02:00
Patrick Ohly
4e592f6c14 DRA API: s/v1beta2/v1/ and generated files 2025-07-24 08:30:24 +02:00
Patrick Ohly
1f2f433f76 DRA API: verbatim copy v1beta2 -> v1 2025-07-24 08:30:24 +02: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
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
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
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
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
Dawei Wei
a806e069e2 Remove WinDSR feature gate unit test 2025-07-23 17:40:53 +00: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
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
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
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
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
Ed Bartosh
21ed19798e kubelet: DRA: Handle grpc.ErrServerStopped in plugin tests
Update setupFakeGRPCServer to ignore grpc.ErrServerStopped when serving
the gRPC test server. This prevents unnecessary panics during server
shutdown and ensures clean test teardown. The change improves test
stability by allowing expected server stop errors to be handled gracefully.
2025-07-23 09:58:14 +03:00
Kubernetes Prow Robot
3e3f43f4b8 Merge pull request #132537 from lalitc375/hpa-validation
add validation logic for APIVersion fields of HPA
2025-07-22 19:04:27 -07:00
Kubernetes Prow Robot
c5ffd67cd2 Merge pull request #133130 from ylink-lfs/chore/residual_boolptr_removal
chore: residual boolptr and intptr removal with ptr.To
2025-07-22 17:56:33 -07:00
Tsubasa Nagasawa
88af8b6060 Add PodLevelResources to the Windows OS limitations in the API doc 2025-07-23 07:08:21 +09:00
Anna Song
c2b26617be Check OS for PodLevelResources in kubelet
Reject pods with PodLevelResources running on Windows nodes
at kubelet admission phase
2025-07-23 07:08:21 +09:00
Anna Song
e2c308aff9 Check OS for PodLevelResources in API server
Reject Pod with PodLevelResources in spec if Pod targets Windows OS.
2025-07-23 07:08:14 +09:00
Kubernetes Prow Robot
3e211097c7 Merge pull request #132810 from PatrickLaabs/132790-2
chore: removing redundant type conversion
2025-07-22 15:06:26 -07:00
Kubernetes Prow Robot
aee92cd6c3 Merge pull request #132968 from wongchar/uncore-e2e-beta
cpumanager: expand test coverage for prefer-align-cpus-by-uncore-cache
2025-07-22 13:40:50 -07:00
Lalit Chauhan
f6aee63690 add validation logic for APIVersion fields of HPA
New validation logic follows the API ratcheting principle,  will not be executed for already stored invalid if the corresponding fields or item in array is not modified. Please enter the commit message for your changes. Lines starting
2025-07-22 20:40:48 +00:00
Bing Hongtao
6f3b6b91f0 KEP-3721: Support for env files (#132626)
* Add FileKeyRef field and struct to the Pod API

* Add the implementation code in the kubelet.

* Add validation code

* Add basic functionality e2e tests

* add codes for drop disabled pod fields

* update go.mod
2025-07-22 13:40:42 -07:00
Kubernetes Prow Robot
08362f0650 Merge pull request #132429 from torredil/kep4876-beta
Promote sig-storage feature `MutableCSINodeAllocatableCount` to Beta
2025-07-22 13:40:34 -07:00
Kubernetes Prow Robot
c1136abd3b Merge pull request #132354 from toVersus/test/plr-scheduler-metrics
[PodLevelResources] Verify scheduler resource metrics account for Pod Level Resources
2025-07-22 13:40:27 -07:00
Kubernetes Prow Robot
7bf8066a58 Merge pull request #133042 from rzlink/winoverlay
[KEP-5100] WinOverlay feature gate to GA
2025-07-22 12:32:27 -07:00
Kubernetes Prow Robot
52bc7515ca Merge pull request #132108 from rzlink/windsr
[KEP-5100] WinDSR feature gate to GA
2025-07-22 11:04:33 -07:00
Kubernetes Prow Robot
19378aa8e5 Merge pull request #131864 from stlaz/ensure-secret-images-benchmark
Benchmarks for node image access multitenancy
2025-07-22 11:04:26 -07:00
ylink-lfs
b070b0a5c5 chore: residual boolptr and intptr removal 2025-07-23 00:57:50 +08:00