Mohit Sharma
6f90c53633
Dependencies Update golang.org/x/tools v0.7.0 to v0.8.0
2023-04-20 11:00:06 +05:30
Lukasz Szaszkiewicz
6db4cbfde7
cacher: do not popExpiredWatchers when the cacher hasn't dispatched any event
...
If the cacher hasn't seen any event (when lastProcessedResourceVersion is zero) and
the bookmarkTimer has ticked then we shouldn't popExpiredWatchers. This is
because the watchers wont' be re-added and will miss future bookmark events when
the cacher finally receives an event via the c.incoming chan.
2023-04-19 15:29:13 +02:00
Lukasz Szaszkiewicz
eab66a687b
cacher avoid double locking ( #117410 )
...
* cacher: remove locking from watcherBookmarkTimeBuckets
it turns out that the watcherBookmarkTimeBuckets
is called from only three places/methods: startDispatching, finishDispatching and Watch.
All these methods acquire c.Lock() before touching watcherBookmarkTimeBuckets.
Thus we could remove explicit locking in
watcherBookmarkTimeBuckets since the access is already synced.
* cacher: rename watcherBookmarkTimeBuckets methods to indicate that proper synchronisation must be used
2023-04-19 06:13:11 -07:00
Kubernetes Prow Robot
0d41d28ea2
Merge pull request #117408 from cenkalti/backoff
...
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
2023-04-19 03:55:22 -07:00
Kubernetes Prow Robot
cf89189ca3
Merge pull request #117399 from mohitsharma-in/update/golang_time
...
dependencies : Update golang.org/x/time v0.3.0
2023-04-19 03:55:10 -07:00
Cenk Alti
29b6c54d15
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-04-17 18:20:27 -04:00
Mohit Sharma
4d73864026
Dependencies Update golang.org/x/timet 90d013bbcef8 to v0.3.0
2023-04-16 22:18:35 -07:00
Alexander Constantinescu
9c0153aef9
KCCM: add providerID predicate to service controller
2023-04-16 01:33:16 +02:00
Alexander Constantinescu
d3c103edce
Re-work logic in shouldSyncUpdatedNode
2023-04-16 01:16:50 +02:00
Kubernetes Prow Robot
1d27cbc784
Merge pull request #117275 from akhilerm/update-coreos-deps
...
dependencies: update coreos dependencies
2023-04-14 06:52:40 -07:00
Akhil Mohan
5bce18c98e
dependencies: update go-semver to v0.3.1
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:29:48 -07:00
Akhil Mohan
d7270f4ba7
dependencies: update go-oidc to v2.2.1
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:25:57 -07:00
Humble Chirammal
b0d89a7807
dependencies: update github.com/gofrs/uuid v4.4.0
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-14 11:54:45 +05:30
Akhil Mohan
1595d7f52d
dependencies: update go-systemd to v22.5.0
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:21:38 -07:00
Humble Chirammal
9cfdf989ed
dependencies: update gh/fvbommel/v1.1.0
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-14 11:51:11 +05:30
Kubernetes Prow Robot
d060d487dc
Merge pull request #117278 from haoruan/cleanup/replace-spew-with-dump
...
replace spew methods with dump methods
2023-04-13 19:54:39 -07:00
Hao Ruan
c4e1b01416
replace spew methods with dump methods
2023-04-14 08:05:53 +08:00
Kubernetes Prow Robot
ba0a8f9cce
Merge pull request #117285 from humblec/azure-go-autorest
...
dependencies: update gh/Azure/auto-test/{adal,validation}
2023-04-13 13:36:41 -07:00
Kubernetes Prow Robot
bcacf92741
Merge pull request #117258 from enj/enj/i/aggregator_transport_cache
...
kube-aggregator: correctly use client-go TLS cache with custom dialer
2023-04-13 12:40:50 -07:00
Humble Chirammal
6d13cad2cf
dependencies: update gh/Azure/auto-test/{adal,validation}
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-13 23:25:48 +05:30
Andy Goldstein
432a3016a4
Revert "Merge pull request #113151 from ncdc/refactor-crd-conversion"
...
This reverts commit f524d765f4
, reversing
changes made to c2b5457dfa
.
2023-04-13 11:27:39 -04:00
Andy Goldstein
9c5a66e208
Revert "CR conversion: protect from converter input edits"
...
This reverts commit f14cc7fdfc
.
2023-04-13 11:21:40 -04:00
Kubernetes Prow Robot
b98659ba62
Merge pull request #117238 from pohly/namespaces-name-lowercase
...
encode NamespacedName with lower case in JSON
2023-04-13 07:32:38 -07:00
Kubernetes Prow Robot
abece296e6
Merge pull request #117284 from humblec/other-deps
...
dependencies: azure-sdk-for-go to v55->v68
2023-04-13 06:26:36 -07:00
Kubernetes Prow Robot
c3e3ff989a
Merge pull request #116896 from thockin/apimachinery_util_diff_cleanup
...
apimachinery util/diff cleanups
2023-04-13 02:26:37 -07:00
Humble Chirammal
2d06fad516
dependencies: azure-sdk-for-go to v55->v68
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-13 14:55:56 +05:30
Monis Khan
804d9f47c9
kube-aggregator: correctly use client-go TLS cache with custom dialer
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-04-13 00:31:34 -04:00
Kubernetes Prow Robot
a89fe3676a
Merge pull request #116282 from thockin/codegen_subprojects_nuke_old_files
...
Codegen: subprojects: nuke old files
2023-04-12 14:54:31 -07:00
Kubernetes Prow Robot
6226fa7acc
Merge pull request #116996 from aramase/aramase/c/kms_api_cleanup_comments
...
[KMSv2] cleanup comments in v2 proto api
2023-04-12 13:24:31 -07:00
Kubernetes Prow Robot
ad85a92dd4
Merge pull request #116281 from thockin/codegen_subproject_chdir
...
Codegen: subproject cleanups and chdir
2023-04-12 09:58:31 -07:00
Tim Hockin
a7a8cd6e5d
Codegen: subprojects: nuke existing files
2023-04-12 08:58:38 -07:00
Tim Hockin
bc302fa414
Replace uses of ObjectReflectDiff with cmp.Diff
...
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:48:03 -07:00
Tim Hockin
9627c50ef3
Replace uses of ObjectGoPrintDiff with cmp.Diff
...
ObjectGoPrintDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:46:16 -07:00
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
Tim Hockin
97bab44cae
Replace apimachinery diff.StringDiff with cmp
...
I forced failures of most of these tests and verified readability
2023-04-12 08:45:31 -07:00
iyear
4f6714ef42
apiserver/etcd: add request and request_error metrics ( #117222 )
...
* apiserver/etcd: add request and request_error metrics
Signed-off-by: iyear <ljyngup@gmail.com>
* apiserver/etcd: rename etcdRequestCounts metric
Signed-off-by: iyear <ljyngup@gmail.com>
---------
Signed-off-by: iyear <ljyngup@gmail.com>
2023-04-12 07:02:45 -07:00
Kubernetes Prow Robot
afcc207feb
Merge pull request #117137 from p0lyn0mial/upstream-streaming-api-deadlock
...
cacher: prevent a potential deadlock
2023-04-12 04:42:32 -07:00
Patrick Ohly
4438208511
api: encode NamespacedName with lower case in JSON
...
That is how a workaround in controller-runtime has encoded
NamespacedName (a33d038b84/pkg/log/zap/kube_helpers.go (L49-L57)
)
and it is also more consistent with Kubernetes API standards.
The namespace can be left out.
Returning an anonymous struct in MarshalLog makes it impossible for
controller-runtime to adapt the type and thus blocks updating
controller-runtime to Kubernetes 1.27 because log content would
change.
2023-04-12 12:47:59 +02:00
Lukasz Szaszkiewicz
476e407ffd
cacher: prevent a potential deadlock
...
waitUntilWatchCacheFreshAndForceAllEvents must be called without
a read lock held otherwise the watchcache won't be able to make
progress (i.e. the watchCache.processEvent method that requries acquiring an exclusive lock)
the deadlock can happen only when the alpha watchlist feature flag is on
and the client specifically requests streaming.
2023-04-12 12:43:43 +02:00
Kubernetes Prow Robot
cafc23f624
Merge pull request #117182 from dddddai/http-headers
...
Use case-insensitive header keys for http probes
2023-04-12 03:42:31 -07:00
dddddai
10a8ec5b2c
use case-insensitive header keys for http probes
2023-04-12 15:39:55 +08:00
Kubernetes Prow Robot
5f23f83587
Merge pull request #116865 from alexzielenski/apiserver/apply/move-transformer
...
move check for noop managed field timestamp updates
2023-04-11 23:18:42 -07:00
Kubernetes Prow Robot
6262d25371
Merge pull request #117154 from p0lyn0mial/upstream-cacher-size-rlock
...
watchcache: currentCapacity acquires a read lock
2023-04-11 21:17:12 -07:00
Kubernetes Prow Robot
9b45cb9d55
Merge pull request #116442 from benluddy/cel-admission-vestigal-errcheck
...
Remove vestigal err check from CEL admission controller.
2023-04-11 21:16:42 -07:00
Kubernetes Prow Robot
379a1f3769
Merge pull request #115076 from hasheddan/go-restful
...
Fix gorestful typos in the APIServerHandler.Director docstring
2023-04-11 21:16:30 -07:00
Kubernetes Prow Robot
95e3358b33
Merge pull request #117143 from howardjohn/poll/bad-comment
...
wait: fix incorrect suggested method
2023-04-11 20:22:06 -07:00
Kubernetes Prow Robot
7da3893003
Merge pull request #117102 from ardaguclu/move-genericiooptions
...
Move genericclioptions.IOStreams to genericiooptions.IOStreams
2023-04-11 20:21:17 -07:00
yang-wang11
277c03fc79
remove these unrelated openapi files ( #117051 )
2023-04-11 20:20:49 -07:00
Kubernetes Prow Robot
a9edbee708
Merge pull request #117034 from ardaguclu/events-support-fullnames
...
kubectl events: Support fully qualified names for --for flag
2023-04-11 20:20:41 -07:00
mouuii
9a46856307
remove reuse buf todo ( #117033 )
...
* reuse buf
Signed-off-by: mouuii <49775493+mouuii@users.noreply.github.com>
* remove the todo
Signed-off-by: mouuii <49775493+mouuii@users.noreply.github.com>
---------
Signed-off-by: mouuii <49775493+mouuii@users.noreply.github.com>
2023-04-11 20:20:30 -07:00