Kubernetes Prow Robot
a81ea5d0af
Merge pull request #125424 from benluddy/cbor-timetag-rfc3339
...
KEP-4222: Decode CBOR time tags to interface{} as RFC 3339 timestamps.
2024-06-18 19:06:47 -07:00
Kubernetes Prow Robot
01c9d26a97
Merge pull request #125051 from marquiz/devel/codegen-fix-grep
...
kube_codegen: smarter grepping of codegen tags
2024-06-18 19:06:40 -07:00
Kubernetes Prow Robot
3f9b79fc11
Merge pull request #125145 from xyz-li/fix_watch_namespace
...
apiserver: fix watch namespace
2024-06-18 10:39:44 -07:00
xyz-li
818fabe37b
apiserver: fix watch namespace
...
For request like '/api/v1/watch/namespaces/*', don't set scope.namespace.
Because the func `addWatcher` add a watcher to allWatchers with the value `scope.namespace` not empty.
But the function `dispatchEvent` dispatch event with an empty namespace.
Signed-off-by: xyz-li <hui0787411@163.com >
2024-06-18 11:53:28 +08:00
Kubernetes Prow Robot
a3a49887ee
Merge pull request #125540 from pohly/revert-binding-deprecation
...
api: revert deprecation annotation for v1 Binding
2024-06-17 20:21:53 -07:00
Kubernetes Prow Robot
09472b673d
Merge pull request #125499 from mbobrovskyi/fix/openapi-gen-dependency
...
Add k8s.io/kube-openapi/cmd/openapi-gen dependency on code-generator go.mod
2024-06-17 17:56:46 -07:00
Patrick Ohly
5d0165d140
api: revert deprecation annotation for v1 Binding
...
https://github.com/kubernetes/kubernetes/pull/124898 added deprecation
annotations for existing types, including v1 Binding. That had the side effect
of also incorrectly marking the binding sub-resource as deprecated, which in
turn caused one warning in the kube-scheduler log output per scheduled pod.
2024-06-17 19:47:41 +02:00
Lukasz Szaszkiewicz
efef32652a
apiserver/storage: factor PrepareContinueToken to a new function ( #125548 )
...
* apiserver/storage/continue: intro PrepareContinueToken
PrepareContinueToken prepares optional
parameters for retrieving additional results for a paginated request.
This function sets up parameters that a client can use to fetch the remaining results
from the server if they are available.
* apiserver/storage/etcd3: refactor to use PrepareContinueToken
2024-06-17 07:47:19 -07:00
Kubernetes Prow Robot
159d4b837a
Merge pull request #124444 from claudiubelu/windows/fix-container-log-rotation
...
windows: Fixes following container log rotation
2024-06-17 03:32:19 -07:00
Sean Sullivan
3ae3b4ea55
Graduate PortForwardWebsockets to Beta
2024-06-15 16:09:23 -07:00
Mykhailo Bobrovskyi
aa01f7058a
Fix openapi-gen dependency.
2024-06-14 15:47:39 +03: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
a246eb19e5
Decode CBOR time tags to interface{} as RFC 3339 timestamps.
2024-06-10 17:26:56 -04: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