Commit Graph

123465 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
437f6e92ec
Merge pull request #125641 from nirs/sample-cli-plugin-help
Sample cli plugin help
2024-06-26 10:59:02 -07:00
Kubernetes Prow Robot
b29dce0757
Merge pull request #125627 from yt-huang/clean-up
drop deprecated PollWithContext and adopt PollUntilContextTimeout ins…
2024-06-26 10:58:55 -07:00
Kubernetes Prow Robot
e57f8ad80b
Merge pull request #125439 from Octopusjust/k8s-pr22
pkg/printers: drop deprecated pointer package
2024-06-26 10:58:48 -07:00
Kubernetes Prow Robot
44c1a0eec2
Merge pull request #124667 from linxiulei/trim
controlplane/apiserver: Trim managedFields off self-requested informers
2024-06-26 08:10:20 -07:00
Kubernetes Prow Robot
66126bbdc6
Merge pull request #125721 from p0lyn0mial/upstream-cacher-tests-decrease-time
apiserver/storage: decrease running time of RunWatchSemantics
2024-06-26 06:28:28 -07:00
Kubernetes Prow Robot
7996836cce
Merge pull request #125717 from cpanato/update-rules
update publishing rules to use go1.22.4 for all branches
2024-06-26 06:28:21 -07:00
Kubernetes Prow Robot
4b2fafc75e
Merge pull request #125722 from serathius/remove-5s
Remove 5 seconds from TestWatchStreamSeparation execution by reusing etcdserver
2024-06-26 03:34:20 -07:00
Marek Siarkowicz
1c111c603e Remove 5 seconds from TestWatchStreamSeparation execution by reusing etcdserver 2024-06-26 11:32:57 +02:00
Lukasz Szaszkiewicz
c6ef512b5b apiserver/storage: decrease running time of RunWatchSemantics 2024-06-26 10:50:42 +02:00
Kubernetes Prow Robot
084d6c4968
Merge pull request #125699 from pohly/scheduler-framework-logging
scheduler: fix klog.KObjSlice when applied to []*NodeInfo
2024-06-26 01:50:23 -07:00
Kubernetes Prow Robot
e07314860c
Merge pull request #125713 from pacoxu/revert-125405-upstream-consistent-read-from-cache-supports-pagination
Revert "apiserver/storage/cacher: consistent read from cache supports limit"
2024-06-26 00:02:29 -07:00
Kubernetes Prow Robot
01f9712c6f
Merge pull request #125419 from benluddy/cbor-byteslice-base64
KEP-4222: Enable JSON-compatible base64 encoding of []byte for CBOR.
2024-06-26 00:02:22 -07:00
cpanato
0880712970
update publishing rules to use go1.22.4 for all branches
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-06-26 08:56:45 +02:00
Patrick Ohly
719a49cc13 scheduler: fix klog.KObjSlice when applied to []*NodeInfo
The DRA plugin does that. It didn't actually work and only printed an error
message about NodeInfo not implementing klog.KMetata. That's not a compile-time
check due to limitations with Go generics and had been missed earlier.
2024-06-26 08:11:31 +02:00
Patrick Ohly
fc55fecd45 ktesting: support capturing log output
This is a feature of the underlying k8s.io/klog/v2/ktesting which is
useful also when using the Kubernetes ktesting.
2024-06-26 08:11:31 +02:00
Kubernetes Prow Robot
10e3ec8975
Merge pull request #125706 from jpbetz/fix-fixture-test
Remove test dependency on swagger.json to fix client-go tests
2024-06-25 21:56:27 -07:00
Kubernetes Prow Robot
fb0195df11
Merge pull request #123428 from atiratree/UnhealthyPodEvictionPolicy-GA
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-25 21:56:20 -07:00
Paco Xu
df17ea2e37
Revert "apiserver/storage/cacher: consistent read from cache supports limit" 2024-06-26 11:51:12 +08:00
Kubernetes Prow Robot
c6fd466fb4
Merge pull request #125703 from sbueringer/pr-fix-message-expression-evaluation
Validate CRD stored messageExpressions with the correct CEL environment
2024-06-25 20:04:54 -07:00
Kubernetes Prow Robot
7a6062f4c1
Merge pull request #122891 from siyuanfoundation/api-comp-ver1
apimachinery: API Emulation Versioning
2024-06-25 20:04:48 -07:00
Ben Luddy
38f87df0e3
Enable JSON-compatible base64 encoding of []byte for CBOR.
The encoding/json package marshals []byte to a JSON string containing the base64 encoding of the
input slice's bytes, and unmarshals JSON strings to []byte by assuming the JSON string contains a
valid base64 text.

