Commit Graph

83601 Commits

Author SHA1 Message Date
yue9944882
99a4e51fee fixes local-up failures
disable server-side printing

fix test
2019-09-26 01:06:00 -04:00
Bruce Ma
6e0f50c974 make benchmark tests ever-changing and add uniform distribution test
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-09-26 01:06:00 -04:00
Mike Spreitzer
a8e9921880 Start drafting a unit test of QueueSet
The test runs a scenario over time and evaluates fairness of the
result.

There is no real QueueSet implementation now, so only a dummy is
tested.

In other news, this change introduces a dummy QueueSet implementation
that exerts no control.
2019-09-26 01:06:00 -04:00
Bruce Ma
e7f224651c some refactors on shuffle sharding
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-09-26 01:06:00 -04:00
Bruce Ma
3328046a34 shuffle sharding: add some benchmarks and tests
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-09-26 01:06:00 -04:00
Bruce Ma
1d30ce12bc add shuffle sharding utils
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
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
Mike Spreitzer
3926050733 Continue refactoring started in PR 80628
Moved the top-level logic associated with the data in
k8s.io/apiserver/pkg/util/flowcontrol into the same package, greatly
simplifying its interface.

Also plumbed the call to NewRequestManagementSystem (1) into
`RecommendedOptions::ApplyTo(RecommendedConfig)` for running in
aggregated servers and (2) into buildGenericConfig in the
kube-apiserver code.

Also moved the definitions of FairQueuingSystem and FairQueuingFactory
into the directory where Aaron is developing his implementation of
those.

Also did some renaming to satisfy golint: FairQueuingSytem became
QueueSet, and FairQueuingFactory became QueueSetFactory.

Also realized that the clock should be passed in every Create... call
to the Factory, the Factory should hold the clock to use (as well as
the WaitGroup that will be helpful for testing).
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
7b6ef2555c refactor request management filter 2019-09-26 01:05:59 -04:00
Aaron Prindle
dfadb6c9ff update generated code 2019-09-26 01:05:59 -04:00
Aaron Prindle
e17f0671dd update api/flowcontrol/v1alpha1 to have correct Group and Version 2019-09-26 01:05:59 -04:00
Mike Spreitzer
c42702f87a Simplified FairQueuingSystem interface
.. and introduced a tiny bit of starting to work with config objects.
2019-09-26 01:05:59 -04:00
Mike Spreitzer
faf3723ea6 A little more thought about concurrency in the reqmgmt filter
(1) removed the idea of multiple config queue workers; it will be
simpler and adequate if there is only 1.

(2) attempted to clarify the comment on FairQueuingSystem::DoOnEmpty
to (a) make the division of responsibilities clearer, (b) make a
precise statement of the semantics, and (c) be less prescriptive of
how the filter uses this method.

(this is the third edition of this change)
2019-09-26 01:05:59 -04:00
Mike Spreitzer
c79ec2fcf3 Expanded comment on FairQueuingSystem::DoOnEmpty 2019-09-26 01:05:59 -04:00
Mike Spreitzer
1c8f89b554 update bazel by hack 2019-09-26 01:05:59 -04:00
Mike Spreitzer
89caade3cf Started drafting skeleton of the request management filter 2019-09-26 01:05:59 -04:00
yue9944882
24f7323248 [DO NOT REVIEW]: trival codes 2019-09-26 01:05:59 -04:00
yue9944882
601da29814 versioned flow-control api model 2019-09-26 01:05:59 -04: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
Kubernetes Prow Robot
ff8716f4cf Merge pull request #83116 from neolit123/1.16-OWNERS
kubeadm: update OWNERS for 1.16
2019-09-25 13:52:48 -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
1bfcfa68a9 Merge pull request #83093 from ixdy/remove-mondo-test-tarball
Stop building the kubernetes-test mondo tarball
2019-09-25 13:52:24 -07: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
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
62965b9e47 Merge pull request #83067 from vivekbagade/lifecycle
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 13:51:51 -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
fa1d4bb767 Merge pull request #82963 from zouyee/unbound
fix docker_build_opts bound variable
2019-09-25 13:50:20 -07:00
Kubernetes Prow Robot
f4ff0e37d9 Merge pull request #78418 from mysunshine92/fix-typo-e2e-node
fix typos  in /test/e2e_node
2019-09-25 13:50:06 -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
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
4568c61526 Merge pull request #82664 from johnSchnake/disruptiveConformanceTest
Allow disruptive conformance tests and tag 2 as such
2019-09-25 11:06:27 -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
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
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
129a13af98 Merge pull request #82347 from pjbgf/non-root
Harden kube-dns to run with less privileges.
2019-09-25 11:04:59 -07:00