Commit Graph

123699 Commits

Author SHA1 Message Date
Antonio Ojea
4bc461872f update kube-network-policies to v0.4.0 2024-06-26 16:27:12 +00:00
Wojciech Tyczyński
5081ba45f9 Fix test flakes for TestWatchSemantics 2024-06-26 17:49:54 +02: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
David Ashpole
e89a2bf6ac
./hack/update-vendor.sh 2024-06-26 14:16:58 +00:00
David Ashpole
7bcb2a96f2
Revert "fix tracing integration test"
This reverts commit a3b7cb9374.
2024-06-26 14:14:26 +00:00
David Ashpole
8a62765d84
Revert "update go workspace"
This reverts commit 045554491a.
2024-06-26 14:14:18 +00:00
David Ashpole
56fdcf0837
Revert "update unwanted dependencies"
This reverts commit d65029f9bb.
2024-06-26 14:14:06 +00:00
David Ashpole
e94047c900
Revert "update OpenTelemetry dependencies"
This reverts commit 82e9ce79c7.
2024-06-26 14:13:33 +00: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
Ben Luddy
cc5a18678f
Disable recognition of Binary(Unm|M)arshaler in CBOR serializer.
The underlying CBOR library will by default encode a value to and from byte string if its type
implements encoding.BinaryMarshaler or encoding.BinaryUnmarshaler, respectively. This is now
disabled via an option to avoid diverging from JSON in those cases.
2024-06-26 09:19:31 -04:00
Lukasz Szaszkiewicz
662672a6ca storage/cacher/cacher_whitebox_test.go: deflake TestWaitUntilFreshAndListFromCache 2024-06-26 15:04:15 +02:00
Lukasz Szaszkiewicz
cc7063e96d kube-controller-manager: refactor watchlist unit tests 2024-06-26 12:47:46 +02:00
googs1025
5f8fb17652 added resourceclaim_controller log info
Signed-off-by: googs1025 <googs1025@gmail.com>
2024-06-26 18:38:11 +08: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
2029bba634
Remove temporary mechanism for skipping CBOR tests.
The CBOR decode and "appendix a" unit tests cover specific serialization behaviors that were known
to be incomplete at the time. Now that all of those cases have been addressed, the mechanism for
skipping those tests can be removed.
2024-06-25 21:12:54 -04: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
Jordan Liggitt
3e037070bb
Move public key getter to interface 2024-06-25 18:10:08 -04: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
HirazawaUi
c29a19610a add tests 2024-06-26 01:07:24 +08:00