As a binary format, CBOR is capable of representing arbitrary byte sequences without converting them
to a text encoding, but it also needs to interoperate with the existing JSON serializer. It does
this using the "expected later encoding" tags defined in RFC 8949, which indicate a specific text
encoding to be used when interoperating with text-based protocols. The actual conversion to or from
a text encoding is deferred until necessary, so no conversion is performed during roundtrips of
[]byte to CBOR.
2024-06-25 21:05:26 -04:00
Kubernetes Prow Robot
85ede67ac9
Merge pull request #125681 from aojea/netpol_3
bump kube-network-policies to v0.3.0
2024-06-25 16:47:33 -07:00
Kubernetes Prow Robot
f848e4df7b
Merge pull request #125679 from dims/add-sig/etcd-labels-for-related-directories
Add sig/etcd labels for related directories
2024-06-25 16:47:26 -07:00
Kubernetes Prow Robot
d48a3036be
Merge pull request #125537 from seans3/rc-fallback-log
Adds logging during remote command executor fallback
2024-06-25 16:47:20 -07:00
Kubernetes Prow Robot
727fe1671b
Merge pull request #125421 from benluddy/cbor-simple-values
KEP-4222: Reject CBOR simple values other than true, false, and null.
2024-06-25 16:47:10 -07:00
Siyuan Zhang
379676c4be add DefaultComponentGlobalsRegistry flags in ServerRunOptions
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-25 22:12:11 +00:00
Siyuan Zhang
4352c4ad27 Add version mapping in ComponentGlobalsRegistry.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-25 22:12:11 +00:00
Siyuan Zhang
701e5fc374 Add composition flags for emulation version and feature gate.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-25 22:12:11 +00:00
Siyuan Zhang
403301bfdf apiserver: Add API emulation versioning.
Co-authored-by: Siyuan Zhang <sizhang@google.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
Co-authored-by: Alex Zielenski <zielenski@google.com>

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-25 22:12:11 +00:00
Kubernetes Prow Robot
d0579b6f9c
Merge pull request #125683 from likakuli/fix-benchmarkupdatesnapshot
clean: add nodeinfo to cache
2024-06-25 14:18:39 -07:00
Kubernetes Prow Robot
beb48b7f5d
Merge pull request #125669 from benluddy/cbor-bump-v2.7.0
KEP-4222: Bump github.com/fxamacker/cbor/v2 to v2.7.0.
2024-06-25 14:18:33 -07:00
Kubernetes Prow Robot
c2fc33869f
Merge pull request #125667 from p0lyn0mial/upstream-watchlist-off-when-progress-notification-disabled
cacher: returns an error when watch list was requested and storage.RequestWatchProgress is disabled
2024-06-25 14:18:26 -07:00
Kubernetes Prow Robot
59673f0f37
Merge pull request #125578 from nayihz/fix_sche_queue_update
skip update pod that exist in scheduling cycle
2024-06-25 14:18:19 -07:00
Kubernetes Prow Robot
2200f5ef1b
Merge pull request #125446 from AkihiroSuda/rro-e2e-remove-withserial
e2e_node/mount_rro_linux_test.go: remove unneeded WithSerial
2024-06-25 14:18:12 -07:00
Kubernetes Prow Robot
d198961730
Merge pull request #125418 from benluddy/cbor-byte-array-to-array
KEP-4222: Encode byte array to CBOR as array of integer, not byte string.
2024-06-25 14:18:05 -07:00
Kubernetes Prow Robot
0913b90809
Merge pull request #125402 from iholder101/swap/skip-e2e-test-if-no-swap
[KEP-2400]: Swap e2e tests: skip swap stress tests if swap is not provisioned
2024-06-25 14:17:58 -07:00
Kubernetes Prow Robot
34dd2007cb
Merge pull request #125263 from jpbetz/fix-nop-apply
Fix check to ignore non-semantic changes to objects to handle unstructured
2024-06-25 14:17:51 -07:00
Kubernetes Prow Robot
8c478a06d8
Merge pull request #124595 from pohly/dra-scheduler-assume-cache-eventhandlers
DRA: scheduler event handlers via assume cache
2024-06-25 11:56:28 -07:00
Joe Betz
1095af88e7 Remove test dependency on swwagger.json to fix client-go repo 2024-06-25 13:31:03 -04:00
Stefan Bueringer
d081fd56a2
Validate stored messageExpressions with the correct CEL environment
Signed-off-by: Stefan Büringer buringerst@vmware.com
2024-06-25 18:37:34 +02:00
Kubernetes Prow Robot
8b72795621
Merge pull request #125536 from this-is-yaash/documentation-enhance
enhanced the docker build documentation for readability and clarity
2024-06-25 08:26:08 -07:00
Kubernetes Prow Robot
9d9b6fb876
Merge pull request #125261 from bart0sh/PR145-DevicePluginCDIDevices-update-GA-milestone
features: update milestone for DevicePluginCDIDevices
2024-06-25 08:25:59 -07:00
Ben Luddy
dbe4c093d9
Bump github.com/fxamacker/cbor/v2 to v2.7.0. 2024-06-25 10:07:40 -04:00
likakuli
ea6ca270b5 clean: add nodeinfo to cache
Signed-off-by: likakuli <1154584512@qq.com>
2024-06-25 21:29:05 +08:00
Kubernetes Prow Robot
a95f636e92
Merge pull request #125693 from neolit123/1.31-remove-chendave
e2e_kubeadm: move chendave to emeritus
2024-06-25 06:09:41 -07:00
Patrick Ohly
1b63639d31 DRA scheduler: use assume cache to list claims
This finishes the transition to the assume cache as source of truth for the
current set of claims.

The tests have to be adapted. It's not enough anymore to directly put objects
into the informer store because that doesn't change the assume cache
content. Instead, normal Create/Update calls and waiting for the cache update
are needed.
2024-06-25 14:00:25 +02:00
Patrick Ohly
9a6f3b9388 scheduler: central ResourceClaim assume cache
This enables connecting the event handler for ResourceClaim to the assume
cache, which addresses a theoretic race condition.

It may also be useful for implementing the autoscaler support, because now
the autoscaler can modify the content of the cache.
2024-06-25 14:00:25 +02:00
Patrick Ohly
dea16757ef scheduler: AddEventHandler for assume cache
This enables using the assume cache for cluster events.
2024-06-25 14:00:25 +02:00
Patrick Ohly
171620765e ktesting: add Step
Step simplifies using WithStep because it creates a local scope where the same
tCtx variable is the one with the step name.
2024-06-25 14:00:22 +02:00
Patrick Ohly
639f86915b scheduler: add FIFO queue
This is a basic implementation of a first-in-first-out queue with unbounded
size. It's useful for cases where a channel with fixed size might deadlock.

The caller is responsible for locking.
2024-06-25 13:56:15 +02:00