Commit Graph

11099 Commits

Author SHA1 Message Date
Chao Xu
00a3db0063 Add the storageversion.Manager interface
The interface exposes methods to record storage versions in
ResourceInfo, to update StorageVersions, and to check if storageVersion
updated have completed.
2020-09-10 10:51:07 -07:00
Kubernetes Prow Robot
6085d90897 Merge pull request #92064 from roycaihw/storage-version/serve-api
Serve storage-versions API in kube-apiserver
2020-09-10 10:45:48 -07:00
Kubernetes Prow Robot
0ea3987e53 Merge pull request #93785 from SataQiu/fix-comment-20200807
Fix incorrect comment in runtime ObjectKind interface
2020-09-10 09:33:45 -07:00
Kubernetes Prow Robot
ed3be9d7b9 Merge pull request #93039 from endocrimes/dani/update-go-digest-v1_0_0
deps: opencontainers/go-digest -> v1.0.0
2020-09-09 17:01:44 -07:00
Kubernetes Prow Robot
53330f799a Merge pull request #94639 from wojtek-t/custom_metrics_rountrip_test
Add roundtrip tests for metrics repo
2020-09-09 06:36:17 -07:00
Kubernetes Prow Robot
0e58014d71 Merge pull request #94594 from knight42/fix/TestGetListener
test(portforward): deflake TestGetListener
2020-09-09 05:39:53 -07:00
Kubernetes Prow Robot
425edbb397 Merge pull request #94589 from p0lyn0mial/racy-serialize-object
fixes a data race in SerializeObject function
2020-09-09 04:35:53 -07:00
knight42
bb68741fcb test(portforward): deflake TestGetListener
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-09 15:40:56 +08:00
wojtekt
fa51417c9f Add roundtrip tests for metrics repo 2020-09-09 08:37:53 +02:00
Kubernetes Prow Robot
1c6057b59c Merge pull request #94605 from yttan/lint
fix golint failures for staging/src/k8s.io/client-go/examples/workqueue
2020-09-08 21:35:52 -07:00
Haowei Cai
07506ab384 generated 2020-09-08 19:14:36 -07:00
Chao Xu
86dd4ce3b5 Let kube-apiserver host the storage version API
Co-authored-by: Haowei Cai <haoweic@google.com>
2020-09-08 19:14:36 -07:00
Kubernetes Prow Robot
5e95af8c7d Merge pull request #93087 from roycaihw/storage-version/move-types
Move the StorageVersions types to kube-apiserver
2020-09-08 16:33:52 -07:00
Kubernetes Prow Robot
8ba20a8b43 Merge pull request #94629 from dims/sort-list-of-formats-for-logging-format-description
Sort list of formats for --logging-format description to make it deterministic
2020-09-08 15:05:52 -07:00
Haowei Cai
769f057004 generated 2020-09-08 14:34:55 -07:00
Haowei Cai
d7ff169552 fix import paths 2020-09-08 14:34:55 -07:00
Haowei Cai
096f32d1b3 update doc.go and register.go 2020-09-08 14:34:55 -07:00
Haowei Cai
1f4a4e9040 move apiserverinternal types to kube-apiserver
move versioned types to k8s.io/api;
cleanup generated files
2020-09-08 14:34:55 -07:00
Kubernetes Prow Robot
6c824ec976 Merge pull request #94623 from answer1991/disable-goaway-ut
Skip TestClientReceivedGOAWAY
2020-09-08 12:30:12 -07:00
Kubernetes Prow Robot
48e268d6bf Merge pull request #94616 from dims/add-justaugustus-for-staging/publishing
Add Stephen Augustus as Reviewer for staging/publishing
2020-09-08 12:30:03 -07:00
Davanum Srinivas
fdbb32884e Sort list of formats for --logging-format description to make it deterministic
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-08 15:22:08 -04:00
chenjun.cj
3a4ae287d4 skip TestClientReceivedGOAWAY 2020-09-09 00:26:24 +08:00
Kubernetes Prow Robot
3fc1bc76a9 Merge pull request #94481 from wojtek-t/fix_custom_metrics
Cleanup custom metrics conversion functions
2020-09-08 07:33:57 -07:00
Davanum Srinivas
61ad35d27a Add Stephen Augustus as Reviewer for staging/publishing
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-08 08:38:14 -04:00
Kubernetes Prow Robot
cfaa2c4b66 Merge pull request #88337 from mgugino-upstream-stage/drain-custom-filters
kubectl/drain add support for custom pod filters
2020-09-08 04:53:43 -07:00
yttan
d3db1ec12d fix golint failures for staging/src/k8s.io/client-go/examples/workqueue 2020-09-08 15:02:40 +08:00
Kubernetes Prow Robot
4fd93ff852 Merge pull request #94114 from MarcPow/azure-provider-ip-tags
Azure Cloud Provider should support Service annotations that allow for ip-tag control over the public ips created for LoadBalancer Services
2020-09-07 20:59:42 -07:00
Kubernetes Prow Robot
86cbfc3ca2 Merge pull request #94570 from knight42/fix/TestEventSeriesf
test(tools::events): deflake TestEventSeriesf
2020-09-07 07:11:41 -07:00
Lukasz Szaszkiewicz
e6f98311d0 deferredResponseWriter returns after calling the Close() method
previously all sorts of errors including a data race were possible because deferredResponseWriter resets the writer and returns it to the pool.

