Kubernetes Publisher
9fa754e85f
Merge pull request #103692 from justaugustus/go117
...
[go1.17] Update to go1.17
Kubernetes-commit: c1e69551be1a72f0f8db6778f20658199d3a686d
2021-08-25 04:18:17 +00:00
Kubernetes Publisher
55ce2aee97
Merge pull request #104494 from nicomitchell/fix_comment_html_tags
...
apiserver/pkg/storage/interfaces.go: Add backticks to comments misparsed as HTML by IDEs
Kubernetes-commit: 1767a94f1513eb63b5dee5a8e172f62be9fe7022
2021-08-25 04:18:14 +00:00
Kubernetes Publisher
336e01db55
Merge pull request #104359 from mborsz/apflog
...
Add APF's priorityLevel to httplog.go
Kubernetes-commit: ef754331c453d3b5fdc31edf62da3d90771d5acd
2021-08-25 00:13:26 +00:00
Nicolas Mitchell
1cd62ac37f
add backticks to comments containing `<` or `>`
...
Kubernetes-commit: 340555476a4926e10c9ffac8b283cd77ca088c5d
2021-08-21 10:59:50 -07:00
wfender
c4fa9f5ca5
Enable http2 health checking with go 1.16.5
...
Enabling http2 health checking on http-connect KAS egress.
Reran update-vendor.
Fixed pinning.
Kubernetes-commit: 590300f90d3e5a71d1aefe7f114ab021a9460fd4
2021-08-18 23:52:33 -07:00
Abu Kashem
db8aff032b
apf: update apf logic to use v1beta2
...
Kubernetes-commit: 28f2b42a4116a9223113e8b152e02a4f1e602ff4
2021-08-16 17:53:57 -04:00
Abu Kashem
7964b85d9c
apf: update e2e test to use v1beta2
...
Kubernetes-commit: d99497ef6d5581b787e7aebfca943697ed8fe164
2021-08-16 17:12:42 -04:00
Maciej Borsz
02f98184b3
Add APF's priorityLevel to httplog.go
...
Kubernetes-commit: 6db63869b0fd0551382dec1b30b649fda4289444
2021-08-13 13:00:07 +02:00
Kubernetes Publisher
b505e673e9
Merge pull request #104465 from tkashem/httplogger-structured
...
apiserver: add key/value pair to httplog
Kubernetes-commit: 4a6792dd10420a8173e29b3eb5c1642ad5caeabf
2021-08-23 20:13:50 +00:00
Kubernetes Publisher
64b9c66d25
Merge pull request #103545 from thockin/rest-create-deepcopy
...
REST: Document mutable inputs on Create() and fix tests
Kubernetes-commit: 358e5098639f1c160da7319237e53404d49a0525
2021-08-23 20:13:48 +00:00
Kubernetes Publisher
3b60eb7f23
Merge pull request #104345 from MikeSpreitzer/test-width
...
Fix extra latency and add tests for that and non-unit width
Kubernetes-commit: b9565beef015df9ae8e73b408d106531bea5ba77
2021-08-23 12:13:29 +00:00
Kubernetes Publisher
75d054142d
Merge pull request #104368 from aojea/ruleguard
...
golang 1.17 fails to parse IPs with leading zeros
Kubernetes-commit: b0bc8adbc2178e15872f9ef040355c51c45d04bb
2021-08-20 16:16:58 +00:00
Antonio Ojea
38c6ad936b
run hack/update-netparse-cve.sh
...
Kubernetes-commit: 0cd75e8fec62a2531637e80bb950ac9983cac1b0
2021-08-20 01:16:14 +02:00
Kubernetes Publisher
c1a0f339ee
Merge pull request #104466 from stbenjam/bump-utils
...
vendor: bump k8s.io/util to get fix for LRU cache
Kubernetes-commit: 7fcecc077dae36071901472d12fa26e5af99010c
2021-08-20 04:15:46 +00:00
Stephen Benjamin
b11221fe5a
vendor: bump k8s.io/util to get fix for LRU cache
...
This updates the k8s.io/util to pull in the fix for
https://github.com/kubernetes/kubernetes/issues/104452 .
Commands run:
./hack/pin-dependency.sh k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a
./hack/update-vendor.sh
Kubernetes-commit: c2532351525c2822daab61303eb4f94942a017e6
2021-08-19 17:11:35 -04:00
Abu Kashem
cafef859a7
apiserver: add key/value pair to httplog
...
Kubernetes-commit: bdedd2a4c16487e075db45e778c9e47ddd57448f
2021-08-19 17:07:24 -04:00
Kubernetes Publisher
2d03a555a1
Merge pull request #103448 from eddiezane/ez/update-cobra-1.2.1
...
Update cobra to 1.2.1
Kubernetes-commit: f7b23cf6d04a14557b130f89ced8f7d074077fe7
2021-08-19 16:12:50 +00:00
Kubernetes Publisher
78822d9de0
Merge pull request #104350 from tkashem/audit-policy-refactor
...
refactor: rename audit Checker interface
Kubernetes-commit: 08eaea4590821ab099551e334bfc0e0b2ebee348
2021-08-19 12:12:48 +00:00
Eddie Zaneski
a1553a7e6b
Update cobra to v1.2.1
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
Kubernetes-commit: b18d6ee61d0c7e54ddadd7bb5351006ca840c80c
2021-08-18 15:02:25 -06:00
Kubernetes Publisher
82482e9a6a
Merge pull request #103799 from jyz0309/add-metric
...
Create new metric which conform to our naming conventions
Kubernetes-commit: 58617e161933277fe362599ce380bebf08cbdacb
2021-08-18 20:13:03 +00:00
Kubernetes Publisher
da37eb00eb
Merge pull request #104434 from tkashem/add-self-as-a-reviewer
...
add tkashem as a reviewer of apiserver
Kubernetes-commit: 0b3c2057988ed5636d394a9981a6bb60d41b7760
2021-08-18 16:12:48 +00:00
Abu Kashem
679d3e80cd
add tkashem as a reviewer of apiserver
...
Kubernetes-commit: 0ba731253e0b325bed95de89fe189abff11e15b2
2021-08-18 09:57:01 -04:00
Kubernetes Publisher
97ea982c37
Merge pull request #104416 from liggitt/go117-certificates
...
Update unit tests to handle go1.17 certificate parsing error messages
Kubernetes-commit: f805f5588beb1ee1057a678a61ecc1cadf736000
2021-08-18 04:12:44 +00:00
Kubernetes Publisher
5012383632
Merge pull request #104413 from liggitt/openapi-ipvalidation
...
Bump k8s.io/kube-openapi
Kubernetes-commit: cde45fb161c5a4bfa7cfe45dfd814f6cc95433f7
2021-08-17 20:17:32 +00:00
Kubernetes Publisher
fc6a8f1bc1
Merge pull request #104351 from apelisse/add-name-to-errors
...
Add name to structuredmerge errors
Kubernetes-commit: de40aa59f31282a8f8c033d2bd4d78b9645d8f23
2021-08-17 16:12:14 +00:00
Kubernetes Publisher
bf3ef30921
Merge pull request #104281 from tkashem/not-ready-429
...
send retry-after until the apiserver is ready
Kubernetes-commit: fc5863b8b276e0789f717859e8cce58d7d060181
2021-08-17 16:12:12 +00:00
Jordan Liggitt
bbc4211158
Update unit tests to handle go1.17 certificate parsing error messages
...
Kubernetes-commit: 0e925f266f78d72ed05a5a2fe48faa5e2a87d107
2021-08-17 11:24:03 -04:00
Jordan Liggitt
b2dce0d6e2
Bump k8s.io/kube-openapi
...
Updates to preserve openapi ipv4 validation compatibility with pre-go1.17 behavior
Kubernetes-commit: b15c2130aad497add782820c415c59952b4e75a8
2021-08-17 10:13:40 -04:00
Kubernetes Publisher
36693d51c0
Merge pull request #103162 from rmoriar1/rmoriar1-add-http-code-to-webhook-metric
...
Add a new webhook request total metric and add a 1.0s bucket boundary to the webhook latency metric
Kubernetes-commit: d7a06ede70b293d9932925b5430c4df08b3744e3
2021-08-14 00:12:09 +00:00
Tim Hockin
cf0112f87e
REST: Document mutable inputs on Create()
...
If one doesn't DeepCopy() on the way into Create, we can end up writing
into the original object. This is by design, and should not be a
problem EXCEPT for tests. If a test compares the input to this function
with the result, but the input was mutated in-situ, it may hide errors,
resulting in tests that pass, but shouldn't.
Kubernetes-commit: 6dfae64d9bebb2c40680bbd6e8270f69839ab013
2021-08-13 11:54:00 -07:00
Tim Hockin
578388b70b
Fix registry tests to look at result objects
...
Kubernetes-commit: 42c7e62180446910f41d3a064016c0d7cdebb407
2021-08-13 11:54:21 -07:00
Kubernetes Publisher
d37241544f
Merge pull request #103240 from tkashem/apf-additional-latency
...
apf: add additional latency into work estimate
Kubernetes-commit: eba1632ada938835ad3bb80435470a476b055022
2021-08-13 04:12:14 +00:00
Antoine Pelisse
56458d94fe
Add name and namespace to structuredmerge errors
...
Kubernetes-commit: 5b3c226c34af328d6bd46866e806589189d44f4d
2021-08-12 15:53:54 -07:00
Stephen Augustus
771ffe6475
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Kubernetes-commit: 481cf6fbe753b9eb2a47ced179211206b0a99540
2021-08-12 17:13:11 -04:00
Mike Spreitzer
7d5430cfba
Fix extra latency and add tests for that and width
...
Added missing dispatching after delayed release of seats.
Updated logging for all six situations of execution completion and
seat release.
Added behavioral tests for non-zero extra latency and non-unit width.
Also added two tests for baseline functionality.
Also improved some comments and other logging in `queueset.go`.
Kubernetes-commit: d2a27a58f0af20c6185fa1c21890d666e9d3746b
2021-08-12 16:48:02 -04:00
Stephen Augustus
1631487310
generated: Run hack/lint-dependencies.sh and hack/update-vendor.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Kubernetes-commit: 0be115722bf30f42c7a954d5cdd4b48efd70ae77
2021-08-11 18:03:39 -04:00
Stephen Augustus
69eb269539
[go1.17] Bump golang.org/x/... dependencies
...
hack/pin-dependency.sh golang.org/x/crypto master
hack/pin-dependency.sh golang.org/x/net master
hack/pin-dependency.sh golang.org/x/oauth2 master
hack/pin-dependency.sh golang.org/x/sync master
hack/pin-dependency.sh golang.org/x/sys master
hack/pin-dependency.sh golang.org/x/term master
hack/pin-dependency.sh golang.org/x/time master
hack/pin-dependency.sh golang.org/x/tools master
Signed-off-by: Stephen Augustus <foo@auggie.dev>
Kubernetes-commit: 0e9881a9dc9d06aaf93723b4dfc7f4e1cb92e215
2021-08-11 18:02:07 -04:00
Abu Kashem
f3ae70d0cf
send retry-after until ready
...
Kubernetes-commit: 6e3923d0a4f4720d2d9f628eb9c073d2d3ee291a
2021-08-10 12:03:21 -04:00
Abu Kashem
030819c510
apiserver: refactor WithRetryAfter server filter
...
Kubernetes-commit: 83889ae5940036d89b9822a1e38f0f939308e408
2021-08-09 18:25:29 -04:00
astraw99
2e5bed6053
fix typo `registry`
...
Kubernetes-commit: 6d16238fe53bf1135d781c73d3df4283ecef7fed
2021-08-08 18:37:16 +08:00
Mike Spreitzer
cc873bafd2
Increase debug logging in waitGroupCounter::Add
...
Now tries a little harder to get to meaningful stack frames.
This revision seems to strike a balance that is useful in the queueset tests.
Kubernetes-commit: b56dd725032cb7a14aa27e4c50c1c9d7c6d23eb1
2021-08-06 14:32:19 -04:00
Patrick Ohly
54bef49d4b
klog 2.20.0, logr v1.1.0, zapr v1.1.0
...
This replaces the experimental logr v0.4 with the stable v1.1.0
release. This is a breaking API change for some users because:
- Comparing logr.Logger against nil is not possible anymore:
it's now a struct instead of an interface. Code which
allows a nil logger should switch to *logr.Logger as type.
- Logger implementations must be updated in lockstep.
Instead of updating the forked zapr code in json.go, directly using
the original go-logr/zapr is simpler and avoids duplication of effort.
The updated zapr supports logging of numeric verbosity. Error messages
don't have a verbosity (= always get logged), so "v" is not getting
added to them anymore.
Source code logging for panic messages got fixed so that it references
the code with the invalid log call, not the json.go implementation.
Finally, zapr includes additional information in its panic
messages ("zap field", "ignored key", "invalid key").
Kubernetes-commit: cb6a65377775110631bc865acc06c3f957592813
2021-08-03 17:31:39 +02:00
tanjing2020
4e2d5a4ec5
Replace with
...
Kubernetes-commit: 1a598798fca6f15f4e883368666e7d4d3565fcc6
2021-07-23 10:26:26 +08:00
jyz0309
8a6934a20b
add new metric
...
Signed-off-by: jyz0309 <45495947@qq.com>
add comment
Signed-off-by: jyz0309 <45495947@qq.com>
add promlint
Signed-off-by: jyz0309 <45495947@qq.com>
address comment
Signed-off-by: jyz0309 <45495947@qq.com>
go fmt code
Signed-off-by: jyz0309 <45495947@qq.com>
Kubernetes-commit: 97ba475941f64f7ab41a92c51adeb4401146eed1
2021-07-20 19:28:33 +08:00
wojtekt
c18ab3e1b1
Estimate width of the request based on watchers count in P&F
...
Kubernetes-commit: 223f9be59778b6ec2e44fd57df523f00e246bd95
2021-07-07 10:48:29 +02:00
Abu Kashem
da50ca4c6e
apf: free seats in use after additional latency
...
Kubernetes-commit: d68186452d9150b113489e6a722caf82f898857f
2021-06-27 13:04:20 -04:00
Kubernetes Publisher
464eee4062
Merge pull request #101257 from tkashem/graceful-termintaion
...
apiserver: graceful termination with new option shutdown-send-retry-after
Kubernetes-commit: 938d31e273328bc3982e74efd84be83ddd3698ea
2021-08-10 15:08:40 -07:00
Abu Kashem
ffb869e08f
apiserver: add a new mode for graceful termination
...
add a new mode for graceful termination with the new server run option
'shutdown-send-retry-after'
- shutdown-send-retry-after=true: we initiate shutdown of the
HTTP Server when all in-flight request(s) have been drained. during
this window all incoming requests are rejected with status code
429 and the following response headers:
- 'Retry-After: N' - client should retry after N seconds
- 'Connection: close' - tear down the TCP connection
- shutdown-send-retry-after=false: we initiate shutdown of the
HTTP Server as soon as shutdown-delay-duration has elapsed. This
is in keeping with the current behavior.
Kubernetes-commit: 3182b69e970bd1fd036ff839fdf811f14e790244
2021-07-14 10:39:29 -04:00
Abu Kashem
5d12abfebe
apiserver: rename test variables
...
Kubernetes-commit: e8381733068f63f4a3e30bae52cea2c7abdde365
2021-07-14 10:29:53 -04:00
Kubernetes Publisher
b61f38fbf2
Merge pull request #104002 from MikeSpreitzer/refactor-counting
...
Refactor goroutine counting
Kubernetes-commit: 95ff56c201ae7ccdcd1f01bc36646d1d6496483a
2021-08-10 20:11:12 +00:00