Commit Graph

76570 Commits

Author SHA1 Message Date
Clayton Coleman
316a87ce7d
Avoid allocating the watch shim object more than once
We can reset and reuse this object repeatedly without triggering an
allocation.
2019-03-26 23:36:49 -04:00
Jordan Liggitt
bef996d0a4 Only reject quota admission if status is missing relevant usage 2019-03-26 23:15:40 -04:00
Jordan Liggitt
27cd2be49f Update quota status with limits even when calculating errors 2019-03-26 23:15:40 -04:00
Jordan Liggitt
739df5452a Avoid deadlock in resource quota resync 2019-03-26 23:15:40 -04:00
Jordan Liggitt
e5f7af7058 Improve quota sync log messages 2019-03-26 23:15:40 -04:00
Jordan Liggitt
ec7a04bd20 Prevent quota controller using unsynced listers 2019-03-26 23:15:40 -04:00
Jordan Liggitt
8146fe47d8 Clean up test output 2019-03-26 23:15:39 -04:00
Jordan Liggitt
713a10d276 Fix race in quota sync test 2019-03-26 23:15:39 -04:00
Jordan Liggitt
0f9ebe5e16 Generated files 2019-03-26 23:15:39 -04:00
Jordan Liggitt
6eb082d6b0 Generate networkpolicies extensions/v1beta1 client 2019-03-26 23:15:39 -04:00
wangqingcan
8fd45d8300 clean up func podTimestamp 2019-03-27 11:05:19 +08:00
Kubernetes Prow Robot
42770799d3
Merge pull request #75743 from logicalhan/preshutdownerror
log preshutdowndown registration error if we encounter one
2019-03-26 19:27:00 -07:00
Kubernetes Prow Robot
2e05cdb7ae
Merge pull request #75739 from Huang-Wei/cleanup-preemption-comments
scheduler: correct dated comments on pod preemption
2019-03-26 19:26:47 -07:00
danielqsj
6b2e9e8af3 add completed job status in cronjob event 2019-03-27 09:48:55 +08:00
Kubernetes Prow Robot
d24fe8a801
Merge pull request #75735 from andrewsykim/update-install-etcd-link
fix link to etcd install docs for integration tests
2019-03-26 18:11:29 -07:00
Kubernetes Prow Robot
feb9bb151c
Merge pull request #75730 from wojtek-t/minor_perf_improvements
Avoid allocations in ByIndex() function
2019-03-26 18:11:16 -07:00
Kubernetes Prow Robot
df9e66628c
Merge pull request #75717 from wojtek-t/reduce_critical_sections
Reduce critical sections in cacher::Watch function
2019-03-26 18:11:02 -07:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
tiffany jernigan
ecbb090f32 Credential provider Provide takes image (clouds) 2019-03-27 01:00:26 +00:00
tiffany jernigan
847cb24aa1 Credential provider Provide takes image (general) 2019-03-27 01:00:26 +00:00
tiffany jernigan
81c4fde489 Remove aws cred provider dep on cloud provider 2019-03-27 01:00:26 +00:00
Benjamin Elder
0833a9cc38 fix kube::golang::is_instrumented_package 2019-03-26 17:17:16 -07:00
Kubernetes Prow Robot
094938895a
Merge pull request #75746 from verult/repd-min-size
Updated regional PD minimum size for zonal failover test
2019-03-26 16:59:00 -07:00
Kubernetes Prow Robot
4f465f206d
Merge pull request #75737 from logicalhan/metric-errors
log out metric registration errors instead of silently ignoring them
2019-03-26 16:58:47 -07:00
Cheng Pan
f7050a04ce Implement CSI migration logic for block volume 2019-03-26 22:22:03 +00:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
Kubernetes Prow Robot
1514bb2141
Merge pull request #75699 from smarterclayton/fast_encode
Avoid allocations when building SelfLinks and fast path escape
2019-03-26 15:10:29 -07:00
Kubernetes Prow Robot
2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Cheng Xing
6a02ebb30c Updated regional PD minimum size; changed regional PD failover test to use StorageClassTest to generate PVC template 2019-03-26 14:23:08 -07:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Han Kang
021f608294 log preshutdowndown registration error if we encounter one 2019-03-26 13:04:10 -07:00
Kubernetes Prow Robot
9c973c6d2c
Merge pull request #75515 from dougm/vsphere-token-auth
vSphere: add token auth support for tags client
2019-03-26 12:34:17 -07:00
Kubernetes Prow Robot
b0158cea16
Merge pull request #75399 from sttts/sttts-initial-bulk-openapi-merge
apiextensions: merge OpenAPI specs once after cache sync
2019-03-26 12:34:03 -07:00
Kubernetes Prow Robot
753a6edc37
Merge pull request #74616 from ialidzhikov/fluentd-1.4.0
Update fluentd to 1.4.0
2019-03-26 12:33:48 -07:00
Kubernetes Prow Robot
29566d0a65
Merge pull request #74341 from paulsubrata55/kube_proxy_sctp_fix
Issue in kube-proxy when IPVS is enabled and SCTP traffic is sent.
2019-03-26 12:33:33 -07:00
Kubernetes Prow Robot
11d472ea01
Merge pull request #72179 from WanLinghao/sa_controller
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-26 12:33:19 -07:00
Wei Huang
6897fda878
scheduler: correct dated comments on pod preemption
- correct wordings related with annotations - which hasn't been used since alpha version
2019-03-26 12:10:46 -07:00
Han Kang
8f63657e26 log out metric registration errors instead of silently ignoring them 2019-03-26 11:29:27 -07:00
Kubernetes Prow Robot
152f0a150e
Merge pull request #75693 from smarterclayton/speed_up_time_json
Reduce allocations in metav1.Time JSON serialization
2019-03-26 11:17:33 -07:00
Kubernetes Prow Robot
81d37386aa
Merge pull request #75168 from ialidzhikov/update-golang-version
Update golang to 1.12.0
2019-03-26 11:17:20 -07:00
Andrew Sy Kim
e26157df07 fix link to etcd install docs 2019-03-26 13:40:18 -04:00
Clayton Coleman
389a8436b5
Avoid allocations when building SelfLinks and fast path escape
A self link should only require one allocation, and we should skip
url.PathEscape() except when the path actually needs it.

