Commit Graph

15367 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
fb033826a8 Merge pull request #128170 from sanposhiho/async-preemption
feature(KEP-4832): asynchronous preemption
2024-11-07 19:44:54 +00:00
Kubernetes Prow Robot
9660e5c4cd Merge pull request #127360 from knight42/feat/split-stdout-stderr-server-side
API: add a new `Stream` field to `PodLogOptions`
2024-11-07 19:44:45 +00:00
Kubernetes Prow Robot
7243fa60e1 Merge pull request #128641 from benluddy/e2e-cbor-client-compat
KEP-4222: Fix JSON fallback for clients using default content-type and add E2E client test.
2024-11-07 18:32:50 +00:00
Kubernetes Prow Robot
af41aa1d9f Merge pull request #128664 from carlory/fix-node
mark the status of fake node as NotReady
2024-11-07 16:10:52 +00:00
Kubernetes Prow Robot
33c64b380a Merge pull request #128646 from pohly/dra-kubelet-separate-beta-api
DRA kubelet: separate beta and alpha gRPC APIs
2024-11-07 14:57:45 +00:00
Ben Luddy
42d3e9752c Add E2E test for CBOR client compatibility with older apiservers.
Clients must be able to use CBOR without a guarantee that all apiservers support it. The apiserver
aggregation layer avoids changing in any way that would require an aggregated apiservers to be
updated. This end-to-end test verifies that a client's content negotiation behaviors continue to
work over time when communicating with a 1.17 sample-apiserver.
2024-11-07 09:22:44 -05:00
carlory
ba70c764c0 mark the status of fake node as NotReady 2024-11-07 21:26:22 +08:00
Lan Liang
6e5a3cde50 Remove PodHostIPs feature gates.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-11-06 23:10:36 -08:00
Patrick Ohly
9261a182bb DRA kubelet: separate beta and alpha gRPC APIs
Reusing types from the alpha in the beta made it possible to provide and use
both versions without conversion. The downside was that removal of the alpha
would have been harder, if not impossible. DRA drivers could continue to
use the alpha types and provided the beta interface automatically.

Now the two versions are completely separate gRPC APIs, although in practice
there are no differences besides the name. Support for the alpha API in kubelet
is provided via automatically generated conversion and manually written
interface wrappers.

Those are provided as part of the v1alpha4 package. The advantage of having all
of that in a central place is that it'll be easier to remove when no longer
needed.
2024-11-07 07:42:40 +01:00
Jian Zeng
1a2c557d44 test: add e2e test
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2024-11-07 13:52:16 +08:00
Kensei Nakada
9756a648b0 fix: move to a new way updating an extended resource 2024-11-07 14:09:35 +09:00
Kensei Nakada
ac5aacc5f6 fix: address reviews on e2e 2024-11-07 14:09:35 +09:00
Kensei Nakada
08e8403e2e feat: add the e2e test for the async preemption 2024-11-07 14:09:34 +09:00
Kubernetes Prow Robot
4c487b00af Merge pull request #128627 from kannon92/revert-128046-ga3960
Revert "Graduate PodLifecycleSleepAction to GA"
2024-11-07 00:25:51 +00:00
Kubernetes Prow Robot
9ba42a54a6 Merge pull request #128521 from carlory/framework-job
improve the code in test/e2e/framework/job/wait.go
2024-11-06 22:07:36 +00:00
Kevin Hannon
350b0d2b93 Revert "Graduate PodLifecycleSleepAction to GA" 2024-11-06 16:29:19 -05:00
Kubernetes Prow Robot
e2bf630940 Merge pull request #128598 from AnishShah/fix-ippr-test
[FG:InPlacePodVerticalScaling] fix InPlacePodVerticalScaling e2e tests
2024-11-06 20:10:48 +00:00
Patrick Ohly
437be1e651 DRA kubelet: rename gRPC server from Node to DRAPlugin in v1beta1
The version bump is an opportunity to pick a name that is a bit more
descriptive. It matches the "DevicePlugin" service name.
2024-11-06 13:03:20 +01:00
Patrick Ohly
ea51d975fc DRA: promote feature gate to beta 2024-11-06 13:03:20 +01:00
Patrick Ohly
33ea278c51 DRA: use v1beta1 API
No code is left which depends on the v1alpha3, except of course the code
implementing that version.
2024-11-06 13:03:19 +01:00
carlory
f78c903537 improve the code in test/e2e/framework/job/wait.go 2024-11-06 18:23:41 +08:00
Patrick Ohly
7b3a9afca3 DRA kubelet: add v1beta1 gRPC API
The v1beta1 API is identical to the previous v1alpha4, which erroneously was
still called "v1alpha3" in a few places, including the gRPC interface
definition itself.

The only reason for v1beta1 is to document the increased maturity of this API.

