Commit Graph

7906 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0a6a465cf9 Merge pull request #83269 from RainbowMango/pr_remove_direct_reference_to_promethues_from_openstack
Remove direct reference to prometheus from openstack
2019-09-28 08:35:39 -07:00
RainbowMango
1c2ccc4197 Update bazel by hack/update-bazel.sh 2019-09-28 21:29:56 +08:00
RainbowMango
b8395a50ee Remove direct reference to Prometheus from openstack 2019-09-28 21:27:56 +08:00
Kubernetes Prow Robot
e89023cff3 Merge pull request #82890 from chewong/orphaned-public-ips
Fix #80571: Update service controller to prevent orphaned public IP addresses
2019-09-28 06:05:38 -07:00
Kubernetes Prow Robot
74d2822662 Merge pull request #72535 from tallclair/content-type
Always set content-type & nosniff
2019-09-27 18:43:39 -07:00
Kubernetes Prow Robot
fe29e0f444 Merge pull request #83131 from apelisse/remove-extra-yaml-parsing
Apply currently parses the yaml object 3 times, please remove 2
2019-09-27 16:09:40 -07:00
Kubernetes Prow Robot
7342823f3e Merge pull request #83223 from RainbowMango/pr_remove_direct_reference_to_prom_label
Remove direct reference to prometheus.Label
2019-09-27 11:21:36 -07:00
Kubernetes Prow Robot
cd95e57c71 Merge pull request #83071 from chendotjs/bytes-equal
replace bytes.Compare() with bytes.Equal()
2019-09-27 09:57:36 -07:00
Kubernetes Prow Robot
dd5efc420b Merge pull request #82511 from abursavich/keyusage
Fix typos in KeyUsage constant names
2019-09-27 03:23:35 -07:00
Kubernetes Prow Robot
2b4dc315a3 Merge pull request #80458 from zlabjp/fix-nonnamespaced-informer-gen
Fix informer-gen to honor nonNamespaced tag
2019-09-26 23:05:36 -07:00
RainbowMango
b915774a23 Update bazel by hack/update-bazel.sh 2019-09-27 11:13:41 +08:00
RainbowMango
77b3241df8 Remove direct reference to Prometheus.Label for vsphere 2019-09-27 11:11:26 +08:00
chenyaqi01
66be69bb0e replace bytes.Compare() with bytes.Equal() 2019-09-27 10:08:49 +08:00
Kubernetes Prow Robot
478c26c0dc Merge pull request #82033 from logicalhan/reviewers
add logicalhan to reviewers for api-machinery directories
2019-09-26 16:55:37 -07:00
Ernest Wong
590c1bb44b Address PR comment 2019-09-26 15:05:31 -07:00
Kubernetes Prow Robot
112ed56f1a Merge pull request #82847 from apelisse/improve-managed-fields
Improve fieldmanager tests and benchmarks
2019-09-26 14:40:06 -07:00
Kubernetes Prow Robot
29a52f5241 Merge pull request #82496 from hasheddan/azure-vmss-expand
use vmss instance view expansion and azure-sdk-for-go v33.1.0
2019-09-26 14:39:51 -07:00
Kubernetes Prow Robot
5c57ce3058 Merge pull request #82764 from yaron2/authimportfix
fix auth import statement in client-go
2019-09-26 13:03:05 -07:00
Kubernetes Prow Robot
9f036cd43d Merge pull request #80747 from danwinship/aws-nodeaddress-sorting
aws: sort addresses of multiple interfaces correctly
2019-09-26 10:49:06 -07:00
Kubernetes Prow Robot
d14943b0fb Merge pull request #81030 from ricky1993/leader_election_migrate
migrate leader election to lease API
2019-09-26 08:35:09 -07:00
chenyixiang
447295aff2 migrate leader election to lease API
Change-Id: I21fd5cdc1af59e456628cf15fc84b2d79db2eda0
2019-09-26 19:24:01 +08:00
Kubernetes Prow Robot
be657f7462 Merge pull request #83159 from RainbowMango/pr_remove_reference_to_prom_label
Remove direct reference to prometheus.Label from metrics API.
2019-09-26 01:25:37 -07:00
Kubernetes Prow Robot
d82ab4054d Merge pull request #81989 from RainbowMango/pr_cleanup_staticcheck_for_apiextension
Cleanup staticcheck issues for apiextension
2019-09-26 01:25:23 -07:00
RainbowMango
23837bb8f5 Remove direct reference to prometheus.Label from metrics API. 2019-09-26 12:12:12 +08:00
Kubernetes Prow Robot
fb1db2eba7 Merge pull request #82957 from RainbowMango/pr_handle_stability_level_default_better
Handle stability level default better
2019-09-25 19:43:07 -07:00
Kubernetes Prow Robot
45f7f70479 Merge pull request #80465 from answer1991/remove-apiserver-loopback-client-qps-limit
remove apiserver loopback client QPS limit
2019-09-25 17:15:07 -07:00
Antoine Pelisse
31c644a1e7 Apply current parses the yaml object 3 times
This is super expensive and not needed at all since we don't have to
reparse the entire object. Remove all allocations but the first one.
2019-09-25 14:07:40 -07:00
Kubernetes Prow Robot
28bcf55acc Merge pull request #83113 from yastij/bump-utils
bump k8s.io/utils to pickup ipallocator changes
2019-09-25 13:52:36 -07:00
Kubernetes Prow Robot
ea9a559093 Merge pull request #83075 from yutedz/pod-ready-time
Remove unnecessary traversal of pod.Status.Conditions
2019-09-25 13:52:03 -07:00
Kubernetes Prow Robot
6555c34743 Merge pull request #83022 from mm4tt/controller_ref
Optimize GetControllerOf method and add a benchmark for it
2019-09-25 13:51:14 -07:00
Antoine Pelisse
0b7ea8bb0e Add tests and benchmarks for endpoints and node 2019-09-25 12:51:58 -07:00
Kubernetes Prow Robot
08f46e425b Merge pull request #82932 from ashish-billore/mybranch2
Corrected the pod reporting and messages
2019-09-25 11:07:13 -07:00
Mahendra Kariya
3698100224 Fix golint errors in pkg/apis/core (#82919)
* Fix lint errors related to receiver name

Ref #68026

* Fix lint errors related to comments

Ref #68026

* Fix package name in comments

Ref #68026

* Rename Cpu to CPU

Ref #68026

* Fix lint errors related to naming convention

Ref #68026

* Remove deprecated field

DoNotUse_ExternalID has been deprecated and is not in use anymore.
It has been removed to fix lint errors related to underscores in field
names.

Ref #68026, #61966

* Include pkg/apis/core in golint check

Ref #68026

* Rename var to fix lint errors

Ref #68026

* Revert "Remove deprecated field"

This reverts commit 75e9bfc168077fcb9346e334b59d60a2c997735b.

Ref #82919

* Remove math from godoc

Ref #82919, #68026

* Remove underscore from var name

Ref #68026

* Rename var in staging core api type

Ref #68026
2019-09-25 11:06:51 -07:00
Kubernetes Prow Robot
dd8a23ca2e Merge pull request #82643 from ZP-AlwaysWin/dev02
Fix bug The statefulset have duplicate revision after resource was up…
2019-09-25 11:06:16 -07:00
Kubernetes Prow Robot
973629f742 Merge pull request #82410 from nikhita/informer-gen-package-name-dots
[v1.16.1] informer-gen: allow package names containing dots
2019-09-25 11:05:50 -07:00
Kubernetes Prow Robot
07025a5d9e Merge pull request #82409 from RainbowMango/pr_add_authentication_overall_latency_metrics
Add authentication overall latency metrics
2019-09-25 11:05:32 -07:00
Kubernetes Prow Robot
0676af36c5 Merge pull request #82388 from marun/unstructured-reflector
Add support for type checking Unstructured event objects via GVK to client-go's reflector
2019-09-25 11:05:14 -07:00
Kubernetes Prow Robot
327f53ba57 Merge pull request #83064 from liggitt/propagate-context
Propagate context to remote authorize/authenticate webhook calls
2019-09-25 09:32:01 -07:00
Yassine TIJANI
16fe4d7627 bump k8s.io/utils to pickup ipallocator changes
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-09-25 16:15:30 +02:00
Matt Matejczyk
01ccd2e19e Optimize GetControllerOf method
In addition create a similar method that doesn't copy objects.

Benchmark for the new no-copy method vs the old one:
```
benchmark                       old ns/op     new ns/op     delta
BenchmarkGetControllerOf-12     214           14.8          -93.08%

benchmark                       old allocs     new allocs     delta
BenchmarkGetControllerOf-12     1              0              -100.00%

benchmark                       old bytes     new bytes     delta
BenchmarkGetControllerOf-12     80            0             -100.00%
```

Benchamrk for the new (copy) method vs the old one:
```
benchmark                       old ns/op     new ns/op     delta
BenchmarkGetControllerOf-12     128           114           -10.94%

benchmark                       old allocs     new allocs     delta
BenchmarkGetControllerOf-12     1              1              +0.00%

benchmark                       old bytes     new bytes     delta
BenchmarkGetControllerOf-12     80            80            +0.00%

```

Overall there is a 10% improvement for the old vs new (copy) method and
huge improvent (x10) for the old vs new (no-copy).

I changed the IsControlledBy and a few other methods to use the new (no-copy) method.
2019-09-25 15:07:37 +02:00
Tatsuhiro Tsujikawa
937158b676 Modify test so that +genclient:nonNamespaced tag is exercised 2019-09-25 16:24:55 +09:00
ashish-billore
31e427b54c Corrected the pod reporting and messages
It is inconsistent and confusing to report pod count from all
namespaces but report message for only default namespace.
Added the namespace (default) reporting to clarify this.
Updated comments for usage clarity.
2019-09-25 14:17:44 +09:00
Jordan Liggitt
b78edd86b8 Plumb context to webhook calls 2019-09-24 21:59:59 -04:00
Jordan Liggitt
4c686ddc1c Propagate context to ExponentialBackoff 2019-09-24 21:59:59 -04:00
RainbowMango
31b08c8491 Fix a new staticcheck issue.
vendor/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go:167:2: this value of crd is never used (SA4006)
2019-09-25 09:50:56 +08:00
RainbowMango
ea75ee32c0 Fix staticcheck issues:
Dealing with unused functions/variables/types. (staticcheck U1000)
Dealing with value never used issue. (staticcheck SA4006)
Dealing with concurrency issue. (staticcheck SA2002 SA4010)
Remove packages from staticcheck failure files: apiextensions-apiserver
2019-09-25 09:40:25 +08:00
Ted Yu
936ae632a0 Remove unnecessary traversal of pod.Status.Conditions 2019-09-24 10:47:34 -07:00
Jordan Liggitt
92eb072989 Propagate context to Authorize() calls 2019-09-24 11:14:54 -04:00
Jordan Liggitt
4ffa91a388 Add context-propagating CreateContext methods to *Review clients 2019-09-24 11:08:00 -04:00
Maru Newby
2a836d1710 Run hack/update-bazel.sh 2019-09-24 14:47:02 +00:00