Kubernetes Publisher
77dfe4dff7
Merge pull request #92138 from ash2k/ash2k/client-cleanups
...
Client library cleanups
Kubernetes-commit: 667deec758fbbd9576df1c5f081a4e239996b074
2020-12-10 21:00:11 +00:00
Kubernetes Publisher
62f63bbbfe
Merge pull request #96837 from adamzhoul/master
...
fix remotecommand stream blocked forever problems.
Kubernetes-commit: ccd29ea264535fa2ef36cf4dfb004fed99c99fbf
2020-12-10 05:00:18 +00:00
Patrick Shan
01fbb1db89
Bump github.com/Azure/go-autorest/autorest to v0.11.12
...
Kubernetes-commit: c75d9906587a8b174338e0ffe725759f68c0be56
2020-12-03 15:38:17 +11:00
Maciej Szulik
61675820ec
Generated changes
...
Kubernetes-commit: 7d9f36cd850cfc080d8598ff4eac7b6fa3efc27d
2020-12-01 16:34:55 +01:00
Maciej Szulik
d6cefbd7a0
Drop batch/v2alpha1 API
...
Kubernetes-commit: 3dab7462d1ff6e20f7efe38249dd9958e4e32c89
2020-12-01 16:33:47 +01:00
Rajalakshmi-Girish
cb8d3d1111
fixes the unit tests to be more tolerant with error messages
...
Kubernetes-commit: 98948ad8092b41ebc08d50aa557b2d7ba5496e7d
2020-11-27 08:21:56 +00:00
pacoxu
8031d76bd6
fix index test: multi index check for empty list
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Kubernetes-commit: ae6360f6c732d554c332a0bc1b99808149d8376e
2020-11-26 18:23:57 +08:00
adamzhoul
04adad44d6
fix spdy stream, conn deadlock.
...
Kubernetes-commit: 94a297485bf39a6d69f316c257d351e9432b8cb5
2020-11-15 17:06:34 +08:00
Kubernetes Publisher
e24efdc77f
Merge pull request #96797 from jqmichael/initialCountLength
...
Fixed a bug where initialPopulationCount should be based on the key length not list size in DeltaFIFO#Replace()
Kubernetes-commit: 7d8587c4cc3529dc9065c1536071ea382e6c725c
2020-12-09 05:00:23 +00:00
Kubernetes Publisher
50c086135a
Merge pull request #96643 from bboreham/lose-timestamp
...
Remove unused argument from generateEvent
Kubernetes-commit: e3bf0cc4ae836dd27bb01a5e426cb50721f63211
2020-12-09 05:00:20 +00:00
Qing Ju
1d175299a2
Fixed a harmless bug where initialPopulationCount should be based on the key length not list size in DeltaFIFO#Replace()
...
Kubernetes-commit: bc39672c0638426979feef95baeff39d170161eb
2020-11-22 16:35:19 -08:00
Kubernetes Publisher
fb61a7c88c
Merge pull request #96720 from liggitt/throttled-logger
...
Deflake ThrottledLogger test
Kubernetes-commit: 2ea6828ea0803e188a6a7c4a6581f522865ae8f3
2020-11-21 00:58:59 +00:00
Jordan Liggitt
61471be615
Deflake ThrottledLogger test
...
Kubernetes-commit: c84df5d66ea8d949374b67c5205b9869b984ea84
2020-11-19 13:59:27 -05:00
Kubernetes Publisher
66db254099
Merge pull request #95981 from caesarxuchao/http2-healthcheck
...
Enables HTTP/2 health check
Kubernetes-commit: afeac926fa79179bfd0c5e718459086845a2a80c
2020-11-18 00:58:04 +00:00
Kubernetes Publisher
7c9ea22f76
Merge pull request #92743 from liggitt/gc
...
Fix GC uid races and handling of conflicting ownerReferences
Kubernetes-commit: e1ab99e0d662f3d9bf89ccf48f71444dbabce37e
2020-11-17 12:14:06 -08:00
Bryan Boreham
5d2c89de53
Remove unused argument from generateEvent
...
Kubernetes-commit: beceee68156dff8b10123a37bb4645941b7df0c2
2020-11-17 16:51:10 +00:00
xiongzhongliang
d7ba1f2e01
use klog.Info and klog.Warning when had no format
...
Kubernetes-commit: 90f4aeeea4cc5f96caa6ed87c67ca7e62d1ba21c
2020-11-14 00:55:06 +08:00
Chao Xu
8dde295de4
Add a unit test testing the HTTP/2 health check help the REST client
...
detects broken TCP connections.
Kubernetes-commit: ba7b1f7a89ffed78115ab0229b7504d05f6c7d48
2020-10-29 23:03:14 -07:00
Haowei Cai
7dddf976b8
fix the fake client example: how to handle a race between the fake client and informer
...
Note that the fake client isn't designed to work with informer. It
doesn't support resource version. It's encouraged to use a real client
in an integration/E2E test if you need to test complex behavior with
informer/controllers.
Kubernetes-commit: 942bc9b32e39bb9c6ca045c02b48cc84dfa86633
2020-10-26 22:50:32 -07:00
Solly Ross
726d27fe7a
Don't record events in goroutines
...
This changes the event recorder to use the equivalent of a select
statement instead of a goroutine to record events.
Previously, we used a goroutine to make event recording non-blocking.
Unfortunately, this writes to a channel, and during shutdown we then
race to write to a closed channel, panicing (caught by the error
handler, but still) and making the race detector unhappy.
Instead, we now use the select statement to make event emitting
non-blocking, and if we'd block, we just drop the event. We already
drop events if a particular sink is overloaded, so this just moves the
incoming event queue to match that behavior (and makes the incoming
event queue much longer).
This means that, if the user uses `Eventf` and friends correctly (i.e.
ensure they've returned by the time we call `Shutdown`), it's
now safe to call Shutdown. This matches the conventional go guidance on
channels: the writer should call close.
Kubernetes-commit: e90e67bd002e70a525d3ee9045b213a5d826074d
2020-10-16 15:05:00 -07:00
Taahir Ahmed
65b7d26246
Remove MPL-licensed dep from lruexpirecache
...
github.com/hashicorp/golang-lru is MPL 2 licensed, which means that
anyone who distributes code or binaries that incorporates it needs to
include its source code, even if they haven't made any modifications.
Since lrucacheexpire is picked up as a dependency of using the shared
informers in client-go, that's potentially a lot of distributors.
Most other deps of client-go are Apache 2.0, MIT, or BSD-like
licensed, which only requires including the license.
Rather than reverting to groupcache/lru, I just reimplemented the
functionality we need, which isn't much.
Kubernetes-commit: ecc53182475a00a4a1dc8ca1e056b0deb6bd430c
2020-10-10 20:29:26 -07:00
Jordan Liggitt
c476b49dcf
Add GC unit tests
...
Adds unit tests covering the problematic scenarios identified
around conflicting data in child owner references
Before After
package level 51% 68%
garbagecollector.go 60% 75%
graph_builder.go 50% 81%
graph.go 50% 68%
Added/improved coverage of key functions that had lacking unit test coverage:
* attemptToDeleteWorker
* attemptToDeleteItem
* processGraphChanges (added coverage of all added code)
Kubernetes-commit: e491c3bc7056530d82590d95f0af0e8c4d8dded5
2020-10-09 17:50:52 -04:00
Kubernetes Publisher
77eda6a939
Merge pull request #96317 from Jefftree/test-ssa
...
Integrate defaults marker to defaulter-gen
Kubernetes-commit: 05d1b94a701d807666b40665f5728e0cc5f92054
2020-11-14 08:57:41 +00:00
Kubernetes Publisher
76f48268c7
Merge pull request #96527 from adtac/apfbeta
...
promote API priority and fairness types and APIs to beta
Kubernetes-commit: 36f571404fcb136011024b89efaa2a0d089acd5f
2020-11-14 04:57:47 +00:00
Kubernetes Publisher
4ab8fb4585
Merge pull request #96425 from bobbypage/vendor-cadvisor-v0.38
...
Vendor cadvisor v0.38.4
Kubernetes-commit: 41533ecec8966636554faba44368a36d5d6c5347
2020-11-14 00:58:07 +00:00
David Porter
4bbb204f15
vendor: cadvisor v0.38.4
...
Kubernetes-commit: 8af7405f1730c4913c48c6dc494e319cb3015f69
2020-11-13 19:52:57 +00:00
Kubernetes Publisher
d396fd99eb
Merge pull request #96549 from caesarxuchao/net-sys-dep-update
...
update golang.org/x/net and golang.org/x/sys
Kubernetes-commit: 85cd7c530bf55cd369bdcb92a5a31d3d1547113f
2020-11-13 17:06:34 +00:00
Kubernetes Publisher
759e1a8119
Merge pull request #95614 from wilsonehusin/golint-client-go-transport
...
Fix golint failures in client-go/transport
Kubernetes-commit: 3b2746c9ea9e0fa247b01dca27634e509b385eda
2020-11-13 17:06:31 +00:00
Chao Xu
26433c83c0
update golang.org/x/net and golang.org/x/sys
...
Kubernetes-commit: 7b26cff1740ecfb8e6ac184539d1cb5dd66991c2
2020-11-13 05:15:22 +00:00
Kubernetes Publisher
30548acd0a
Merge pull request #96001 from serathius/datapolicy-client-go
...
Add datapolicy tags to staging/src/k8s.io/client-go/
Kubernetes-commit: f4a156eb29d51b73f52d69ab4c5f96e440eebc41
2020-11-12 20:25:28 +00:00
Antoine Pelisse
96c6b1c8c8
Update kube-openapi
...
Kubernetes-commit: 8cce122e7b6506b361032869f7115635f13ca96a
2020-11-10 15:09:03 -08:00
yue9944882
8ff8f8a3c2
APF: graduate API and types to beta
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
Kubernetes-commit: 849be447f563fc93a27a0827fb1185b885b57114
2020-11-04 16:33:14 +08:00
Marek Siarkowicz
e93788d387
Add datapolicy tags to staging/src/k8s.io/client-go/
...
Kubernetes-commit: e29c568c4a9cd45d15665345aa015e21bcff52dd
2020-10-29 18:15:52 +01:00
Kubernetes Publisher
04f89d4efe
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
Kubernetes-commit: 12d9183da03d86c65f9f17e3e28be3c7c18ed22a
2020-11-12 12:25:17 +00:00
Sergey Kanzhelev
381d44651b
GA of RuntimeClass feature gate and API
...
Kubernetes-commit: 06da0e5e74a99d5c6c2f4e120b2cd0c2c6f3caf4
2020-11-11 19:22:32 +00:00
Kubernetes Publisher
bef66adadf
Merge pull request #95954 from sttts/sttts-go-openapi
...
apiextensions: replace go-openapi with kube-openapi fork for validation
Kubernetes-commit: 0cba30d891cb77e813d7f19dcc5ae422076fcfe3
2020-11-09 16:25:15 +00:00
Dr. Stefan Schimanski
be00baa5eb
bump(k8s.io/kube-openapi)
...
Kubernetes-commit: dd1709ba46580af290712b0eca12acd00a78789d
2020-11-06 10:59:34 +01:00
Kubernetes Publisher
a2cda5636d
Merge pull request #96279 from cmluciano/cml/netutilsipv4
...
dualstack: cleanup IsIPv4 duplicates in favor of k8s/utils functions
Kubernetes-commit: 151c2799d1d76ae6a9847b89bdf912604477c2d5
2020-11-07 12:24:55 +00:00
Kubernetes Publisher
9950c71bb5
Merge pull request #74363 from aanm/fix-client-go-metrics
...
client-go/rest: fix finalURLTemplate for url base == "/"
Kubernetes-commit: 80c2f61939fb01720e6d96021cc3cd8c909bf34d
2020-11-06 00:29:52 +00:00
Christopher M. Luciano
1a0a999839
dualstack: incorporate IsIPv4 updates from utils repo
...
This dependency bump will allow for cleanup of duplicate code in
the dualstack e2e tests.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
Kubernetes-commit: 5303b3fbbd52f5092bdcbd3765347eb218485ca5
2020-11-05 14:25:23 -05:00
Kubernetes Publisher
1eb2027cd5
Merge pull request #96020 from deads2k/dynamiclist
...
update fake dynamic client to return GVK
Kubernetes-commit: dbd2be08fb0515599aadb897e0c1476abc8b2552
2020-11-05 04:24:28 +00:00
Kubernetes Publisher
bcecfeab18
Merge pull request #93293 from soltysh/loading_precedence
...
kubeconfig: add explicit path, if specified to loading precedence
Kubernetes-commit: 583d01a9bfc0c403bc8e1043f7046f1c8b5d7881
2020-11-05 00:24:32 +00:00
Kubernetes Publisher
68bb4a9525
Merge pull request #96154 from rf232/update_klog
...
Update Klog dependency
Kubernetes-commit: 3f6ec26eefcae1cdb4a43aa4e664a5f60fc7ca78
2020-11-04 16:24:36 +00:00
Rob Franken
01777546cc
Update Klog dependency
...
Updating Klog to pickup changes needed for log sanitization.
(https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1753-logs-sanitization )
Kubernetes-commit: c6685436fdae6fbb8ac7083b85ecfd47b5871e68
2020-11-03 20:16:25 +01:00
Kubernetes Publisher
534b10dd04
Merge pull request #95933 from brianpursley/kubernetes-95882
...
Fix bug in JSON path parser where an error occurs when a range is empty
Kubernetes-commit: cd99c63570eb1489dd631c12ea86db708dbdcd59
2020-11-03 12:24:46 +00:00
Kubernetes Publisher
4ef01cd5e2
Merge pull request #96108 from liggitt/revert-sys
...
Revert "Updated golang/x/net. Also updated golang.org/x/sys"
Kubernetes-commit: 770525fd3d47a1ef86aab886b62b73b3557457d5
2020-11-02 20:24:40 +00:00
Jordan Liggitt
3b0c685ad9
Revert "Updated golang/x/net. Also updated golang.org/x/sys"
...
Kubernetes-commit: 4012fb005205a2f6dbd2534d600c4f784b5c0210
2020-11-02 08:28:24 -05:00
Kubernetes Publisher
852de461ed
Merge pull request #96076 from caesarxuchao/update-deps
...
Updates golang/x/net and golang/x/sys
Kubernetes-commit: a0d23de0861d5a2fc446c417bf0c53fa1f51706e
2020-11-01 20:23:56 +00:00
brianpursley
135cef183c
Fix bug in JSON path parser where an error occurs when a range is empty
...
Kubernetes-commit: 10634c6093c84acc78181a26c93d8785e12802e4
2020-11-01 10:41:19 -05:00
Chao Xu
285943f1c0
Updated golang/x/net. Also updated golang.org/x/sys, as required by
...
hack/lint-dependencies.sh.
Kubernetes-commit: ec6e2321261b900089183ac61f1ac0040be5fa9c
2020-10-31 16:21:08 -07:00