Commit Graph

126212 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3690cb7f9a
Merge pull request #128101 from pohly/dra-api-cel-cost-limit
DRA API: implement CEL cost limit
2024-10-26 20:18:52 +01:00
Kubernetes Prow Robot
25d6f76538
Merge pull request #128337 from torredil/fix-gce-cos-master-serial-5123
Add VolumeAttachment event registration to CSI volume limits plugin
2024-10-26 16:00:52 +01:00
torredil
fe1badf635
Add VolumeAttachment event registration to CSI volume limits plugin
Signed-off-by: torredil <torredil@amazon.com>
2024-10-26 13:41:28 +00:00
Kubernetes Prow Robot
762dda5d2b
Merge pull request #124013 from richabanker/metrics-exemplar
Add histogram exemplar support
2024-10-26 04:08:53 +01:00
Kubernetes Prow Robot
b3cf9c6e5c
Merge pull request #128269 from tallclair/allocated
[FG:InPlacePodVerticalScaling] Rework handling of allocated resources
2024-10-25 23:24:52 +01:00
Richa Banker
d4210832f4 Add histogram exemplar support 2024-10-25 14:57:21 -07:00
Tim Allclair
b186c160ca Clarify eviction based on allocated pods 2024-10-25 13:53:11 -07:00
Tim Allclair
c75a3e717e More precise allocatedPod name usage 2024-10-25 13:32:36 -07:00
Kubernetes Prow Robot
d3fd5940e4
Merge pull request #128333 from AnishShah/eviction-manager
Revert #126562 that is causing eviction tests to fail
2024-10-25 21:22:52 +01:00
Kubernetes Prow Robot
eb10b9b979
Merge pull request #128107 from alaypatel07/kep-4017-integration-tests
[KEP-4017]: update e2e and integration test for PodIndexLabel
2024-10-25 20:18:52 +01:00
Anish Shah
9faab07dda fix lint errors 2024-10-25 11:15:31 -07:00
Kubernetes Prow Robot
e79722d98a
Merge pull request #128318 from soltysh/kubelet_port_forward
Reset streams when an error happens during port-forward (part 1/2)
2024-10-25 18:33:10 +01:00
Kubernetes Prow Robot
119f114f01
Merge pull request #128196 from richabanker/move-version
Move k8s.io/apiserver/pkg/util/version to component-base
2024-10-25 18:33:01 +01:00
Kubernetes Prow Robot
cdf077da6f
Merge pull request #127565 from pohly/dra-structured-all-mode-fix
DRA: structured "all" mode fix
2024-10-25 18:32:53 +01:00
Tim Allclair
40595bd94b Fix FakeStatusManager SetPodAllocation 2024-10-25 09:51:42 -07:00
Kubernetes Prow Robot
1947bf57ef
Merge pull request #127898 from modulitos/modulitos/fix-metrics-docs
Fix docs for apiserver admission metrics
2024-10-25 17:27:05 +01:00
Kubernetes Prow Robot
aec2ea1877
Merge pull request #124609 from AxeZhan/refac
Move some helper functions from api/v1 to component-helpers
2024-10-25 17:26:52 +01:00
Alay Patel
0aa065ab7e update e2e and integration test for PodIndexLabel
Signed-off-by: Alay Patel <alayp@nvidia.com>
2024-10-25 12:17:19 -04:00
Kubernetes Prow Robot
ed67bd77a8
Merge pull request #128336 from soltysh/cronjob_timestamp_stable
Promote job creation timestamp annotation to stable
2024-10-25 16:14:52 +01:00
Maciej Szulik
db94009981
Promote job creation timestamp annotation to stable
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-10-25 16:09:54 +02:00
Kubernetes Prow Robot
b95484e330
Merge pull request #128214 from googs1025/chore/printers/ut
chore(printers): add unit test coverage for printers part
2024-10-25 13:46:53 +01:00
Maciej Szulik
aa11f2461f
Reset streams when an error happens during port-forward
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-10-25 13:43:58 +02:00
Kubernetes Prow Robot
8b063a6a08
Merge pull request #128331 from ArangoGutierrez/devel/driverresources.deepcopy
DRA: generate deepcopy for DriverResources
2024-10-25 12:42:52 +01:00
Carlos Eduardo Arango Gutierrez
32214631eb
DRA: generate deepcopy for DriverResources
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-10-25 11:43:34 +02:00
Anish Shah
ac82e8a005 Revert "Fix issue in split filesystem where layers are stored on same disk but different paths"
This reverts commit aea0b90652.
2024-10-25 02:09:55 -07:00
Kubernetes Prow Robot
d9b95ea94f
Merge pull request #128259 from dinhxuanvu/conversion-build-tag
Restore build-tag for conversion and defaulter gen
2024-10-25 08:28:53 +01:00
AxeZhan
2ffb568540 rename functions 2024-10-25 12:53:24 +08:00
AxeZhan
9fe847482d move functions 2024-10-25 10:45:28 +08:00
Kubernetes Prow Robot
68f63471a7
Merge pull request #128322 from benluddy/cbor-storage-wiring
KEP-4222: Wire CBOR CR storage behind test-only feature gate.
2024-10-25 03:32:51 +01:00
Richa Banker
9274a584b8 Split k8s.io/component-base/registry and add into k8s.io/component-base/version and k8s.io/component-base/featuregate 2024-10-24 19:09:30 -07:00
Ben Luddy
950ed807c3
Wire CBOR CR storage behind test-only feature gate. 2024-10-24 21:29:40 -04:00
Kubernetes Prow Robot
5147eebf22
Merge pull request #128243 from benluddy/cbor-dynamic-integration
KEP-4222: Add CBOR variant of admission webhook integration test.
2024-10-25 01:04:53 +01:00
Tim Allclair
7166169c82 Tidy up handlePodResize 2024-10-24 16:35:28 -07:00
Tim Allclair
34cf754fe9 Pass allocatedPods to canAdmitPod 2024-10-24 16:31:49 -07:00
Tim Allclair
d1f1bf200c Add more comments 2024-10-24 15:51:19 -07:00
Kubernetes Prow Robot
66da447e14
Merge pull request #128317 from Jefftree/revert-componentsli-feature
Set ComponentSLIs feature as GA
2024-10-24 22:42:51 +01:00
Kubernetes Prow Robot
b7a85a9db3
Merge pull request #128262 from dom4ha/scheduler-perf
Tune PreemptionAsync and Unschedulable tests threshold and params.
2024-10-24 21:24:52 +01:00
Ben Luddy
77401d7073
Add CBOR variant of admission webhook integration test.
The existing admission webhook integration test provides good coverage of serving built-in resources
and custom resources, including subresources. Serialization concerns, including roundtrippability,
of built-in types have existing test coverage; the CBOR variant of the admission webhook integration
test additionally exercises client and server codec wiring.
2024-10-24 13:27:39 -04:00
Ben Luddy
3e1b6aaf41
Export meta internal version scheme for testing.
Codecs is already exported, but in order for tests to construct an alternate CodecFactory for meta's
internal version types, they either need to be able to reference the scheme or to construct a
parallel scheme, and a parallel scheme construction risks going out of sync with the way the
package-scoped scheme object is initialized.
2024-10-24 13:27:39 -04:00
Ben Luddy
ea13190d8b
Add test-only client feature gates for CBOR.
As with the apiserver feature gate for CBOR as a serving and storage encoding, the client feature
gates for CBOR are being initially added through a test-only feature gate instance that is not wired
to environment variables or to command-line flags and is intended only to be enabled
programmatically from integration tests. The test-only instance will be removed as part of alpha
graduation and replaced by conventional client feature gating.
2024-10-24 13:27:39 -04:00
Ben Luddy
0cad1a89b6
Wire test-only feature gate for CBOR serving.
To mitigate the risk of introducing a new protocol, integration tests for CBOR will be written using
a test-only feature gate instance that is not wired to runtime options. On alpha graduation, the
test-only feature gate instance will be replaced by a normal feature gate in the existing apiserver
feature gate instance.
2024-10-24 13:27:36 -04:00
Kubernetes Prow Robot
7b7a7968d4
Merge pull request #125314 from enj/enj/i/proto_for_core
Use protobuf for core clients
2024-10-24 18:20:54 +01:00
Ben Luddy
d638d64572
Add CBOR serializer option to disable JSON transcoding of raw types. 2024-10-24 12:30:19 -04:00
Ben Luddy
db1239d354
Add WithSerializer option to add serializers to CodecFactory. 2024-10-24 12:30:19 -04:00
Ben Luddy
66a14268c5
Use runtime.SerializerInfo in place of internal "serializerType".
CodecFactory construction uses an unexported struct type named "serializerType" to hold serializer
definitions. There are few differences between it and runtime.SerializerInfo, and they do not appear
to be used anymore. For example, serializerType includes an unused FileExtensions field, and has
distinct ContentType (singular) and AcceptContentTypes (plural) fields instead of
runtime.SerializeInfo's singular MediaType. All remaining uses of serializerType set
AcceptContentTypes to a single-entry slice whose element is equal to its ContentType field.

During construction of a CodecFactory, all serializerType values were already being mechanically
translated into runtime.SerializerInfo values.

Moving to an exported type for serializer definitions makes it easier to expose an option to allow
callers to register their own serializer definitions, which in turn makes it possible to
conditionally include new serializers at runtime (especially behind feature gates).
2024-10-24 12:30:19 -04:00
Tim Allclair
321eff34f7 Rework allocated resources handling 2024-10-24 09:27:40 -07:00
Kubernetes Prow Robot
fc9330eb65
Merge pull request #128311 from huww98/mount-warn
mount-utils: fix warning message of fs mismatch
2024-10-24 17:15:04 +01:00
Kubernetes Prow Robot
0f549a9286
Merge pull request #128213 from aaron-prindle/fix-127336
chore: remove sig/api-machinery from OWNERS files that sig/etcd owns
2024-10-24 17:14:53 +01:00
googs1025
e854086d74 chore(printers): add unit test coverage for printers part 2024-10-24 22:43:55 +08:00
Kubernetes Prow Robot
721d66780b
Merge pull request #128305 from adrianmoisey/cidr_release_on_node_delete
Ensure that a node's CIDR isn't released until the node is deleted
2024-10-24 15:21:05 +01:00