Commit Graph

14129 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0cef26182c Merge pull request #105674 from tkashem/apf-debug
apf: include seat information in per request debug dump
2021-10-15 23:53:48 -07:00
Jordan Liggitt
ffb2d12633 Test json/yaml decoding type coercion 2021-10-15 11:52:56 -04:00
Jordan Liggitt
b4632c38f0 Fix strict json decoder test 2021-10-15 11:52:56 -04:00
Jordan Liggitt
fd64f8d7ef Add missing json tag on internal unstructured list 2021-10-15 11:52:56 -04:00
Kubernetes Prow Robot
655c04d9f5 Merge pull request #105673 from andyzhangx/validate-windows-disk-num
support more than 100 disk mounts on Windows
2021-10-14 20:08:55 -07:00
Kubernetes Prow Robot
7c80381d98 Merge pull request #105485 from liggitt/podsecurity-limit
PodSecurity: limit webhook admission input
2021-10-14 10:49:36 -07:00
Abu Kashem
8e33a3b2cc apf: include seat information in request dump 2021-10-14 09:27:54 -04:00
andyzhangx
a6253e6e2c support more than 100 disk mounts on Windows 2021-10-14 12:42:55 +00:00
Kubernetes Prow Robot
585c88eb43 Merge pull request #105065 from h4ghhh/metrics_disable
parameter 'disabled-metrics' is invalid
2021-10-13 12:21:55 -07:00
Abu Kashem
edf657a33a apf: include seats in use in queue dump 2021-10-13 10:39:37 -04:00
Abu Kashem
3ef5752edf apf: change QueueDump to use SeatSeconds 2021-10-13 10:22:41 -04:00
Abu Kashem
87c7401eb8 apf: include queue sum stats in debug 2021-10-13 10:14:30 -04:00
wojtekt
763e6d1dbb Disable P&F for watch requests 2021-10-13 10:50:47 +02:00
Kubernetes Prow Robot
e054181e51 Merge pull request #105445 from ardaguclu/diff-invalid-arg-status-code
Add diff command return status code greater than 1 when flags invalid
2021-10-12 15:43:48 -07:00
Kubernetes Prow Robot
297faec79a Merge pull request #105361 from kishorj/aws-mixed-protocol
AWS in-tree controller ignore LoadBalancer service with mixed protocols
2021-10-12 14:41:59 -07:00
Kubernetes Prow Robot
cf5eced480 Merge pull request #105592 from MikeSpreitzer/test-final-seats
Update queueset_test.go for FinalSeats
2021-10-12 13:40:00 -07:00
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
Mike Spreitzer
0fc595e033 Update queueset_test.go for FinalSeats
Track the introduction of FinalSeats.

Give up on calculating expected results for tests with added latency,
because I did not find an easy and obvious way to do it.
2021-10-12 08:01:53 -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
Jordan Liggitt
f46642a4f1 PodSecurity: limit webhook admission input 2021-10-11 17:47:10 -04: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