To simplify the transition, kubelet supports both v1alpha4 and v1beta1, picking
the more recent one automatically. All that DRA driver authors need to do to
implement v1beta1 is to update to the latest
k8s.io/dynamic-resource-allocation/kubeletplugin: it will automatically
register both API versions unless explicitly configured otherwise, which is
mostly just for testing.

DRA driver authors may replace their package import of v1alpha4 with v1beta1,
but they don't have to because the types in both packages are the same.
2024-11-06 11:05:05 +01:00
Kubernetes Prow Robot
833ee8502e Merge pull request #128194 from AnishShah/extended-resource
test: refactor logic to add/remove extended resources
2024-11-06 10:01:37 +00:00
Anish Shah
5dbb793207 test: fix InPlacePodVerticalScaling e2e tests 2024-11-06 07:35:33 +00:00
Kubernetes Prow Robot
648717cc74 Merge pull request #128266 from AnishShah/resize-subresource
[FG:InPlacePodVerticalScaling] Introduce  /resize subresource to request pod resource resizing
2024-11-06 06:59:29 +00:00
Kubernetes Prow Robot
ce81cc70a6 Merge pull request #128403 from carlory/fix-128385
Fix failing test:  PodRejectionStatus Kubelet should reject pod when the node didn't have enough resource
2024-11-06 02:29:36 +00:00
Anish Shah
5b5e4a87c3 apply feedback 2024-11-06 01:33:16 +00:00
Anish Shah
832d7f7dc2 apply feedback 2024-11-06 01:33:15 +00:00
Anish Shah
dc3c4ed559 pod resize support in LimitRanger admission plugin 2024-11-06 01:33:15 +00:00
Anish Shah
1b98fe6079 support for resize subresource in ResourceQuota admission. 2024-11-06 01:33:15 +00:00
Anish Shah
33a3d7578b e2e: Use resize subresource in e2e tests 2024-11-06 01:33:14 +00:00
Anish Shah
6191879999 apply feedback 2024-11-05 17:14:53 -08:00
Kubernetes Prow Robot
f81a68f488 Merge pull request #128377 from tallclair/allocated-status-2
[FG:InPlacePodVerticalScaling] Implement AllocatedResources status changes for Beta
2024-11-05 23:21:49 +00:00
Kubernetes Prow Robot
be7d1000ee Merge pull request #127404 from zylxjtu/master
Windows node graceful shutdown
2024-11-05 23:21:42 +00:00
Kubernetes Prow Robot
246352a43a Merge pull request #126605 from AndrewSirenko/bump-resizer
Fix storage E2E VolumeAttributesClass tests
2024-11-05 23:21:28 +00:00
Kubernetes Prow Robot
175a5b9c46 Merge pull request #128581 from stlaz/ctb_e2e_fix
e2e: ctb: run the tests as Serial for now
2024-11-05 19:16:07 +00:00
zylxjtu
459952a067 Windows node graceful shutdown 2024-11-05 17:46:22 +00:00
Stanislav Láznička
7b3a9db089 e2e: ctb: run the tests as Serial for now 2024-11-05 16:59:08 +01:00
Kubernetes Prow Robot
f64eeb523d Merge pull request #128096 from bart0sh/PR161-e2e_node-consolidate-NFSServer-APIs
e2e_node: consolidated NFSServer APIs.
2024-11-05 00:33:35 +00:00
Kubernetes Prow Robot
9fe41b6198 Merge pull request #128046 from AxeZhan/ga3960
Graduate PodLifecycleSleepAction to GA
2024-11-04 22:09:35 +00:00
Tim Allclair
13ae28bd67 Speed up resize test suite: only test rollback for a subset of cases 2024-11-03 13:02:17 -08:00
Kubernetes Prow Robot
6cb5ea56cb Merge pull request #128484 from carlory/improve-error
improve error message format for WaitForPodSuccessInNamespaceTimeout
2024-11-03 02:19:27 +00:00
Antonio Ojea
2c23db7311 don't panic inside e2e test 2024-11-02 13:51:46 +00:00
Antonio Ojea
e973b05f89 Revert "Don't stop the next poll when it fails to grab logs" 2024-11-02 09:50:11 +01:00
carlory
bd0c5a40f8 Don't stop the next poll when it fails to grab logs 2024-11-02 13:31:36 +08:00
AxeZhan
200a61b6b9 Graduate PodLifecycleSleepAction to GA 2024-11-02 11:05:36 +08:00
Kubernetes Prow Robot
1890157a6c Merge pull request #128490 from dims/remove-incorrect-usage-of-golang.org/x/net/context
Remove incorrect usage of golang.org/x/net/context
2024-11-01 21:09:26 +00:00
Tim Allclair
9d28cc0413 Improve resize test debugability 2024-11-01 14:02:58 -07:00
Tim Allclair
45b1104878 Fix resize E2E tests 2024-11-01 14:02:58 -07:00
Davanum Srinivas
f74d6bc86b Remove incorrect usage of golang.org/x/net/context
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-11-01 09:32:39 -04:00