Commit Graph

1313 Commits

Author SHA1 Message Date
yue9944882
1a9c427757 minor fixes 2019-09-26 01:06:01 -04:00
yue9944882
cf399d2e7a [PATCH] Fix bugs and names in API priority and fairness 2019-09-26 01:06:01 -04:00
yue9944882
f2162ce906 fixes test failures
sync up w/ storage-provider interface

update api-rule exception list
2019-09-26 01:06:01 -04:00
yue9944882
c1259dee97 prometheus metrics 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
05abd0c07d More work on shuffle sharding utils
Changes following up on PR #807810 .

Made the validation checking function return a slice of error messages
rather than just a bit.

Replaced all the `int32` with `int` because this is intended for more
than just the priority-and-faireness feature and so should not be a
slave to its configuration datatypes.

Introduced ShuffleAndDealIntoHand, to make memory allocation the
caller's problem/privilege.

Made the hand uniformity tester avoid reflection, evaluate the
histogram against the expected range of counts, and run multiple test
cases, including one in which the number of hash values is a power of
two with four extra bits (as the validation check requires) and one in
which the deck size is not a power of two.

Updated the fairqueuing implementation to use the shuffle sharding
utility package.
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
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
7b6ef2555c refactor 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
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
Kubernetes Prow Robot
e519736dfd Merge pull request #79261 from draveness/feature/bump-prometheus-common
feat: bump prometheus common to v0.1.0
2019-09-23 14:55:25 -07:00
danielqsj
c2a4906152 Bump k8s.io/klog to v1.0.0 2019-09-23 16:51:43 +08:00
draveness
57da7a3508 feat: bump github.com/prometheus/procfs to v0.0.2 2019-09-22 20:04:15 +08:00
draveness
ac9b2516d4 feat: bump github.com/prometheus/client_model to v0.0.0-20190129233127-fd36f4220a90 2019-09-22 20:04:15 +08:00
draveness
dcd413ae5f feat: bump github.com/beorn7/perks to v1.0.0 2019-09-22 20:04:15 +08:00
draveness
270df13e4f feat: bump github.com/prometheus/client_golang to v0.9.4 2019-09-22 20:04:08 +08:00
draveness
c42393c16d feat: bump github.com/prometheus/common to v0.4.1 2019-09-22 20:04:01 +08:00
Kubernetes Prow Robot
124ed02c93 Merge pull request #82805 from liggitt/bump-heketi
Bump github.com/heketi/heketi to c2e2a4ab7ab9
2019-09-17 16:55:27 -07:00
Jordan Liggitt
a1b31aaf74 Bump github.com/heketi/heketi to c2e2a4ab7ab9 2019-09-17 16:54:46 -04:00
Han Kang
866ea74326 remove pkg/version and some of redundant copies of it
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Kubernetes Prow Robot
4dd1e3fa43 Merge pull request #82585 from wojtek-t/fix_meta_internalversion_codecs
Ensure conversions are registered for metainternalversion codecs
2019-09-12 17:26:31 -07:00
wojtekt
54163527a6 Ensure conversions are registered for metainternalversion codecs 2019-09-12 19:32:02 +02:00
Carlos de Paula
8cd98fbd60 Bump gonvml module and remove CGO dependency.
Signed-off-by: Carlos de Paula <me@carlosedp.com>
2019-09-04 15:27:57 -03:00
Kubernetes Prow Robot
443002fcb7 Merge pull request #81413 from Bisnode/OIDC-honour-nbf
bump github.com/coreos/go-oidc dep to pick up nbf enforcement
2019-08-31 04:37:46 -07:00
Kubernetes Prow Robot
ab162cd28c Merge pull request #77354 from jennybuckley/crd-apply
Use CRD validation field in server-side apply
2019-08-30 23:53:47 -07:00
Anders Eknert
5e6162c614 Honour "nbf" claim if present in ID token 2019-08-31 08:45:02 +02:00
David Ashpole
5420d84160 update cAdvisor godeps to v0.34.0 release 2019-08-30 10:31:03 -07:00
Kubernetes Prow Robot
45522ebaca Merge pull request #82087 from soltysh/cp_back
Move kubectl cp back to k/k
2019-08-30 06:25:58 -07:00
jennybuckley
badd5b9a26 Update generated 2019-08-29 19:10:28 -07:00
Anusha Ramineni
26b03a4777 Use k8s.io/utils package 2019-08-29 19:09:15 +05:30
Chris Hoge
3d27daf7d2 Update modules for openstack staging. 2019-08-29 19:09:15 +05:30
Anusha Ramineni
a75c5bc50b Move Openstack provider to staging
This commit moves the openstack provider to staging
2019-08-29 19:09:14 +05:30
Maciej Szulik
ab1c56ae87 Move kubectl cp back to k/k 2019-08-29 09:00:47 +02:00
Kubernetes Prow Robot
6c9f26ca3a Merge pull request #80766 from robscott/discovery-api
Adding Discovery API for EndpointSlice
2019-08-28 14:44:09 -07:00
Kubernetes Prow Robot
273e1a4605 Merge pull request #81896 from liggitt/webhook-efficiency
Compute webhook selectors and client once per webhookconfig revision
2019-08-28 03:09:38 -07:00
Kubernetes Prow Robot
91bec13163 Merge pull request #81871 from prameshj/vendor-update
Update vendor k8s-cloud-provider and google API
2019-08-28 03:09:25 -07:00
Pavithra Ramesh
ce3b145e73 Update vendor k8s-cloud-provider and google API
Ran commands:
hack/pin-dependency.sh github.com/GoogleCloudPlatform/k8s-cloud-provider 27a4ced34534a6c32b63159b100ac0efaa1d37b3
hack/update-vendor.sh

