Kubernetes Prow Robot
af2ed2569d
Merge pull request #103539 from wojtek-t/pf_estimate_watch_width
...
Estimate width of the request based on watchers count in P&F
2021-10-12 09:25:48 -07:00
wojtekt
c5a77d8a76
Adjust final seats if they don't fit the limit
2021-10-12 09:54:40 +02:00
wojtekt
223f9be597
Estimate width of the request based on watchers count in P&F
2021-10-12 09:49:22 +02:00
Kubernetes Prow Robot
d9896a23bc
Merge pull request #105615 from MikeSpreitzer/correct-linger-logging
...
Unconfuse logging wrt additional latency
2021-10-12 00:23:46 -07:00
Kubernetes Prow Robot
d2f6eb6339
Merge pull request #95128 from ii/remove-unwanted-redirects
...
Limit Apiserver Proxy Redirects
2021-10-11 17:23:46 -07:00
Mike Spreitzer
42f698daad
Unconfused logging wrt additional latency
...
Fixed confusion in queueSet logging wrt seats and additional latency.
2021-10-11 13:21:46 -07:00
Kubernetes Prow Robot
194a3dea5d
Merge pull request #105605 from sttts/sttts-watch-cache-multiple-blockers
...
apiserver/watchcache: doc watch event fan-out to blocked watchers better
2021-10-11 09:32:40 -07:00
Kubernetes Prow Robot
668c666fce
Merge pull request #105603 from shawnhanx/eventstructuredlogging
...
Support SetStructuredLogging with the new events library
2021-10-11 06:24:51 -07:00
Kubernetes Prow Robot
1ae4af402e
Merge pull request #105582 from caesarxuchao/add-aggragator-user-header-test
...
Verifying the auth headers are set for upgraded aggregated API requests
2021-10-11 06:24:39 -07:00
Kubernetes Prow Robot
9253fefb8f
Merge pull request #105469 from MikeSpreitzer/advance-epoch
...
Advance epoch
2021-10-11 04:48:40 -07:00
shawnhanx
230cb00ddd
Support SetStructuredLogging with the new events library
2021-10-11 19:06:56 +08:00
Dr. Stefan Schimanski
94b2bb1d3d
apiserver/watchcache: doc watch event fan-out to blocked watchers better
2021-10-11 12:44:37 +02:00
Kubernetes Prow Robot
025ac2d57a
Merge pull request #105593 from MikeSpreitzer/fix-finishing-logs
...
Update log messages in queueSet::finishRequestLocked
2021-10-11 01:12:37 -07:00
Kubernetes Prow Robot
fb82a0d7eb
Merge pull request #104873 from pohly/json-output-stream
...
JSON output streams
2021-10-10 17:04:37 -07:00
Mike Spreitzer
3906e187a6
Update log messages in finishRequestLocked
...
Make them clearer and consistent.
2021-10-09 23:48:41 -07:00
Patrick Ohly
b22263d835
component-base: configurable JSON output
...
This implements the replacement of klog output to different files per level
with optionally splitting JSON output into two streams: one for info messages
on stdout, one for error messages on stderr. The info messages can get buffered
to increase performance. Because stdout and stderr might be merged by the
consumer, the info stream gets flushed before writing an error, to ensure that
the order of messages is preserved.
This also ensures that the following code pattern doesn't leak info messages:
klog.ErrorS(err, ...)
os.Exit(1)
Commands explicitly have to flush before exiting via logs.FlushLogs. Most
already do. But buffered info messages can still get lost during an unexpected
program termination, therefore buffering is off by default.
The new options get added to the v1alpha1 LoggingConfiguration with new command
line flags. Because it is an alpha field, changing it inside the v1beta kubelet
config should be okay as long as the fields are clearly marked as alpha.
2021-10-09 10:10:35 +02:00
Chao Xu
4bcfd45e33
Verifying the auth headers are set for upgraded aggregated API requests
2021-10-08 17:30:44 -07:00
Mike Spreitzer
a797fbd96d
Keep the progress meter R from overflowing
...
Also add test for that situation.
2021-10-08 17:11:52 -07:00
Kubernetes Prow Robot
76cac9dcfe
Merge pull request #105475 from aojea/egress-aggregator-upgrade
...
apiserver aggregator upgrade unit test
2021-10-08 12:37:22 -07:00
Kubernetes Prow Robot
f6facec054
Merge pull request #105573 from sttts/sttts-etcd-storage-free-kv-early
...
apiserver/storage: free etcd kv early in list decoding loop
2021-10-08 09:39:11 -07:00
Kubernetes Prow Robot
76c86ce324
Merge pull request #105219 from sahilvv/ga_ttl
...
GA TTLAfterFinish
2021-10-08 09:38:59 -07:00
Dr. Stefan Schimanski
dbf98e4266
apiserver/storage: free etcd kv early in list decoding loop
2021-10-08 14:09:07 +02:00
Kubernetes Prow Robot
8d0acaa3ff
Merge pull request #105556 from MikeSpreitzer/relax-test-different-widths
...
Relax TestDifferentWidths
2021-10-08 04:12:57 -07:00
Patrick Ohly
963d3c122d
resource: support using Quantity as command line value
...
The Quantity type itself cannot be used because the Set method has the wrong
signature. Embedding Quantity inside a new QuantityValue type makes it possible
to inherit most of the methods while overriding the Set method.
2021-10-08 09:05:08 +02:00
Mike Spreitzer
f2c46c8f9d
Calculate the work in each request just once
2021-10-07 17:51:04 -07:00
Sahil Vazirani
3988405c8d
GA TTLAfterFinish
2021-10-07 16:58:50 -07:00
Mike Spreitzer
10326282f9
Relax TestDifferentWidths
...
Make the margin a little wider because flakiness was reported.
2021-10-07 16:09:53 -07:00
Kubernetes Prow Robot
0894dfa204
Merge pull request #105539 from pohly/log-registry
...
component-base/logs: refactor registry
2021-10-07 11:49:44 -07:00
Kubernetes Prow Robot
ee2ac08907
Merge pull request #105243 from tkashem/apf-seats
...
apf: introduce final seats
2021-10-07 11:49:32 -07:00
Kubernetes Prow Robot
9b45983d3c
Merge pull request #104251 from ravisantoshgudimetla/scheduling-v1beta3
...
Scheduling v1beta3
2021-10-07 10:47:32 -07:00
Kubernetes Prow Robot
b0eac84937
Merge pull request #105345 from pohly/generic-ephemeral-volume-util
...
generic ephemeral volume util, base code and controller
2021-10-07 08:19:47 -07:00
Patrick Ohly
ce35b7dbc3
component-base/logs: refactor registry
...
Moving the registry into its own package will avoid dependency cycles in future
PRs.
Creating loggers through a factory instead of storing pre-created instances
will make it possible to create the loggers differently depending on
configuration parameters.
The factory can also be used to provide additional meta data before creating
instances.
2021-10-07 17:17:49 +02:00
Abu Kashem
3d6cc118fe
introduce final seats for work estimate
2021-10-07 09:36:20 -04:00
Kubernetes Prow Robot
5c3a789ad4
Merge pull request #105403 from tkashem/add-watch-init-latency
...
apf: print watch initialization latency in httplog
2021-10-06 17:42:41 -07:00
Kubernetes Prow Robot
dbd8d3bcd6
Merge pull request #105141 from VilledeMontreal/fix/noloadPluginsForComp
...
Do not try to load plugins for cobra commands
2021-10-06 12:18:31 -07:00
Abu Kashem
9b21e11cf9
apf: print watch init latency in httplog
2021-10-06 11:37:17 -04:00
Patrick Ohly
650eba6904
generic ephemeral volumes: helper functions
...
The name concatenation and ownership check were originally considered small
enough to not warrant dedicated functions, but the intent of the code is more
readable with them.
2021-10-06 10:38:05 +02:00
Stephen Heywood
be65bc3f86
Redirect proxy requests for only GET & HEAD methods
...
- Extract the current redirect code into a function
(proxyRedirectsforRootPath) and redirect for only
http.MethodGet or http.MethodHead
- Create a unit test that confirms that only GET &
HEAD methods are redirected
2021-10-06 20:55:59 +13:00
Kubernetes Prow Robot
afd55590e2
Merge pull request #104557 from tkashem/optimize-httplog
...
apiserver: construct logger for httplog only when log level is 3
2021-10-06 00:54:33 -07:00
Antonio Ojea
3627462ef3
apiserver aggregator upgrade unit test
...
Co-authored-by: Chao Xu <xuchao@google.com >
2021-10-05 22:58:12 +02:00
Abu Kashem
b05d805fd3
remove httplog filter from handler chain when klog.v < 3
2021-10-05 14:05:09 -04:00
Kubernetes Prow Robot
b7da9ef49f
Merge pull request #105156 from aojea/clientgo_trace
...
Enhance client-go url timing logging with http statistics
2021-10-05 09:23:21 -07:00
Kubernetes Prow Robot
7cce7eec11
Merge pull request #105466 from liggitt/json-stdlib-pretty
...
Use json stdlib for pretty-printer encoding
2021-10-05 08:23:20 -07:00
Antonio Ojea
72c35be086
client-go httpstats
...
enhance client-go DebugURLTiming roundtripper using golang httptrace
to provide timing statistics for:
- dns lookup
- tcp dialing
- tls handshake
- time to get a connection from the pool
- time to process a request
2021-10-05 16:13:30 +02:00
Kubernetes Prow Robot
519b164db1
Merge pull request #105222 from cyclinder/remove_node_lease_GA
...
remove nodeLease feature GA
2021-10-05 05:41:21 -07:00
Kubernetes Prow Robot
6f942a0701
Merge pull request #105412 from MikeSpreitzer/define-seat-seconds
...
Define datatype for seat-seconds and prevent overflow
2021-10-05 02:05:09 -07:00
Kubernetes Prow Robot
efa9029a0d
Merge pull request #104920 from tkashem/response-writer-cleanup
...
apiserver: decorate http.ResponseWriter correctly
2021-10-05 00:53:09 -07:00
Author cyclinder
e61b901628
remove nodeLease feature GA
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io >
2021-10-05 12:23:27 +08:00
Kubernetes Prow Robot
9fdcc4b199
Merge pull request #105312 from Karthik-K-N/fix-reatelimite-testfail
...
Fix for TestWithMaxWaitRateLimiter test case failure
2021-10-04 14:13:03 -07:00
Kubernetes Prow Robot
70d1360ab8
Merge pull request #105103 from tkashem/extend-audit-policy
...
apiserver: refactor PolicyRuleEvaluator interface
2021-10-04 14:12:40 -07:00