Antonio Ojea
568f678a04
update k8s.io/utils to bring fakeClock.Waiters()
...
Change-Id: I7e25338df225c2c27457403fbc2f158d08638f87
Kubernetes-commit: c2c003a71fc52fa79c2fff0109afad58573d0216
2025-05-02 11:21:11 +00:00
Kubernetes Publisher
a566719c94
Merge pull request #130989 from liggitt/creationTimestamp-omitzero
...
Omit null creationTimestamp
Kubernetes-commit: 01899a7c86337b05a16a4155c9351cf947beaee9
2025-05-02 23:18:52 +00:00
Antonio Ojea
2153502961
remove networking v1alpha1 and make update
...
Kubernetes-commit: 15ab88f88bf19b738cee0e63f1c1d83e720331a8
2025-04-30 09:18:02 +00:00
Jordan Liggitt
25d4fa6ba8
Make Request#RequestURI honor configured context root
...
Kubernetes-commit: 5677f7ab0b1b1ab22a71d01e4a710bf0f5e633aa
2025-04-03 12:51:46 -04:00
Jordan Liggitt
5be379c517
Drop null creationTimestamp from test fixtures
...
Kubernetes-commit: 6bb6c9934294d8265197c9dfc4c9dd3adaca147a
2025-03-24 09:37:26 -04:00
Jordan Liggitt
61eae7552c
bump cbor to add omitzero support
...
Kubernetes-commit: bc6051717137cef288b82305588e675de4a32c0d
2025-03-25 12:27:43 -04:00
Jordan Liggitt
fcc2100a59
bump structured-merge-diff to add omitzero support
...
Kubernetes-commit: 06b0784062f68566daa8eed83c475b738dcf620c
2025-03-24 16:34:01 -04:00
Kubernetes Publisher
05e0ea6c1e
Merge pull request #131029 from liggitt/to-unstructured-stdlib
...
Make ToUnstructured match stdlib omitempty and anonymous behavior
Kubernetes-commit: ef239ae62b86ee03b8b5e7a01d7c4cf4dcdd4a92
2025-05-02 15:18:34 +00:00
Jordan Liggitt
ebd18c5e7c
Make ToUnstructured match stdlib omitempty and anonymous behavior
...
Kubernetes-commit: 09912f3521932db99fe19f993db240fd43f3240e
2025-03-24 11:52:44 -04:00
Kubernetes Publisher
17ad09eb27
Merge pull request #131321 from karlkfi/karl-very-fast-watch
...
chore: Add VeryShortWatchError typed error
Kubernetes-commit: 07bcf936786b0e0a1d47b307aededb526ba4fca5
2025-04-24 23:17:38 +00:00
Karl Isenberg
921628ecd6
chore: Add VeryShortWatchError typed error
...
- Add a new VeryShortWatchError struct for error matching, returned
by `handleAnyWatch`, up through `Reflector.ListAndWatch`.
- Update test expectations to match exact errors.
Kubernetes-commit: 6eff9db0f10db72f2c64390e106a80621d136439
2025-04-15 11:48:57 -07:00
Kubernetes Publisher
1601be3d14
Merge pull request #131266 from karlkfi/karl-reflector-refactor
...
fix: Watcher deadlock from Stop not being called
Kubernetes-commit: d6d6aad0d89abea236996b12d0545642f96684fb
2025-04-24 03:22:41 +00:00
Kubernetes Publisher
45e758d19c
Merge pull request #131242 from zhifei92/update-mockery-version
...
Upgrade the mockery version to v2.53.3
Kubernetes-commit: 077a38217092f2ed72330e3232fdf6a16c1d97d8
2025-04-24 03:22:39 +00:00
Kubernetes Publisher
82c2b6c716
Merge pull request #131143 from liggitt/cache-test-goroutine-leak
...
Clean up leaked goroutines in cache unit tests
Kubernetes-commit: f7715e9b9d29ea93f9e95ba3a1d085d5daf7e230
2025-04-24 03:22:38 +00:00
Kubernetes Publisher
d01bdb17a5
Merge pull request #131111 from novahe/certificate_store
...
Certificate store: ensure data is written to disk
Kubernetes-commit: cd7195976f2621bd7a193de6d22ee49deead6a65
2025-04-23 23:25:14 +00:00
Kubernetes Publisher
451ac0fcb5
Merge pull request #130995 from xigang/utils
...
bump k8s.io/utils for improvements
Kubernetes-commit: 43a7d3be12425cc80ca6ad3599809a19728c5566
2025-04-23 23:25:13 +00:00
Karl Isenberg
e9ce1dd558
fix: Watcher deadlock from Stop not being called
...
Change:
- refactor Reflector.ListAndWatch and Reflector.watch to always call
watcher.Stop.
- refactor Reflector.handleAnyWatch to always call watcher.Stop,
EXCEPT when exitOnWatchListBookmarkReceived &&
watchListBookmarkReceived.
- Update unit tests with these new expectations.
Effect:
- ensures watcher.Stop is always called at least once
- avoids deadlocks in watcher implementations when watcher.Watch is
called, but watcher.Stop is never called.
Note: It's impossible to guarantee that Stop will only be called once.
So watch.Interface implementations must tollerate Stop being called
multiple times.
Kubernetes-commit: 3e609ecf6e945bf4562bddfc563fde9a4c3d0d90
2025-04-11 14:30:29 -07:00
zhangzhifei16
335b05fae2
chore: Upgrade the mockery version to v2.53.3.
...
Kubernetes-commit: c1ff9cf4e8113ce17215ac71b3bc7ef419626b64
2025-04-10 21:16:47 +08:00
Jordan Liggitt
a3cad0dc91
Clean up leaked goroutines in cache unit tests
...
Kubernetes-commit: 6747bf7a9cb3009aae4cba1e1d249d56a66a981b
2025-04-01 13:59:32 -04:00
Kubernetes Publisher
18a1faa115
Merge pull request #131103 from ahrtr/etcd_sdk_20250328
...
Bump etcd 3.5.21 sdk
Kubernetes-commit: f4d1686120d2367dd4c00df53e93dad51c414435
2025-04-01 10:32:47 +00:00
novahe
3262fdedea
Certificate store: ensure data is written to disk
...
Kubernetes-commit: 653f48d8867d0b8487e3f824b3680ddc7d85758f
2025-03-30 10:46:59 +08:00
Benjamin Wang
983fe07d27
bump etcd 3.5.21 sdk
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
Kubernetes-commit: f3b80a858225178e3f7a3ae07bd1b9894e7b3456
2025-03-28 14:30:47 +00:00
Kubernetes Publisher
2086688a72
Merge pull request #129970 from mortent/AddResourceV1beta2API
...
Add resource v1beta2 API
Kubernetes-commit: 070f0ad3bdfc17da90defdb45bb644aaf07dd43e
2025-03-26 18:25:06 +00:00
Morten Torkildsen
dba34c781e
Run make update
...
Kubernetes-commit: e761be47a45b97574499069ea198d879e7050e51
2025-03-26 14:52:36 +00:00
Kubernetes Publisher
e359642e7c
Merge pull request #130556 from sreeram-venkitesh/kep-4960-container-stop-signals
...
KEP 4960: Container Stop Signals
Kubernetes-commit: ff25881bc1fe9da1dda4ec82d294b92078ae2763
2025-03-25 02:24:14 +00:00
Kubernetes Publisher
3bf0a05288
Merge pull request #130797 from jm-franc/configurable-tolerance
...
Add support for HPA configurable tolerance
Kubernetes-commit: 34e80be1330556848521314ece92e9277efb26d4
2025-03-24 22:24:53 +00:00
Sreeram
7a03a3b92e
Generated files
...
Kubernetes-commit: d6d9a354d7df9ad331ffe7e6212767cf8f90016c
2025-03-25 02:06:29 +05:30
xigang
55aca3c6c1
bump k8s.io/utils
...
Kubernetes-commit: fe14689f221a968806b771b226581efb834654cd
2025-03-22 10:14:01 +08:00
Jean-Marc François
1676beb32a
Refresh autogenerated files following the configurable tolerance updates.
...
Kubernetes-commit: ac107137ce85166464465ea3954092752ca88326
2025-03-21 17:41:50 -04:00
Kubernetes Publisher
387edb880f
Merge pull request #130967 from aojea/listers
...
benchmarks inefficiency on listers linear search lookup
Kubernetes-commit: 47a61c5c98822989d955e00d42f895234c1a1cb1
2025-03-21 10:24:27 +00:00
Antonio Ojea
21dc3b4441
benchmark to show inefficient linear search lookup
...
goos: linux
goarch: amd64
pkg: k8s.io/client-go/tools/cache
cpu: Intel(R) Xeon(R) CPU @ 2.60GHz
BenchmarkLister_Match_1k_100
BenchmarkLister_Match_1k_100-48 41910 28255 ns/op 16384 B/op 1 allocs/op
BenchmarkLister_Match_10k_100
BenchmarkLister_Match_10k_100-48 3487 337728 ns/op 163848 B/op 1 allocs/op
BenchmarkLister_Match_100k_100
BenchmarkLister_Match_100k_100-48 222 7040793 ns/op 1605659 B/op 1 allocs/op
BenchmarkLister_Match_1M_100
BenchmarkLister_Match_1M_100-48 12 97962328 ns/op 16007172 B/op 1 allocs/op
PASS
ok k8s.io/client-go/tools/cache 10.480s
Kubernetes-commit: 33fbce73ae203ffeb1b9ea63ac43d567d1bdb1ad
2025-03-21 06:09:23 +00:00
Kubernetes Publisher
a27e26debd
Merge pull request #129872 from seans3/websocket-https-proxy
...
WebSocket HTTPS Proxy support
Kubernetes-commit: 6f13ba03dac1865174b4edf2b43f6a0f453a8ac7
2025-03-21 03:54:09 +00:00
Kubernetes Publisher
e782ad64ac
Merge pull request #130764 from cici37/partitionableDevice
...
[KEP-4815]DRA Partitionable device
Kubernetes-commit: d8607b91a78d01d5e0903e69765feb66651af2cf
2025-03-20 05:34:18 +00:00
Cici Huang
379ed45313
Auto gen
...
Kubernetes-commit: ea2f8881093b01f27807ee4fa4e6ca2b88a7bc71
2025-03-18 07:16:21 +00:00
Kubernetes Publisher
b0ed7301c5
Merge pull request #130844 from danwinship/improved-traffic-distribution
...
KEP-3015 PreferSameZone/PreferSameNode traffic distribution
Kubernetes-commit: 68ba091fca6927534e187d8b2595882352497f2f
2025-03-19 21:34:23 +00:00
Kubernetes Publisher
a9cdb028d1
Merge pull request #130447 from pohly/dra-device-taints
...
device taints and tolerations (KEP 5055)
Kubernetes-commit: ab3cec07014e58ef49050f953fb8426efbc85192
2025-03-19 21:34:21 +00:00
Kubernetes Publisher
169f1af1bf
Merge pull request #130906 from serathius/streaming-validation
...
Update kube-openapi and integrate streaming tags validation
Kubernetes-commit: 32b1819423de505da855cf7544e871a04e63d6ed
2025-03-19 05:34:12 +00:00
Kubernetes Publisher
ac9f6ffb9a
Merge pull request #130901 from deads2k/perms
...
add API approvers to generated applyconfigurations
Kubernetes-commit: 0f7ab496c1a1302118887f76f440694da1fe3380
2025-03-18 21:34:17 +00:00
Eddie Torres
7ed5fa7538
Implement KEP 4876 Mutable CSINode ( #130007 )
...
* Implement KEP-4876 Mutable CSINode Allocatable Count
Signed-off-by: torredil <torredil@amazon.com>
* Update TestGetNodeAllocatableUpdatePeriod
Signed-off-by: torredil <torredil@amazon.com>
* Implement CSINodeUpdater
Signed-off-by: torredil <torredil@amazon.com>
* Use sync.Once in csiNodeUpdater
Signed-off-by: torredil <torredil@amazon.com>
* ImVerify driver is installed before running periodic updates
Signed-off-by: torredil <torredil@amazon.com>
* Update NodeAllocatableUpdatePeriodSeconds type comment
Signed-off-by: torredil <torredil@amazon.com>
* Leverage apivalidation.ValidateImmutableField in ValidateCSINodeUpdate
Signed-off-by: torredil <torredil@amazon.com>
* Update strategy functions
Signed-off-by: torredil <torredil@amazon.com>
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com>
* Update VolumeError.ErrorCode field
Signed-off-by: torredil <torredil@amazon.com>
* CSINodeUpdater improvements
Signed-off-by: torredil <torredil@amazon.com>
* Iron out concurrency in syncDriverUpdater
Signed-off-by: torredil <torredil@amazon.com>
* Run hack/update-openapi-spec.sh
Signed-off-by: torredil <torredil@amazon.com>
* Revise logging
Signed-off-by: torredil <torredil@amazon.com>
* Revise log in VerifyExhaustedResource
Signed-off-by: torredil <torredil@amazon.com>
* Update API validation
Signed-off-by: torredil <torredil@amazon.com>
* Add more code coverage
Signed-off-by: torredil <torredil@amazon.com>
* Fix pull-kubernetes-linter-hints
Signed-off-by: torredil <torredil@amazon.com>
* Update API types documentation
Signed-off-by: torredil <torredil@amazon.com>
* Update strategy and validation for new errorCode field
Signed-off-by: torredil <torredil@amazon.com>
* Update validation tests after strategy changes
Signed-off-by: torredil <torredil@amazon.com>
* Update VA status strategy
Signed-off-by: torredil <torredil@amazon.com>
---------
Signed-off-by: torredil <torredil@amazon.com>
Kubernetes-commit: c766a52356a277da5e9f29f77aab5212f1b083c6
2025-03-18 21:34:16 +00:00
Marek Siarkowicz
9475320ce4
Update kube-openapi and integrate streaming tags validation
...
Kubernetes-commit: 75a4d136abac241f728407515e3d0d8305594675
2025-03-18 21:26:22 +01:00
David Eads
c8ae9cfa75
add API approvers to generated applyconfigurations
...
API approvers review new fields and need permissions to approve the
files generated from those new fields
Kubernetes-commit: 691398c8563f12db07505df7c05211e93145689a
2025-03-18 13:29:10 -04:00
Kubernetes Publisher
c5b5caed20
Merge pull request #129954 from iholder101/swap/capacity-on-node-sys-info
...
[KEP-2400] Report swap capacity as part of node.status.nodeSystemInfo
Kubernetes-commit: 2499a2c0a0f61f259156925cdd25dfb65df334f1
2025-03-18 05:34:27 +00:00
Kubernetes Publisher
b4e9c91225
Merge pull request #130721 from yanhuan0802/fix-informer-typo
...
fix: shared informer typos
Kubernetes-commit: 859eb4cd789754b09fdef853eb2affb59a546eb5
2025-03-17 17:35:45 +00:00
Kubernetes Publisher
97feb5b4e1
Merge pull request #130347 from Jefftree/remove-v2beta1-agg-discovery
...
Add a deprecated feature gate to stop serving apidiscovery.k8s.io/v2beta1
Kubernetes-commit: 8906223b000d94ad3947c1582c5ba452c6766e6c
2025-03-17 17:35:44 +00:00
Huan Yan
115024100c
cleanup: remove error comment of AddIndexers func
...
Kubernetes-commit: a271d3e5339fa60b661b316a0e2f378f3afc51af
2025-03-16 23:39:33 +08:00
Jefftree
8ddf4401e5
Gate apidiscovery/v2beta1 serving with a feature gate
...
Kubernetes-commit: 95d3d4a22d705ef6bf2d494c065743d356914e8d
2025-03-13 17:58:06 +00:00
Kubernetes Publisher
595b7ca245
Merge pull request #130725 from jpbetz/replication-controller-minimums-to-declarative
...
Migrate to declarative validation: ReplicationController spec.replicas and spec.minReadySeconds fields
Kubernetes-commit: 6ef1a1f98e90ea541eedb45274886fc3d255ea1d
2025-03-14 17:34:25 +00:00
Kubernetes Publisher
5f676853f1
Merge pull request #129345 from pohly/log-client-go-workqueue
...
client-go workqueue: add optional logger
Kubernetes-commit: 9fd0e20bc2526483fdb1328305fc12ac638085dc
2025-03-14 17:34:22 +00:00
Kubernetes Publisher
7faeb317c7
Merge pull request #130751 from Jefftree/cle-promote-beta
...
[KEP-4355] Promote Coordinated Leader Election to Beta
Kubernetes-commit: be127ae0e27644edead7007834b5c8437fb6eb0b
2025-03-13 21:35:13 +00:00
Kubernetes Publisher
8489267318
Merge pull request #130693 from novahe/fix/test-cases
...
Fix test cases that may potentially cause a panic.
Kubernetes-commit: 336a32a270997731873b6d8b616f4ae91d903fcf
2025-03-13 13:33:51 +00:00