an attempt to write to a nil writer will lead to "invalid memory address or nil pointer dereference"
sharing the same instance of deferredResponseWriter might lead to "index out of range [43] with length 30" and "recovered from err index > windowEnd" errors
2020-09-07 16:07:04 +02:00
knight42
d9bff7b276 test(tools::events): deflake TestEventSeriesf
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-07 19:43:55 +08:00
Kubernetes Prow Robot
c06bc2f6e9 Merge pull request #94363 from mborsz/patch-13
Add WatchListPageSize to cache.Config
2020-09-07 00:13:41 -07:00
Kubernetes Prow Robot
2a8640b42a Merge pull request #94386 from JornShen/cleanup_testutil_metrics
clean up testutil/metrics.go
2020-09-06 22:17:55 -07:00
Kubernetes Prow Robot
35e235bba7 Merge pull request #94297 from MarcPow/remove-service-annotation-disable-tcp-reset
Remove azure-load-balancer-disable-tcp-reset annotation
2020-09-06 22:17:41 -07:00
Kubernetes Prow Robot
01e9ddac80 Merge pull request #94265 from andyzhangx/only-update-data-disk
only update Azure data disks when attach/detach
2020-09-06 20:55:55 -07:00
Kubernetes Prow Robot
e7420a483f Merge pull request #94078 from DataDog/armclient-errors-handling
ARM client: survive empty response and error
2020-09-06 20:55:42 -07:00
niqi
88c72cc3ad Add metrics for azure service operations (route and loadbalancer). 2020-09-06 17:44:11 +08:00
Kubernetes Prow Robot
16ea9dc6bc Merge pull request #91423 from gaurav1086/kubectl_use_FprintF
kubectl: Use Fprintf
2020-09-05 15:07:41 -07:00
Kubernetes Prow Robot
ec8a54b5ea Merge pull request #94556 from knight42/fix/TestMetrics
test(workqueue): deflake TestMetrics
2020-09-05 12:09:40 -07:00
knight42
1d92314f26 test(watch-tool): deflake TestRetryWatcherToFinishWithUnreadEvents
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-06 00:06:21 +08:00
Gaurav Singh
b326948a9a kubectl: Use Fprintf
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Fix typo

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Change Fprintf to Fprintln

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Use %q instead of %s

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Change %q to %s
2020-09-05 10:23:15 -04:00
knight42
b70e1d836c test(workqueue): deflake TestMetrics
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 18:50:45 +08:00
Kubernetes Prow Robot
0f466ba177 Merge pull request #94537 from knight42/fix/TestCacheNoConcurrentGet
test(azure): Deflake TestCacheNoConcurrentGet
2020-09-04 16:59:41 -07:00
Jordan Liggitt
ec3faa1821 Deflake serving options, avoid hard-coding ports 2020-09-04 15:56:08 -04:00
knight42
2b1395a88a fix(azure::cache): TimedCache.Getter should be called once on the same key
If a key have't been saved in TimedCache, and there are multiple
goroutines getting this key, TimedCache.Getter might be invoked multiple
times because the entry is overwritten in TimedCache.getInternal.

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 02:44:36 +08:00
knight42
90ddd5f721 test(azure::cache): deflake TestCacheNoConcurrentGet
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 02:44:36 +08:00
Jordan Liggitt
dbdd8c5a0c Skip TestGOAWAYConcurrency 2020-09-04 12:07:02 -04:00
knight42
1f235c858c test(apiserver): deflake TestClientReceivedGOAWAY
protect `localAddr` from concurrent read and write

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-04 11:51:47 -04:00
Kubernetes Prow Robot
2373477aea Merge pull request #94390 from answer1991/more-goaway-testcases
More testcases for GOAWAY
2020-09-04 04:43:40 -07:00
Kubernetes Prow Robot
62321af7ab Merge pull request #94483 from derekwaynecarr/improve-debugging-event-flake
Improve ability to debug Events e2e failure
2020-09-04 03:32:33 -07:00
Kubernetes Prow Robot
3f9123fc30 Merge pull request #94010 from ghostsquad/docs/hpa-v2beta-type-missing-external
docs(api): 📝  Fix HPA docs with addition of "External" type
2020-09-04 03:32:09 -07:00