Commit Graph

20967 Commits

Author SHA1 Message Date
Sean Sullivan
3ae3b4ea55 Graduate PortForwardWebsockets to Beta 2024-06-15 16:09:23 -07:00
Kubernetes Prow Robot
6ac60160c5 Merge pull request #124509 from p0lyn0mial/upstream-watch-list-code-gen
client-go: add support for API streaming
2024-06-14 04:54:54 -07:00
Lukasz Szaszkiewicz
9871fcab39 ./hack/update-internal-modules.sh 2024-06-14 12:52:54 +02:00
Lukasz Szaszkiewicz
f62c80f965 make update 2024-06-14 12:52:54 +02:00
Lukasz Szaszkiewicz
dceabab838 client-gen: intro watchList 2024-06-13 17:13:30 +02:00
Kubernetes Prow Robot
b498eb9740 Merge pull request #125472 from karlkfi/karl-watch-comments
Add details to watch interface method comments
2024-06-13 03:11:52 -07:00
Kubernetes Prow Robot
08a8480558 Merge pull request #125391 from karlkfi/karl-reflector-watch-stop
Refactor Reflector ListAndWatch
2024-06-13 03:11:42 -07:00
Kubernetes Prow Robot
0a6ad55da9 Merge pull request #125384 from dims/remove-gce-specific-flag-registration
Remove GCE specific flag registration
2024-06-12 14:47:24 -07:00
Kubernetes Prow Robot
bfc26378a9 Merge pull request #125083 from azimjohn/master
Bump konnectivity-client to v0.30.3
2024-06-12 14:47:11 -07:00
Karl Isenberg
65fc1bb463 Refactor Reflector ListAndWatch
- Extract watchWithResync to simplify ListAndWatch
- Wrap watchHandler with two variants, one for WatchList and one for
  just Watch.
- Replace a bool pointer arg with a bool arg and bool return, to
  improve readability.
