Davanum Srinivas
3c75b0bc1e
Updating dependency github.com/fsnotify/fsnotify to version v1.4.9
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: eee5235d2509df063189e08e150cc2c8213b54ed
2020-04-07 20:50:27 -04:00
Kubernetes Publisher
1ff2c9c252
Merge pull request #89834 from spiffxp/update-gengo
...
Update k8s.io/gengo to e0e292d8aa12
Kubernetes-commit: 5ea2d69ccdec410a372d92d680f71911a9d0926e
2020-04-04 22:25:08 +00:00
Jordan Liggitt
f52e2c788f
k8s.io/kube-openapi v0.0.0-20200403204345-e1beb1bd0f35
...
fix client-side validation to allow a value of 0 for a number field
Kubernetes-commit: 8b9165839f1f592262c6ac657649b0acff66d1e4
2020-04-03 14:10:50 -04:00
Aaron Crickenberger
84a3ed9a42
Update k8s.io/gengo to e0e292d8aa12
...
This is mainly to pick up the bugfix for reducing log noise while
running import-boss
Kubernetes-commit: f9538b118dc21e0edcda64526526cfd23c9420ca
2020-04-02 19:57:19 -07:00
Kubernetes Publisher
a39d605b86
Merge pull request #89704 from liggitt/gnostic
...
github.com/googleapis/gnostic v0.4.1
Kubernetes-commit: d911254debefb5b630498aa3552899ee2f99f22e
2020-04-03 22:19:30 +00:00
Jordan Liggitt
8648d29690
github.com/googleapis/gnostic v0.4.1
...
Kubernetes-commit: 93c7b24562d80959f45c308e7412456a410b9b25
2020-03-31 17:18:56 -04:00
Kubernetes Publisher
041853156b
Merge pull request #86975 from dims/update-hcsshim-v0.8.7-and-containerd-v1.3.2
...
Update to latest cadvisor and containerd (v1.3.3)
Kubernetes-commit: 4ad32682f3605f8eb0c152e3139a42d756106831
2020-03-26 02:49:06 +00:00
Davanum Srinivas
7f0055f0c9
Updating dependency golang.org/x/xerrors to version v0.0.0-20191204190536-9bdfabe68543
...
Kubernetes-commit: d2755395517411cfcda6dee9c749a15e4aef5b3f
2020-03-24 13:44:55 -04:00
Davanum Srinivas
60f0f63219
Updating dependency golang.org/x/time to version v0.0.0-20191024005414-555d28b269f0
...
Kubernetes-commit: 2b8b3b4008bbf072d216049c48ba792f023d2de8
2020-03-24 13:43:14 -04:00
Davanum Srinivas
e3364ceff9
Updating dependency golang.org/x/net to version v0.0.0-20200202094626-16171245cfb2
...
Kubernetes-commit: 75ceb7baa8f0df1c5cbaf02211c1a74e2addf498
2020-03-24 13:41:31 -04:00
Davanum Srinivas
d9129d0a68
Updating dependency gopkg.in/check.v1 to version v1.0.0-20190902080502-41f04d3bba15
...
Kubernetes-commit: 9e91a7ddc1a8f90bccff134b77e043809d07f65c
2020-03-24 13:39:41 -04:00
Davanum Srinivas
f0d5ab4459
Updating dependency google.golang.org/genproto to version v0.0.0-20191230161307-f3c370f40bfb
...
Kubernetes-commit: 7555985346c48b20d2b6662ebbce93827b513be2
2020-03-24 13:37:58 -04:00
Davanum Srinivas
9d6c1af3ea
Updating dependency github.com/kr/pretty to version v0.2.0
...
Kubernetes-commit: 54967fe39367c1ada4c9c4b5c2146263f85a41e4
2020-03-24 13:24:29 -04:00
Davanum Srinivas
38ecd7efc8
Updating dependency github.com/google/go-cmp to version v0.4.0
...
Kubernetes-commit: 0dd6bf625814ab6ef9f93fbee40cde6d6206d932
2020-03-24 13:19:44 -04:00
Davanum Srinivas
cae42cb96c
Update cadvisor and containerd
...
Kubernetes-commit: 4274ea2c89dee24e4c188a71e8164b2a40d1e181
2020-03-24 13:11:42 -04:00
Kubernetes Publisher
cc4f140715
Merge pull request #89444 from gnufied/update-utils-dep
...
bump k8s.io/utils package
Kubernetes-commit: 044a4ce21de7e89308be6cedc59fbf1cbb6b30b9
2020-03-25 05:05:13 +00:00
Kubernetes Publisher
c32b5dc3cb
Merge pull request #89339 from alvaroaleman/lister-clarify-read-only
...
Lister codegen: Clarify that returned objects are read-only
Kubernetes-commit: 0c9ba6b5d7c4c91e1edfdb230574b99ebc5d1027
2020-03-25 00:41:56 +00:00
Hemant Kumar
4980766862
bump k8s.io/utils package
...
This fixes bug with xfs mount failing because of xfs_repair
being called. Fixes https://github.com/kubernetes/utils/issues/141
Kubernetes-commit: a1ae67d691d514d859fce68299d7bd3830686b38
2020-03-24 17:21:19 -04:00
Kubernetes Publisher
7d53195909
Merge pull request #89341 from aojea/bumputils
...
bump k8s.io utils
Kubernetes-commit: 6273449fe06574b3b192b92fe487ddfbd16837af
2020-03-23 04:52:53 +00:00
Antonio Ojea
a19d6d79a0
bump k8s.io utils
...
Fix a bug in k8s.io/utils/net.GetIndexedIP() that wasn't working
with IPv6 addresses with leading zeros.
Kubernetes-commit: dc025534afb0c3106b3aab166f88b971102135d1
2020-03-22 22:21:47 +01:00
Kubernetes Publisher
3bff4f1e4d
Merge pull request #89319 from mboersma/fix-mount-sensitive-windows-master
...
Update vendored MountSensitive code for Windows
Kubernetes-commit: ca82b3281f426add48421aa54114d8f54f7d4ce5
2020-03-21 16:40:43 +00:00
marosset
a471136fa4
Updating vendored files
...
Kubernetes-commit: e72714933004dd34170a7e70f006f2ddb8e968d0
2020-03-20 21:13:48 +00:00
Kubernetes Publisher
a4286795ca
Merge pull request #89159 from dims/move-term-package-to-component-base
...
Move term package to component base and switch to moby/term
Kubernetes-commit: bd07a408c1f82858fd63164f3b2937fd5f6905ce
2020-03-19 20:41:14 +00:00
Davanum Srinivas
b5c00988a5
Updating dependency github.com/google/go-cmp to version v0.3.1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 865fd484820bf473ac9aa36466baaca80403fa45
2020-03-16 17:01:25 -04:00
Davanum Srinivas
926fedac01
update vendor
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: ee4310280669153c8ed733ae05946af65cc817b5
2020-03-16 16:54:33 -04:00
Kubernetes Publisher
8a9bf52c5e
Merge pull request #89105 from andyzhangx/upgrade-40.2
...
Upgrade to azure-sdk v40.2.0
Kubernetes-commit: de931d569e005d916f8f146fc27fdac1c713a0ea
2020-03-19 08:38:26 +00:00
Kubernetes Publisher
98ae5d8686
Merge pull request #89014 from enj/enj/i/drop_openstack_cred_plugin
...
client-go: remove openstack auth plugin
Kubernetes-commit: 05134da9b7b90f35fe716d156d823778db16f634
2020-03-19 08:38:25 +00:00
andyzhangx
56261ea59d
chore: upgrade to azure-sdk v40.2.0
...
chore: use autorest v0.9.6
fix go module issue
fix go module error
Kubernetes-commit: da20cc202fe2c5594c578a85730578b2300c78a0
2020-03-11 14:46:29 +00:00
Monis Khan
132dad4627
client-go: drop github.com/gophercloud/gophercloud dep
...
Signed-off-by: Monis Khan <mok@vmware.com>
Kubernetes-commit: 7a7bc9bcfb556abd4ec22be634eaca9e3b3a132a
2020-03-10 16:49:30 -04:00
Kubernetes Publisher
cd9755a5c9
Merge pull request #88875 from apelisse/apply-no-op
...
SSA: Applying same object twice should be a no-op the second time
Kubernetes-commit: 71ad0a90205c12e8ebbe6872db30097026916659
2020-03-07 12:39:24 +00:00
Kubernetes Publisher
aa5891ad80
Merge pull request #88708 from mikedanese/deleteopts
...
Migrate clientset metav1.DeleteOpts to pass-by-value
Kubernetes-commit: 5708511499fe500ae3b4bbd40204cef382f652e8
2020-03-06 08:39:08 +00:00
Antoine Pelisse
636cb6ea26
Bump sigs.k8s.io/structured-merge-diff to v3
...
Kubernetes-commit: df41fd932bef1686b30a1abee477c5009ebabe80
2020-03-05 13:09:50 -08:00
Kubernetes Publisher
a4d2d71ffa
Merge pull request #88684 from saad-ali/updateMountLib
...
Update AzureFile and CephFS to use MountSensitive
Kubernetes-commit: cd23e78c3dc1a4161abb11523a8614b56b9c0928
2020-03-04 08:40:01 +00:00
saad-ali
8a42a9808f
Update dep k8s.io/utils to 0a110f9eb7ab
...
Kubernetes-commit: 22e8189f40fc95b18bad2b59ba2ad20ae7c69ea9
2020-02-28 18:22:45 -08:00
Kubernetes Publisher
b5ec0e93d1
Merge pull request #88381 from BenTheElder/CVE-2020-9283
...
update golang.org/x/crypto to fix CVE-2020-9283
Kubernetes-commit: 056374d9c8b8e43745d8a97f82981f886702cef8
2020-02-21 17:12:08 +00:00
Benjamin Elder
ec544ac840
update golang.org/x/crypto
...
Kubernetes-commit: 86ead631585825725e39f9a5e99c169b892a338c
2020-02-20 13:17:51 -08:00
Kubernetes Publisher
a2c492ddbe
Merge pull request #85617 from andrewsykim/optimize-external-ips
...
proxier: only get local addresses once per sync loop
Kubernetes-commit: ed0d6ee3cec18a2b0cc213bd3833e5bd02b091d8
2020-02-14 09:01:33 +00:00
andrewsykim
0981c9f5b1
update vendor k8s.io/utils to 5f6fbceb4c31
...
Signed-off-by: andrewsykim <kim.andrewsy@gmail.com>
Kubernetes-commit: 9e5a06c3eddb135a33496e874477a3a64b2421d6
2020-01-17 22:06:08 -05:00
Kubernetes Publisher
05e054c7a4
Merge pull request #87952 from mikedanese/opts
...
add *Options to Create, Update, and Patch in generated clientsets
Kubernetes-commit: abe6321296123aaba8e83978f7d17951ab1b64fd
2020-02-09 07:14:57 +00:00
Kubernetes Publisher
18387238ee
Merge pull request #87908 from jpbetz/enable-smd-reflector
...
Bump to latest SMD to pick up performance optimizations
Kubernetes-commit: 86fcb30e5391a5494c8d83586f0911772a6949aa
2020-02-09 07:14:56 +00:00
Kubernetes Publisher
950eb22709
Merge pull request #87299 from mikedanese/ctx
...
context in client-go
Kubernetes-commit: 334d788f081e3bd6bb5fbbb5130c7d0810afc91e
2020-02-08 15:12:50 +00:00
Joe Betz
92ba4d84d0
Bump to latest SMD to pick up performance optimizations
...
Kubernetes-commit: d9faaca64738a50455f38dd88845e8b4b5ca37e2
2020-02-06 15:10:25 -08:00
Kubernetes Publisher
81e6fe3b90
Merge pull request #87830 from dims/update-sigs.k8s.io/yaml-to-v1.2.0
...
Updating dependency sigs.k8s.io/yaml to version v1.2.0
Kubernetes-commit: e4061baeac03793f300c2dd824cae5673d1c24cf
2020-02-07 03:14:28 +00:00
Davanum Srinivas
4e2b652898
Updating dependency sigs.k8s.io/yaml to version v1.2.0
...
Kubernetes-commit: 5bb1838c5c197dd06af5f37df6fdaf8093338f67
2020-02-04 15:45:47 -05:00
Kubernetes Publisher
9d489c7b9d
Merge pull request #87597 from mikedanese/rctx
...
Refactor context handling in rest.Request
Kubernetes-commit: 60dd5dbd8b2347284b7e9b87a5700f54c185034e
2020-01-30 07:38:37 +00:00
Kubernetes Publisher
edca37f8f5
Merge pull request #87431 from dprotaso/bump-gofuzz
...
bump github.com/google/gofuzz
Kubernetes-commit: fc3b7b6dcde835291bd2103d78df9391b20bba39
2020-01-30 07:38:36 +00:00
Kubernetes Publisher
c94d7696a4
Merge pull request #83526 from eloyekunle/feat/gengo-reverse-import
...
import-boss reverse import
Kubernetes-commit: f5a008746aeae60feafafb77a0f07bebfceb2d97
2020-01-29 03:34:53 +00:00
Elijah Oyekunle
ee78ef29b9
bump gengo version
...
Kubernetes-commit: cece51b9b0b8322401f17f0650af864b9867f12e
2020-01-28 10:51:37 +01:00
Kubernetes Publisher
960347feac
Merge pull request #87138 from markusthoemmes/fix-capitalization-error
...
Fix error-string-capitalization in clientset generator.
Kubernetes-commit: 6ae7bfc691c8266fc253d45ecf55acac8877c6d2
2020-01-24 11:35:01 +00:00
Kubernetes Publisher
8c05e8c649
Merge pull request #87467 from cjcullen/yaml
...
Update gopkg.in/yaml.v2 to v2.2.8
Kubernetes-commit: 07b358b1904c3c16a40a93a18f95e9411d9a2789
2020-01-24 03:37:09 +00:00
Kubernetes Publisher
bd4ff3d8ad
Merge pull request #87442 from jennybuckley/smd-3
...
Update structured-merge-diff dependency to v3
Kubernetes-commit: 03cb6afc1a7d43e8ea034279a19801d3d3fb17b3
2020-01-23 07:38:42 +00:00
CJ Cullen
4f28e14945
update gopkg.in/yaml.v2 to v2.2.8
...
Kubernetes-commit: b86df2bec4f377afc0ca03482ffad2f0a49a83b8
2020-01-22 11:32:39 -08:00
jennybuckley
5605e8990d
Update Structured Merge Diff to V3
...
Kubernetes-commit: b33fbc84d9d6e7033c36fa3bc321b8fea28ceed6
2020-01-21 15:03:56 -08:00
Dave Protasowski
551d70ff44
bump github.com/google/gofuzz
...
This includes the ability for the fuzzer to skip certain struct fields
Kubernetes-commit: c8dbde86664170f479dd9a9a55de76d8f186754f
2020-01-21 13:11:34 -05:00
Kubernetes Publisher
f983218c80
Merge pull request #87081 from dims/updating-protobuf-and-grpc
...
Updating protobuf (v1.3.1) and grpc (v1.26.0)
Kubernetes-commit: f4b6b751cdf2d46940355359443b263cb883d006
2020-01-18 23:52:50 +00:00
Davanum Srinivas
ab1c547945
Updating dependency google.golang.org/genproto to version v0.0.0-20190819201941-24fa4b261c55
...
Kubernetes-commit: 2f78a9480f2f4eabb7698984371df25543312db4
2020-01-13 17:40:24 -05:00
Davanum Srinivas
bab5a99d15
Updating dependency google.golang.org/grpc to version v1.26.0
...
Kubernetes-commit: 3b29bcf52d3f6a73af9830cf55159893899c2b1b
2020-01-13 17:38:18 -05:00
Davanum Srinivas
59665bb9b6
Updating dependency github.com/gogo/protobuf to version v1.3.1
...
Kubernetes-commit: 9c78f05d06cb43dce4363cad03ff79f579c22eee
2020-01-13 17:36:07 -05:00
Kubernetes Publisher
de9f70c977
Merge pull request #87158 from dims/pick-closest-tags-for-a-few-packages
...
Pick closest tags for a few packages and avoid random SHA
Kubernetes-commit: 5d1c3016103d83df4ae91664639ba7e0a103c7ec
2020-01-16 03:54:08 +00:00
Kubernetes Publisher
2ddb023c08
Merge pull request #87226 from liggitt/simplify-code-generator
...
Simplify code generator dependencies
Kubernetes-commit: b95d571e32294047a5fb9ca93ee4e394f6765308
2020-01-15 19:50:53 +00:00
Jordan Liggitt
a23205f445
hack/update-vendor.sh
...
Kubernetes-commit: e8a8bdb4cac0c9299da7317d41bcb3e1320424e1
2020-01-14 21:56:32 -05:00
Kubernetes Publisher
f8d330e562
Merge pull request #87107 from dims/updating-googleapis/gnostic-to-v0.1.0
...
updating googleapis/gnostic to v0.1.0
Kubernetes-commit: d5145ffc10c7429f555134f44d5bf95cd7eda270
2020-01-13 23:51:10 +00:00
Kubernetes Publisher
ab780863f6
Merge pull request #87088 from dims/switch-to-newer-gonum
...
Drop random SHA and update gonum.org/v1/gonum to v0.6.2
Kubernetes-commit: bb3f8c7c899d7166c31934b80b39c7307ec85b7a
2020-01-13 23:51:09 +00:00
Davanum Srinivas
a9e1ddb708
Updating dependency github.com/elazarl/goproxy to version 947c36d
...
Kubernetes-commit: a6d72ab71323b01846b37fe896bae3e0886a86ba
2020-01-13 12:33:25 -05:00
Davanum Srinivas
575eb3267b
updating googleapis/gnostic to v0.1.0
...
per https://github.com/googleapis/gnostic/releases/tag/v0.1.0 , the
v0.1.0 was made specifically for use by k8s, but we still seem to be
using a random SHA. Let's try to switch to a tagged version.
Kubernetes-commit: 420d5d10c4baad0aced31de382801fd999f2c94b
2020-01-11 22:38:36 -05:00
Kubernetes Publisher
7e92736cc3
Merge pull request #85458 from cjcullen/yaml
...
Update gopkg.in/yaml.v2 to v2.2.7
Kubernetes-commit: 7f2128757b1aa2e83320d1f635fe8b2e7028542a
2020-01-11 15:50:42 +00:00
Davanum Srinivas
55a37d4522
update gonum.org/v1/gonum to v0.6.2
...
Kubernetes-commit: f66ef23c1182e72db9cbb80f6df4186a326374c0
2020-01-10 15:26:48 -05:00
Kubernetes Publisher
7b12eff437
Merge pull request #86346 from SataQiu/bump-utils-20191217
...
Bump k8s.io/utils version
Kubernetes-commit: 2d310b13215110a9dcaabcebef65d62a1b3f0bdd
2019-12-22 11:49:42 +00:00
SataQiu
2b5783f346
bump k8s.io/utils version
...
Kubernetes-commit: 2497a1209bf96472bceabbc465b2370f1b66a4a7
2019-12-17 23:12:53 +08:00
Kubernetes Publisher
b60d4fc3c5
Merge pull request #86013 from carlosedp/ginkgo_bump
...
Bump Ginkgo to support building on riscv64 arch
Kubernetes-commit: 4ff692861908697c530b6b8ba48a5eb442bd7ed7
2019-12-20 23:50:14 +00:00
Carlos de Paula
6976381688
Bump Ginkgo to support building on riscv64 arch
...
Kubernetes-commit: ecfd30d2517c52f158b099abcc303cce307c324d
2019-12-06 15:23:15 -05:00
Kubernetes Publisher
8ed8142b5c
Merge pull request #86269 from odinuge/go-mod-version
...
Update go version in go.mod to 1.13
Kubernetes-commit: b96642aeaeefee838b5f0938e5d04765dd27d39b
2019-12-14 19:13:29 +00:00
Odin Ugedal
2c5619cf7a
Update go version in go.mod
...
We now use go 1.13 and not 1.12
Kubernetes-commit: 4769cbedd5bdaf61e329b4e9687ec97a6c53b61a
2019-12-14 12:43:14 +01:00
Kubernetes Publisher
d454fe8177
Merge pull request #85223 from sttts/sttts-crd-items-types
...
apiextensions: fix items+type logic in API due to broken go-openapi validation
Kubernetes-commit: 976712556e4bd22d5312a0af36b18127c709d54a
2019-11-21 02:12:13 +00:00
CJ Cullen
7fc9944bbb
update gopkg.in/yaml.v2 to v2.2.7
...
Kubernetes-commit: aa278345fa55ee9f3e097da1b590fcabd85270f7
2019-11-19 09:39:27 -08:00
Dr. Stefan Schimanski
01bbecf3b2
hack/pin-dependency.sh github.com/go-openapi/validate v0.19.5
...
Kubernetes-commit: ef88c43c0296e6004d0e3407a1336074897b309d
2019-11-15 13:48:59 +01:00
Kubernetes Publisher
ef93e2e76a
Merge pull request #85305 from codenrhoden/remove-mount-pkg
...
Remove pkg/util/mount (moved out of tree)
Kubernetes-commit: 45e0080fd5883e3355233c9c22fa5bf242d525dd
2019-11-15 22:10:02 +00:00
Travis Rhoden
b3ad0016ff
Remove pkg/util/mount (moved out of tree)
...
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
Kubernetes-commit: 0c5c3d8bb97d18a2a25977e92b3f7a49074c2ecb
2019-11-14 13:30:00 -07:00
Kubernetes Publisher
055fb85f0a
Merge pull request #84424 from mikedanese/expcache
...
Add an expiring cache for the caching token authenticator
Kubernetes-commit: 19b4017b5d5c5695403a9804f5ea3de11a436c04
2019-11-15 02:06:46 +00:00
Kubernetes Publisher
33e2132d1e
Merge pull request #85175 from liggitt/golang-org-comments
...
Add comments to explain golang.org replace directives
Kubernetes-commit: 24334444b46371e26594e1f6e594195a761b53d3
2019-11-14 22:25:29 +00:00
Jordan Liggitt
424188e943
Add comments to explain golang.org replace directives
...
Kubernetes-commit: 9f40e19d7ac9e2203c23814701468a26eee1964f
2019-11-12 23:54:26 -05:00
Kubernetes Publisher
de0ba49f28
Merge pull request #83840 from liggitt/json-iter
...
bump json-iterator dependency
Kubernetes-commit: 3387d6cfc73235fd554e5039b85abb7700eaf126
2019-11-09 11:01:50 +00:00
Kubernetes Publisher
cb8e37036c
Merge pull request #84911 from yue9944882/chore/bump-kube-openapi
...
Pin kube-openapi vendor to 30be4d16710a
Kubernetes-commit: dd6faa5da791c06fa23ff668e4463c3ad2b23340
2019-11-08 07:15:22 +00:00
yue9944882
7b8c63153b
update k8s.io/kube-openapi to 30be4d16710a
...
Kubernetes-commit: 8e7606f32898b294fc25152ff8bd34f62d6221d3
2019-11-07 18:39:08 +08:00
Kubernetes Publisher
97ea7f1bbd
Merge pull request #82809 from liggitt/go-1.13-no-modules
...
update to use go1.13.4
Kubernetes-commit: 695c3061dd92a6b6950f8adf0341ceb4a8dd44d7
2019-11-07 03:24:42 +00:00
Jordan Liggitt
fe7e76b7d4
hack/update-vendor.sh
...
Kubernetes-commit: 297570e06a88db23e16dbdbf6ce3173fe0ae376c
2019-11-05 14:11:10 -05:00
Kubernetes Publisher
472018681a
Merge pull request #84604 from codenrhoden/update-utils-dep
...
Update k8s.io/utils dependency to latest
Kubernetes-commit: 97e28edb6620568d985f3b03b495a0a373aa8750
2019-11-01 23:13:24 +00:00
Travis Rhoden
09364c09e9
Update k8s.io/utils dependency to latest
...
Kubernetes-commit: 81f66ecbb5ff359ac765c7f332289dd8c1737c39
2019-10-31 08:35:01 -06:00
Mike Danese
326f8f2c88
Add an expiring cache for the caching token authenticator
...
And maybe the webhook authorizer cache.
This cache has two primary advantages over the LRU cache used currently:
- Cache hits don't acquire an exclusive lock.
- More importantly, performance doesn't fallover when the access pattern
scans a key space larger than an arbitrary size (e.g. the LRU
capacity).
The downside of using an expiring cache here is that it doesn't have a
maximum size so it's suspectible to DoS when the input is user
controlled. This is not the case for successful authentications, and
successful authentications have a natural expiry so it might be a good
fit here.
It has some a few differences compared to:
3d7318f29d/staging/src/k8s.io/client-go/tools/cache/expiration_cache.go
- Expiration is not entirely lazy so keys that are never accessed again
are still released from the cache.
- It does not acquire an exclusive lock on cache hits.
- It supports per entry ttls specified on Set.
The expiring cache (without striping) does somewhere in between the
simple cache and striped cache in the very contrived contention test
where every iteration acquires a write lock:
```
$ benchstat simple.log expiring.log
name old time/op new time/op delta
Cache-12 2.74µs ± 2% 2.02µs ± 3% -26.37% (p=0.000 n=9+9)
name old alloc/op new alloc/op delta
Cache-12 182B ± 0% 107B ± 4% -41.21% (p=0.000 n=8+9)
name old allocs/op new allocs/op delta
Cache-12 5.00 ± 0% 2.00 ± 0% -60.00% (p=0.000 n=10+10)
$ benchstat striped.log expiring.log
name old time/op new time/op delta
Cache-12 1.58µs ± 5% 2.02µs ± 3% +27.34% (p=0.000 n=10+9)
name old alloc/op new alloc/op delta
Cache-12 288B ± 0% 107B ± 4% -62.85% (p=0.000 n=10+9)
name old allocs/op new allocs/op delta
Cache-12 9.00 ± 0% 2.00 ± 0% -77.78% (p=0.000 n=10+10)
$ benchstat simple.log striped.log expiring.log
name \ time/op simple.log striped.log expiring.log
Cache-12 2.74µs ± 2% 1.58µs ± 5% 2.02µs ± 3%
name \ alloc/op simple.log striped.log expiring.log
Cache-12 182B ± 0% 288B ± 0% 107B ± 4%
name \ allocs/op simple.log striped.log expiring.log
Cache-12 5.00 ± 0% 9.00 ± 0% 2.00 ± 0%
```
I also naively replacemed the LRU cache with the expiring cache in the
more realisitc CachedTokenAuthenticator benchmarks:
https://gist.github.com/mikedanese/41192b6eb62106c0758a4f4885bdad53
For token counts that fit in the LRU, expiring cache does better because
it does not require acquiring an exclusive lock for cache hits.
For token counts that exceed the size of the LRU, the LRU has a massive
performance drop off. The LRU cache is around 5x slower (with lookups
taking 1 milisecond and throttled to max 40 lookups in flight).
```
$ benchstat before.log after.log
name old time/op new time/op delta
CachedTokenAuthenticator/tokens=100_threads=256-12 3.60µs ±22% 1.08µs ± 4% -69.91% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=500_threads=256-12 3.94µs ±19% 1.20µs ± 3% -69.57% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=2500_threads=256-12 3.07µs ± 6% 1.17µs ± 1% -61.87% (p=0.000 n=9+10)
CachedTokenAuthenticator/tokens=12500_threads=256-12 3.16µs ±17% 1.38µs ± 1% -56.23% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=62500_threads=256-12 15.0µs ± 1% 2.9µs ± 3% -80.71% (p=0.000 n=10+10)
name old alloc/op new alloc/op delta
CachedTokenAuthenticator/tokens=100_threads=256-12 337B ± 1% 300B ± 0% -11.06% (p=0.000 n=10+8)
CachedTokenAuthenticator/tokens=500_threads=256-12 307B ± 1% 304B ± 0% -0.96% (p=0.000 n=9+10)
CachedTokenAuthenticator/tokens=2500_threads=256-12 337B ± 1% 304B ± 0% -9.79% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=12500_threads=256-12 343B ± 1% 276B ± 0% -19.58% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=62500_threads=256-12 493B ± 0% 334B ± 0% -32.12% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
CachedTokenAuthenticator/tokens=100_threads=256-12 13.0 ± 0% 11.0 ± 0% -15.38% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=500_threads=256-12 12.0 ± 0% 11.0 ± 0% -8.33% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=2500_threads=256-12 13.0 ± 0% 11.0 ± 0% -15.38% (p=0.000 n=10+10)
CachedTokenAuthenticator/tokens=12500_threads=256-12 13.0 ± 0% 10.0 ± 0% -23.08% (p=0.000 n=9+10)
CachedTokenAuthenticator/tokens=62500_threads=256-12 17.0 ± 0% 12.0 ± 0% -29.41% (p=0.000 n=10+10)
```
Benchmarked with changes in #84423
Bugs: #83259 #83375
Kubernetes-commit: 9167711fd18511ffc9c90ee306c462be9fc7999b
2019-10-26 12:19:07 -07:00
Kubernetes Publisher
d7b8b83029
Merge pull request #83987 from wenjiaswe/etcd_client_3_4_2
...
Update etcd client to v3.4.3 in k8s v1.17
Kubernetes-commit: 09f453ff8322979ed5a7611bc2e5528506c1fc7f
2019-10-25 23:13:05 +00:00
Wenjia Zhang
2ea1ad4d72
Pin dependencies and update vendors
...
Kubernetes-commit: 660b17d0aeda96af94defd4c5110d9fef523d52b
2019-10-23 13:37:36 -07:00
Kubernetes Publisher
ab9e95689d
Merge pull request #82455 from AdheipSingh/patch-1
...
Update comment for syncHandler
Kubernetes-commit: ad0274fb6e506fb573cc3237ada871ea6dfc66fe
2019-10-17 07:04:49 +00:00
Kubernetes Publisher
2b8cca0f69
Merge pull request #81952 from ialidzhikov/fix/broken-link
...
Fix broken link in sample-controller
Kubernetes-commit: d87403c2f5c4a49b15420985e7c6d5cbd1e9cd8b
2019-10-16 11:28:52 +00:00
Kubernetes Publisher
8aa6dce7d6
Merge pull request #83785 from yastij/bump-utils-rangesize
...
bump k8s.io/utils to pickup bug fix for rangesize func
Kubernetes-commit: 677903edc6cfe1fb045a55b0734ee05ce8c3d03c
2019-10-14 07:34:41 +00:00
Jordan Liggitt
32837242dd
bump github.com/json-iterator/go v1.1.8
...
Kubernetes-commit: e323279ab94e2434fa610a476ad6d7630228be0e
2019-10-12 10:10:03 -04:00
Yassine TIJANI
97f7067723
bump k8s.io/utils to pickup bug fix for rangesize
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
Kubernetes-commit: 5d49cbd3cae68d7aafdeac7f2ca08208118f09ad
2019-10-11 16:45:21 +02:00
Kubernetes Publisher
ac9726f261
Merge pull request #82176 from pohly/ginkgo-stack-fix
...
Ginkgo update + stack fix
Kubernetes-commit: b140b431073ae4d84ce9ef5e01a1f27058178ead
2019-10-05 12:09:43 +00:00
Kubernetes Publisher
9f91627dc6
Merge pull request #83261 from liggitt/yaml-limits
...
limit yaml/json decode size
Kubernetes-commit: 4afcba42bed2bb7c36e5209a90d87343f32a0efa
2019-10-03 04:11:42 +00:00
Jordan Liggitt
1be1e75737
bump gopkg.in/yaml.v2 v2.2.4
...
Kubernetes-commit: 8aeffa8716dcf986544df74444264ef639d61a7a
2019-10-02 14:46:08 -04:00
Kubernetes Publisher
a91ecd8a9f
Merge pull request #83113 from yastij/bump-utils
...
bump k8s.io/utils to pickup ipallocator changes
Kubernetes-commit: 28bcf55accc52dfd4fde5f603a5784c40c485528
2019-09-26 00:08:56 +00:00