Commit Graph

76428 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
0162b98a4f
Merge pull request #75650 from xichengliudui/add-xichengliudui-to-onwers
Add @xichengliudui to test/OWNERS
2019-03-25 21:17:17 -07:00
Kubernetes Prow Robot
2cda7d29e8
Merge pull request #75690 from oomichi/golint-e2e-framework-d-e
Fix golint failures of e2e/framework/[d-e]*.go
2019-03-25 19:47:28 -07:00
Kubernetes Prow Robot
1e36b6f47a
Merge pull request #75640 from fabriziopandini/e2e-kubeadm-refactor
e2e kubeadm refactor
2019-03-25 19:47:15 -07:00
Jun Gong
042b83ba73 Pick pods for preemption based on StartTime of pods when priorities are equal 2019-03-26 09:04:50 +08:00
Kubernetes Prow Robot
e7eb742c19
Merge pull request #75657 from guilhermeoki/docs/sample-controller
sample-controller: update README
2019-03-25 17:45:00 -07:00
Kubernetes Prow Robot
63ffa3cce6
Merge pull request #75623 from oomichi/golint-e2e-framework-k-l
Fix golint failures of e2e/framework/[k-l]*.go
2019-03-25 17:44:47 -07:00
Minhan Xia
600e8b0eba make NEG tests more resilient to API failures and add more failure logging 2019-03-25 16:53:33 -07:00
Kubernetes Prow Robot
1cb550295a
Merge pull request #75696 from jeefy/1.14-relnotes
Spelling/grammar fixes for 1.14 release notes
2019-03-25 15:50:19 -07:00
Clayton Coleman
b405cdf85b
Reduce allocations in metav1.Time JSON serialization
Time has a limited set of allowed characters and so can bypass part of
the expensive checking done for valid JSON characters.

```
BenchmarkGet-12          	   10000	    111846 ns/op	   17273 B/op	     130 allocs/op
BenchmarkWatchHTTP-12    	   50000	     37830 ns/op	    1886 B/op	      29 allocs/op

BenchmarkGet-12          	   20000	    115917 ns/op	   17344 B/op	     130 allocs/op
BenchmarkWatchHTTP-12    	   50000	     36741 ns/op	    1775 B/op	      24 allocs/op
```

Can improve CRD watch performance by 5-10% for small objects.
2019-03-25 18:17:04 -04:00
Han Kang
f7c23b1c1d cleanup of reflector metric code (finish removing unused code) 2019-03-25 15:12:09 -07:00
Jeffrey Sica
f04a24f377 spelling/grammar fixes 2019-03-25 17:32:51 -04:00
Kenichi Omichi
65e6e46515 Fix golint failures of e2e/framework/[d-e]*.go
This fixes golint failures on the following files:
- test/e2e/framework/deployment_util.go
- test/e2e/framework/exec_util.go

Cleanup:
- ScaleDeployment() was not used at all, so let's remove it.
- ExecCommandInPod() and ExecCommandInPodWithFullOutput() were called
  in the framework only, so let's make them local.
2019-03-25 20:42:11 +00:00
Kubernetes Prow Robot
428a8e04d4
Merge pull request #75458 from jingxu97/March/raceofActualDesiredState
Fix race condition between actual and desired state in kublet volume manager
2019-03-25 13:24:51 -07:00
Kubernetes Prow Robot
f3efd1d0b7
Merge pull request #75036 from bart0sh/PR0065-kubeadm-replace-RequiredIPVSKernelModulesAvailable-check
kubeadm: reimplement IPVS check
2019-03-25 13:24:38 -07:00
Kubernetes Prow Robot
68f839662d
Merge pull request #74042 from tedyu/master
Reduce unnecessary Map in node_controller#nodeAddressesChangeDetected
2019-03-25 13:24:24 -07:00
Kenichi Omichi
20074882db Fix golint failures of e2e/framework/[k-l]*.go
In addition, this replaces the combination of GetCPUSummary() and
FormatCPUSummary() with LogCPUSummary() in e2e/node/kubelet_perf.go
because that is completely same.
2019-03-25 19:46:51 +00:00
Kubernetes Prow Robot
0603331ea8
Merge pull request #75659 from alejandrox1/bump-jsonpointer-jsonreference-version
Bump go-openapi/jsonpointer and go-openapi/jsonreference versions
2019-03-25 12:11:00 -07:00
Kubernetes Prow Robot
0fd410c4fc
Merge pull request #75486 from misterikkit/metrics-client
Fix fake clientsets in metrics.k8s.io.
2019-03-25 12:10:46 -07:00
Kubernetes Prow Robot
9e1cf75bd1
Merge pull request #75381 from rramkumar1/configure-scripts-for-ingress-yaml
Plumb CUSTOM_INGRESS_YAML into other setup scripts
2019-03-25 12:10:33 -07:00
Kubernetes Prow Robot
e1f8d1e9ca
Merge pull request #74919 from pivotal-k8s/vsphere-windows-uuid
Fix Windows to read VM UUIDs from serial numbers
2019-03-25 12:10:20 -07:00
Javier Pérez Hernández
d554690110 Bump debian-base images version to v1.0.0
Change-Id: I6b924f0102f3c8490c6f71efb471ebe08827d712
2019-03-25 12:10:14 -07:00
Tim Allclair
a387409500 Modernize PSP unit test 2019-03-25 11:46:36 -07:00
Tim Allclair
e5d2cad7b9 Refactor PSP provider 2019-03-25 11:46:36 -07:00
Doug MacEachern
85907f6947 vSphere: add token auth support for tags client
SAML auth support for the vCenter rest API endpoint came to govmomi
a bit after Zone support came to vSphere Cloud Provider.

Fixes #75511
2019-03-25 10:08:08 -07:00
Doug MacEachern
a2d975e02b vsphere: govmomi rest API simulator requires authentication 2019-03-25 10:08:08 -07:00