- Use errors.Is to satisfy the linter
- Use %w to wrap the store.Replace error, to allow unwrapping.
2024-06-12 13:14:55 -07:00
Karl Isenberg
1f35231a1d Add details to watch interface method comments
The watch.Interface design is hard to change, because it would break
most client-go users that perform watches. So instead of changing the
interface to be more user friendly, this change updates the method
comments to explain the different responsibilities of the consumer
(client user) and the producer (interface implementer).
2024-06-12 13:06:22 -07:00
Kubernetes Prow Robot
8db1402f3d Merge pull request #125435 from p0lyn0mial/upstream-rm-reflector-data-consistency-detector-test
client-go/reflector: remove reflector_data_consistency_detector_test.go
2024-06-12 11:09:18 -07:00
Kubernetes Prow Robot
813d3f35b4 Merge pull request #125440 from p0lyn0mial/upstream-client-go-watchlist-can-use-watchlist-for-list-rq
client-go/util/watchlist: intro CanUseWatchListForListRequest(
2024-06-12 10:04:30 -07:00
Kubernetes Prow Robot
6c556cb9c2 Merge pull request #125464 from akhilerm/drop-release-1.26
Drop publishing-bot rules for the release-1.26 branch
2024-06-12 07:44:56 -07:00
Kubernetes Prow Robot
cf0b457690 Merge pull request #125444 from babugeet/babugeet-patch-1
Added logic to check portnumber by name in sidecar container (init)
2024-06-12 07:44:42 -07:00
Mauri de Souza Meneguzzo
e59988d769 Fix flaking TestStoreListResourceVersion 2024-06-12 07:12:02 -03:00
Lukasz Szaszkiewicz
38fae9b799 client-go/util/watchlist: intro CanUseWatchListForListRequest 2024-06-12 12:05:16 +02:00
Akhil Mohan
95b3d2c869 Drop publishing-bot rules for the release-1.26 branch
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-06-12 15:03:40 +05:30
Kubernetes Prow Robot
9c5643f8fc Merge pull request #125390 from TommyStarK/kube-apiserserver/remove-deprecated-otel-NewNoopTracerProvider
kube-apiserver: remove deprecated otel NewNoopTracerProvider
2024-06-11 17:49:44 -07:00
Kubernetes Prow Robot
14b4dc83d6 Merge pull request #125438 from wojtek-t/watchcache_use_rlocker
Reduce lock contention by using reader lock in watchcache interval
2024-06-11 14:43:51 -07:00
Kubernetes Prow Robot
b669abc181 Merge pull request #122038 from lowang-bh/fixPodshow
show pod Status as phase Failed or Succeeded if it has deletionTimestamp
2024-06-11 14:43:35 -07:00
Davanum Srinivas
b29fc54f95 Remove GCE specific flag registration
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-11 16:25:53 -04:00
Kubernetes Prow Robot
541cfa2b87 Merge pull request #125443 from xmudrii/go-1224-12111
Update publishing-bot rules to Go 1.22.4 and 1.21.11
2024-06-11 09:18:49 -07:00
babugeet
7a810c6bb6 Added logic to check portname in sidecar container (init)
Signed-off-by: "babugeet <abhinandhbg@gmail.com>"
2024-06-11 20:05:39 +05:30
lowang-bh
4bd3274f43 show pod Status as phase Failed or Succeeded if it has deletionTimestamp
Signed-off-by: lowang-bh <lhui_wang@163.com>

fix according to comments
Signed-off-by: lowang-bh <lhui_wang@163.com>
2024-06-11 22:04:15 +08:00
Marko Mudrinić
12fd3d467c Update publishing-bot rules to Go 1.22.4 and 1.21.11
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2024-06-11 15:03:03 +02:00
Marek Siarkowicz
faa6193f34 Add tests for how recursive parameter works with object prefixes 2024-06-11 14:45:33 +02:00
Wojciech Tyczyński
6f0a400a1a Reduce lock contention by using reader lock in watchcache interval 2024-06-11 12:20:57 +02:00
Lukasz Szaszkiewicz
0c96a00217 client-go/reflector: remove reflector_data_consistency_detector_test.go 2024-06-11 10:42:07 +02:00
Lukasz Szaszkiewicz
f6c68908ba client-go/reflector: use consistencydetector.IsDataConsistencyDetectionForWatchListEnabled 2024-06-11 09:17:14 +02:00
Lukasz Szaszkiewicz
f7f3809c51 client-go/consistencydetector: introduce CheckWatchListFromCacheDataConsistencyIfRequested 2024-06-11 09:17:10 +02:00
Kubernetes Prow Robot
a7ca13ea29 Merge pull request #125363 from cpanato/update-go-images
[go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
2024-06-10 15:07:47 -07:00
Ben Luddy
b24defacc5 Allow decoding RFC 3339 CBOR strings to time.Time.
We had been relying on a bug in the library when it should have been rejected by default. That bug
has been fixed and a new option added to opt-in to the behavior we need.
2024-06-10 10:03:36 -04:00
Ben Luddy
c4279660ca Bump fxamacker/cbor/v2 to v2.7.0-beta.
This library release makes a number of behaviors configurable in ways that are required for CBOR
support in Kubernetes.
2024-06-10 10:02:04 -04:00
Kubernetes Prow Robot
6ba9fa89fb Merge pull request #125377 from wojtek-t/watchcache_resource_version_metric
Expose resource version metrics from watchcache
2024-06-10 03:31:29 -07:00
Kubernetes Prow Robot
e328c8fbf1 Merge pull request #125304 from p0lyn0mial/upstream-dynamic-client-uses-consistency-detector
dynamic-client: data consistency checker for list requests
2024-06-09 07:37:38 -07:00
TommyStarK
cce8551272 kube-apiserver: remove deprecated otel NewNoopTracerProvider
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2024-06-07 19:57:37 +02:00
Lukasz Szaszkiewicz
79370c6d67 client-go/dynamic: use CheckListFromCacheDataConsistencyIfRequested 2024-06-07 16:10:13 +02:00
Lukasz Szaszkiewicz
a2a48a475b client-go/util/consistencydetector: extend TestCheckListFromCacheDataConsistencyIfRequestedInternalHappyPath to work with unstructured list 2024-06-07 15:47:41 +02:00
Lukasz Szaszkiewicz
c5904424b2 client-go/util/consistencydetector: refactor TestCheckListFromCacheDataConsistencyIfRequestedInternalHappyPath to work with unstructured data 2024-06-07 15:47:41 +02:00
Kubernetes Prow Robot
96815d6dc8 Merge pull request #125379 from p0lyn0mial/upstream-unstructured-testdataconsistencychecker
client-go/consistencydetector: refactor TestDataConsistencyChecker to work with unstructured data
2024-06-07 06:25:43 -07:00
Kubernetes Prow Robot
169a952720 Merge pull request #125302 from karlkfi/karl-informer-watcher-test
Update TestNewInformerWatcher for WatchListClient
2024-06-07 04:52:20 -07:00
Lukasz Szaszkiewicz
c8971c456f client-go/consistencydetector: extend TestDataConsistencyChecker to test unstructured data 2024-06-07 13:20:56 +02:00
Lukasz Szaszkiewicz
d535f55ef9 client-go/consistencydetector: refactor TestDataConsistencyChecker to work with unstructured data 2024-06-07 10:59:18 +02:00
Wojciech Tyczyński
dbed4f1210 Expose resource version metrics from watchcache 2024-06-07 09:39:23 +02:00
Kubernetes Prow Robot
3532601ad8 Merge pull request #124963 from p0lyn0mial/upstream-data-consistency-checker-for-list-requests
client-go: data consistency checker for list requests
2024-06-07 00:33:04 -07:00
Kubernetes Prow Robot
eef6c6082d Merge pull request #124642 from wojtek-t/resilient_watchcache_initialization
Implement ResilientWatchCacheInitialization
2024-06-06 18:38:14 -07:00
Kubernetes Prow Robot
4e2a6201a4 Merge pull request #125356 from p0lyn0mial/upstream-improve-testdrivechecklistfromcache-test
improve TestDriveCheckListFromCacheDataConsistencyIfRequested
2024-06-06 09:16:38 -07:00
cpanato
a3b193c6e9 [go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-06-06 18:13:15 +02:00
Wojciech Tyczyński
2854d84056 Fix ChangeCRD test 2024-06-06 15:59:03 +02:00