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
Vivek Bagade
24f15a5823
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 10:53:28 +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
danielqsj
acb35798b8
fix default daemonset update strategy
2019-09-25 08:31:13 +08:00
Ted Yu
23c7405fe0
Remove unnecessary sorting for highestSupportedVersion
2019-09-24 13:59:25 -07:00
Kubernetes Prow Robot
948870b584
Merge pull request #83029 from lzang/master
...
Fix the cluster role for typha horizontal scaler.
2019-09-24 13:37:53 -07:00
Kubernetes Prow Robot
8274bec900
Merge pull request #82990 from SataQiu/cleanup-scheduler-20190922
...
Clean up code about scheduler algorithm
2019-09-24 13:37:38 -07:00
Kubernetes Prow Robot
2e4d02e9ab
Merge pull request #82909 from hwdef/del-unused-var1
...
fix(pkg): delete unused var or const
2019-09-24 13:37:26 -07:00
John Schnake
d0ab1f06fb
Allow disruptive conformance tests and marks 2
...
- Adjusts tooling to allow disrutpive tests to be marked conformance
- Updates the corresponding tests
- Marks 2 tests as disruptive
2019-09-24 14:17:37 -05:00
Kubernetes Prow Robot
06fc5b7f17
Merge pull request #83060 from m3ngyang/mode-valid
...
to use existing validating function
2019-09-24 11:45:38 -07:00
Kubernetes Prow Robot
ba19458dae
Merge pull request #82910 from hwdef/del-unused-var2
...
fix(test): delete unused unused var or const
2019-09-24 11:45:29 -07:00
Rob Scott
30d0eca19f
Adding owners for EndpointSlice controller
2019-09-24 11:45:15 -07:00
Ted Yu
936ae632a0
Remove unnecessary traversal of pod.Status.Conditions
2019-09-24 10:47:34 -07:00
Jeff Grafton
967032138f
Stop building the kubernetes-test mondo tarball
2019-09-24 10:34:36 -07:00
Dan Winship
ec4c1a1c05
Add e2enode.GetRandomReadySchedulableNode, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want a single ready, schedulable node
2019-09-24 13:03:40 -04:00
Dan Winship
3c445b2ad0
Add e2enode.GetBoundedReadySchedulableNodes, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want at-most-N nodes
2019-09-24 13:03:40 -04:00
Dan Winship
71b02dd422
Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
...
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
Abdullah Gharaibeh
37b9e6d1ea
An interface that allows pre-filter plugins to update their pre-calculated.
...
This is needed to allow efficient preemption simulations: during preemption, we remove/add pods from each node before running the filter plugins again to evaluate whether removing/adding specific pods will allow the incoming pod to be scheduled on the node. Instead of calling prefilter again, we should allow the plugin to do incremental update to its pre-computed state.
2019-09-24 13:01:50 -04:00
Harsh Singh
6a9ef7f04f
Move GetPodPriority from /scheduler/util to /api/pod
2019-09-24 22:02:13 +05:30
Kubernetes Prow Robot
512eccac1f
Merge pull request #83008 from reith/local-cluster-webhook-conf
...
hack/local-up-cluster.sh: ability to configure auth webhooks
2019-09-24 08:58:34 -07:00
Kubernetes Prow Robot
4d18142120
Merge pull request #82998 from zouyee/lookforstring
...
cleanup unused function LookForStringInFile
2019-09-24 08:58:23 -07:00
Kubernetes Prow Robot
ac70f166b1
Merge pull request #82976 from yutedz/clean-rbd-file
...
Remove error check which is always false in RBDUtil#cleanOldRBDFile
2019-09-24 08:58:12 -07:00
Kubernetes Prow Robot
637b24d8ad
Merge pull request #82717 from hwdef/use-log-func2
...
use log func in test/e2e/apimachinery
2019-09-24 08:57:58 -07:00
Kubernetes Prow Robot
5eb830a819
Merge pull request #81978 from carlory/fix-test-02
...
cleanup test code in upgrades and autoscaling pkg
2019-09-24 08:57:43 -07:00
Kubernetes Prow Robot
7c09b0b1ec
Merge pull request #81911 from ahmad-diaa/use-scheduler-in-createConfiguratorArgsWithPodInformer
...
Use scheduler.New() Instead of factory.NewConfigFactory() in Integration Test scheduler_test.go
2019-09-24 08:57:28 -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
Maru Newby
237dbfd8ad
Add support for type checking Unstructured via GVK in reflector
...
It was previously possible to instantiate `Reflector` with
`*unstructured.Unstructured` as the expected type but this did not
support checking that event objects were of the correct API
type (e.g. if event object was `v1.Pod` in `Unstructured` form but
`v1.Service` was expected). This commit adds support for providing a
GVK via an `Unstructured` expected type to compare with the GVK of
event objects. The GVK will also be used in reflector log output.
2019-09-24 14:46:59 +00:00
ZP-AlwaysWin
e081d1dca6
Fix bug The statefulset have duplicate revision after resource was updated
2019-09-24 21:20:24 +08:00
mengyang02
da072063d1
to use existing validating function
2019-09-24 20:16:17 +08:00
Kubernetes Prow Robot
0541d0bb79
Merge pull request #83018 from jfbai/fix-remove-duplicated-field-in-eventKey
...
fix: remove reportingInstance field in eventKey.
2019-09-24 04:53:27 -07:00
Kubernetes Prow Robot
e31f1ba53e
Merge pull request #83010 from clarklee92/use-log-functions-of-e2e/autoscaling
...
Use log functions of core framework on test/e2e/autoscaling
2019-09-24 02:23:30 -07:00
Kubernetes Prow Robot
4e63af2324
Merge pull request #83033 from ConnorDoyle/rename-socketmask
...
Rename package socketmask to bitmask.
2019-09-24 00:26:02 -07:00
Kubernetes Prow Robot
6c9d3a6ea9
Merge pull request #83031 from Katharine/specify-coverage-dir
...
Add KUBE_COVER_REPORT_DIR to specify coverage output dir.
2019-09-24 00:25:52 -07:00
Kubernetes Prow Robot
eccb813183
Merge pull request #83013 from clarklee92/use-log-functions-of-e2e/upgrades
...
Use log functions of core framework on test/e2e/upgrades
2019-09-24 00:25:41 -07:00
Kubernetes Prow Robot
aba654f96b
Merge pull request #81744 from praseodym/fix-staticcheck-pkg/scheduler
...
Fix staticcheck failures for pkg/scheduler/...
2019-09-24 00:25:27 -07:00
Kubernetes Prow Robot
9be907d792
Merge pull request #83019 from RainbowMango/pr_wrap_prom_Labels
...
Wrap promethues.Labels to stability framework.
2019-09-23 21:33:25 -07:00
RainbowMango
4127525e9b
Migrate stability level handle functionality overall metrics package
2019-09-24 12:27:21 +08:00
RainbowMango
9ec270804a
Handle metrics.StabilityLevel default value better.
...
Provide a method setDefault() to StabilityLevel type.
Update bazel by hack/update-bazel.sh
2019-09-24 12:27:07 +08:00
Kubernetes Prow Robot
f243640e22
Merge pull request #83036 from liyanhui1228/win_portforward
...
Use ipv4 in wincat port forward
2019-09-23 19:01:26 -07:00
Kubernetes Prow Robot
17b3e30c9b
Merge pull request #82974 from yutedz/csi-supp-stage
...
Come out of loop when RPC_STAGE_UNSTAGE_VOLUME is found
2019-09-23 17:32:20 -07:00
Kubernetes Prow Robot
c234e5bac6
Merge pull request #82802 from deads2k/reduce-max-backoff-for-namespace
...
make namespace-lifecycle controller more responsive
2019-09-23 17:32:09 -07:00
Kubernetes Prow Robot
7266b1b487
Merge pull request #82801 from krzyzacy/auth-curl
...
auth/cloud-platform is a superset of devstorage.
2019-09-23 17:31:53 -07:00