Commit Graph

36387 Commits

Author SHA1 Message Date
yue9944882
f2162ce906 fixes test failures
sync up w/ storage-provider interface

update api-rule exception list
2019-09-26 01:06:01 -04:00
Bruce Ma
c4d3ee74fa use shuffle sharding validation in flowcontrol
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-09-26 01:06:01 -04:00
yue9944882
79b587fe8d refactor and reviews
fixes insecure handler chaining

reviews

revert clock

review clock
2019-09-26 01:06:01 -04:00
Mike Spreitzer
9b093f5639 Introduce NameAll in prioritization and fairness config models 2019-09-26 01:06:00 -04:00
yue9944882
0664c38931 refactor default configurations 2019-09-26 01:06:00 -04:00
yue9944882
7a156d2914 flow-control system
compute flow-distinguisher

config controller

plumbs default-confifuration into post-start-hook

addressing reviews

apiserver flow-control
2019-09-26 01:06:00 -04:00
yue9944882
f95d1c330e [DO NOT REVIEW] generated changes 2019-09-26 01:06:00 -04:00
yue9944882
99a4e51fee fixes local-up failures
disable server-side printing

fix test
2019-09-26 01:06:00 -04:00
yue9944882
add890ae27 addressing more reviews 2019-09-26 01:06:00 -04:00
yue9944882
42f2873e69 log2-based shuffle-sharding validation 2019-09-26 01:06:00 -04:00
yue9944882
30af3b3d1d [DO NOT REVIEW] bazel changes
bazel

bazel

bazel

[DO NOT REVIEW] code gens

[DO NOT REVIEW] lint configuration changes

golint failures

golint failure

gen
2019-09-26 01:06:00 -04:00
yue9944882
17c3da0b06 initial REST implementation
fmt

system

code

review: addressing review commits

doc

default
2019-09-26 01:06:00 -04:00
yue9944882
ab696f6ba3 plumbing req-mgmt into insecure filter 2019-09-26 01:05:59 -04:00
yue9944882
24f7323248 [DO NOT REVIEW]: trival codes 2019-09-26 01:05:59 -04:00
Kubernetes Prow Robot
4096a36bfd Merge pull request #83079 from robscott/endpointslice-owners
Adding owners for EndpointSlice controller
2019-09-25 13:52:13 -07:00
Kubernetes Prow Robot
3264ffbec4 Merge pull request #83047 from danielqsj/default-updateStrategy
fix the comments of default daemonset update strategy
2019-09-25 13:51:40 -07:00
Kubernetes Prow Robot
7de6f0eb95 Merge pull request #83035 from robscott/endpointslice-proxy-sort-perf
Updating EndpointSliceCache sort function to be significantly faster.
2019-09-25 13:51:29 -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
Kubernetes Prow Robot
8a106a5714 Merge pull request #82994 from yutedz/rm-persist-vol-mode
Remove unused func GetPersistentVolumeClaimVolumeMode
2019-09-25 13:51:04 -07:00
Kubernetes Prow Robot
49bd1defaa Merge pull request #82991 from yutedz/mk-file-close
Properly close the file in makeFile
2019-09-25 13:50:54 -07:00
Kubernetes Prow Robot
71c28e9b87 Merge pull request #82972 from yutedz/high-supported-ver
Remove unnecessary sorting for highestSupportedVersion
2019-09-25 13:50:44 -07:00
Kubernetes Prow Robot
6e960ef466 Merge pull request #82964 from yutedz/csi-drv-sync-err
Check error return from WaitForCacheSync
2019-09-25 13:50:34 -07:00
Kubernetes Prow Robot
05588f769d Merge pull request #82928 from chendotjs/simplify-regex
simplify regexp with raw string
2019-09-25 11:07:02 -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
0b4cccc9d1 Merge pull request #82912 from ahg-g/ahg-prefilter-update
An interface that allows pre-filter plugins to update their pre-calculated status
2019-09-25 11:06:40 -07:00
Kubernetes Prow Robot
8ad1aba7f5 Merge pull request #82465 from hprateek43/MoveGetPodPriority
Move GetPodPriority from /scheduler/util to /api/pod
2019-09-25 11:06:00 -07:00
Kubernetes Prow Robot
5675ef858e Merge pull request #82148 from bbourbie/fix_docker_credential
fix: adding padding the encoded docker auth field
2019-09-25 11:04:14 -07:00
Ted Yu
7c26e11d6f Properly close the file in makeFile 2019-09-25 10:14:39 -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
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
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
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
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
Rob Scott
30d0eca19f Adding owners for EndpointSlice controller 2019-09-24 11:45:15 -07: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
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
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
mengyang02
da072063d1 to use existing validating function 2019-09-24 20:16:17 +08: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
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
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
50196ce088 Merge pull request #82300 from lyft/cri-stats-nanocores-overflow-fix
pkg/kubelet: fix uint64 overflow when elapsed UsageCoreNanoSeconds exceeds 18446744073
2019-09-23 17:31:38 -07:00
Rob Scott
d4b694a497 Updating EndpointSliceCache sort function to be significantly faster.
The .IP() call that was previously used for sorting resulted in a call
to netutil to parse an IP out of an IP:Port string. This was very slow
and resulted in this sort taking up ~50% of total CPU util for
kube-proxy.
2019-09-23 17:12:54 -07:00
Angela Li
4301bbff08 Use ipv4 in wincat port forward 2019-09-23 17:10:01 -07:00