hack/pin-dependency.sh google.golang.org/api 5213b809086156e6e2b262a41394993fcff97439
hack/update-vendor.sh

hack/verify-vendor.sh

merge conflicts
2019-08-27 15:58:55 -07:00
Han Kang
466980dd74 migrate kube-apiserver metrics to stability framework 2019-08-27 12:45:01 -07:00
Dr. Stefan Schimanski
beee72e28b aggregator: add metric for openapi regeneration 2019-08-27 15:08:54 +02:00
Rob Scott
f80cee9280 Adding discovery/v1alpha1 API for EndpointSlices 2019-08-26 14:50:00 -07:00
Jordan Liggitt
8c10d929ca Use cached selectors/client for webhooks 2019-08-24 20:00:46 -04:00
Kubernetes Prow Robot
448049927b Merge pull request #81752 from dims/hack-pick-up-test-go-files-in-verify-import-boss
Pick up *_test.go in verify-import-boss
2019-08-23 20:56:38 -07:00
Davanum Srinivas
96998c6197 hack/pin-dependency.sh k8s.io/gengo 26a664648505d962332bda642b27306bc10d1082 2019-08-23 12:11:18 -04:00
Kubernetes Prow Robot
fa9e1d2146 Merge pull request #81173 from logicalhan/shared-metrics
Migrate shared metrics into component base
2019-08-22 15:09:29 -07:00
Dr. Stefan Schimanski
c0594d2e38 apiextensions: builder for OpenAPI v3 2019-08-22 13:28:12 +02:00
Han Kang
b037203082 move version logic directly into the component-base, to simplify legacyregistry logic
add version to vendor

move version into component-base top-level

update bazel build files

fix import
2019-08-21 09:43:20 -07:00
Davanum Srinivas
8c3188d720 Update google.golang.org/genproto to c66870c02cf8 2019-08-21 08:16:35 -04:00
Davanum Srinivas
108ccea448 Update github.com/coreos/etcd to v3.3.15
Change-Id: I1b16ca712238219d082427c75dd6bc404794abbf
2019-08-21 08:16:34 -04:00
Davanum Srinivas
3d6ae5ef12 Update google.golang.org/grpc to v1.23.0
Change-Id: Ifbe8229d464a35a7598e28f53fe9d485c3e53e77
2019-08-21 08:15:56 -04:00