Add a fuzz test to build random strings and verify them against
the optimized implementation. Add a new BenchmarkWatchHTTP_UTF8 that
covers when we have unicode names in the self link.

```
> before
BenchmarkGet-12          	   10000	    118863 ns/op	   17482 B/op	     130 allocs/op
BenchmarkWatchHTTP-12    	   30000	     38346 ns/op	    1893 B/op	      29 allocs/op

> after
BenchmarkGet-12               	   10000	    116218 ns/op	   17456 B/op	     130 allocs/op
BenchmarkWatchHTTP-12         	   50000	     35988 ns/op	    1571 B/op	      26 allocs/op
BenchmarkWatchHTTP_UTF8-12    	   50000	     41467 ns/op	    1928 B/op	      28 allocs/op
```

Saves 3 allocations in the fast path and 1 in the slow path (the
slow path has to build the buffer and then call url.EscapedPath
which always allocates).
2019-03-26 11:38:47 -04:00
wojtekt
7d46e27db1 Avoid allocations in ByIndex() function 2019-03-26 14:14:42 +01:00
fabriziopandini
5b675d6f00 e2e-kubeadm-new-test 2019-03-26 12:16:57 +01:00
Dr. Stefan Schimanski
a7f9ffd39f apiextensions: merge OpenAPI specs once after cache sync 2019-03-26 11:01:29 +01:00
Mans Matulewicz
68b8beeda1
update changelog
update changelog
2019-03-26 09:21:55 +01:00
wojtekt
010cb44808 Reduce critical sections in watchache 2019-03-26 08:44:51 +01:00
Kubernetes Prow Robot
7dfcacd1cf
Merge pull request #75700 from logicalhan/reflector-cleanup
cleanup of reflector metric code (finish removing unused code)
2019-03-25 23:13:31 -07:00
Kubernetes Prow Robot
bff4ecbe1b
Merge pull request #75685 from freehan/flaky-test
make NEG tests more resilient to API failures and add more failure lo…
2019-03-25 23:13:17 -07:00
Kubernetes Prow Robot
350dfccfe9
Merge pull request #75678 from javier-b-perez/debian-base
Bump debian-base images version to v1.0.0
2019-03-25 21:17:30 -07:00