Commit Graph

12252 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
c1f3e90969 flowcontrol: make TestConfigConsumer less time-consuming
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-02-02 16:20:12 +00:00
Jordan Liggitt
394914f544 Add testdata readme 2021-02-02 11:17:19 -05:00
Jordan Liggitt
ce7e1e214a Isolate TestModifyContext from $KUBECONFIG 2021-02-02 09:43:45 -05:00
Jordan Liggitt
eff40e6fd9 Lower openapi filter fuzz iterations 2021-02-02 09:42:48 -05:00
Jordan Liggitt
4b527afa3f Speed up CRD apply unit test 2021-02-02 09:42:48 -05:00
Kubernetes Prow Robot
b36afa5509 Merge pull request #97753 from MikeSpreitzer/test-saw
Add unit test for sample-and-watermark histograms
2021-02-02 00:14:28 -08:00
Kubernetes Prow Robot
673a844834 Merge pull request #98338 from gavinfish/sched-remove-pro
Cleanup: remove prometheus dependencies for scheduler
2021-02-01 23:22:40 -08:00
Kubernetes Prow Robot
8096513aca Merge pull request #92866 from cofyc/fix91281
scheduler: Extend ExtenderFilterResult to include UnschedulableAndUnresolvable nodes
2021-02-01 23:22:27 -08:00
Kubernetes Prow Robot
ee2b7a5049 Merge pull request #98049 from pacoxu/enhancements/redir-links
fix all keps links 404 for kep folder migration
2021-02-01 21:48:28 -08:00
Ricardo Katz
b7c82bb83c Add EndPort to Network Policy - Alpha (#97058)
* Fix merge conflict in kube_features

* Add alpha support for EndPort in Network Policy

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Add alpha support for EndPort in Network Policy

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Add alpha support for EndPort in Network Policy

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Correct some nits

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Add alpha support for EndPort in Network Policy

* Add alpha support for EndPort in Network Policy

* Add alpha support for EndPort in Network Policy

* Add alpha support for EndPort in Network Policy
2021-02-01 19:24:28 -08:00
Kubernetes Prow Robot
7e6ef0efb6 Merge pull request #98616 from smarterclayton/recognizer_buffer
serializer: Recognizer interface should take a buffer
2021-02-01 17:50:35 -08:00
Kubernetes Prow Robot
f27318c0da Merge pull request #98445 from damemi/taint-toleration-internal-helpers
Move Taint/Toleration helpers to component-helpers repo
2021-02-01 17:50:27 -08:00
Kubernetes Prow Robot
f81220975e Merge pull request #98257 from lingsamuel/etcd-lease-max-count
lease manager limit max objects attached to a lease
2021-02-01 14:52:27 -08:00
yoyinzyc
57d0bc301a add context to metrics in util/flowcontrol. 2021-02-01 14:18:49 -08:00
yoyinzyc
266d67bd51 add context to metrics in apiserver/endpoint 2021-02-01 14:18:38 -08:00
yoyinzyc
5311d711ec add context to metrics in apiserver/authentication 2021-02-01 10:49:09 -08:00
yoyinzyc
4ba3f1a982 add context to metric in apiserver/audit 2021-02-01 10:49:09 -08:00
Kubernetes Prow Robot
fd515b22cf Merge pull request #98503 from chymy/kctl-i18nt-0128
add i18n.T in waitExample
2021-02-01 10:27:49 -08:00
Mike Dame
578ff3ec34 Move Taint/Toleration helpers to component-helpers repo
This is part of the goal for scheduling to remove dependencies on internal
packages for the scheduling framework. It also provides these functions in an
external location for other components and projects to import.
2021-02-01 11:06:03 -05:00
pacoxu
a10bdfed09 fix all keps links 404 for kep folder migration
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 19:41:59 +08:00
Ling Samuel
c8db72c38c api-server add --lease-max-object-count
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-02-01 18:20:59 +08:00
yuzhiquan
db264eaa6e add ignore-errors flag, support none break drain in group
add warning msg
2021-02-01 10:46:07 +08:00
Jiaxin Shan
e01a21469b Fix ALPHA stability level reference link 2021-01-31 15:39:04 -08:00
Clayton Coleman
9f288610eb serializer: Recognizer interface should take a buffer
The original intent of the Recognizer interface was to take a stream
and peek into the contents. Over time all of the callers migrated
to instead performing their own peek and then passing the buffer
as a bytes.NewBuffer to the interface as a stream, which was then
implemented as a read on the other side. This resulted in an
excess buffer allocation in general decoder usage.

Update the interface to take a []bytes slice and change all callers
to stop creating buffered readers, then update the JSON serializer
to check the buffer directly for "json-ness".
2021-01-31 00:27:42 -05:00
chymy
01f521aac6 Remove heapster flag in 'top node'
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-01-30 14:47:57 +08:00
drfish
c959e23250 Remove prometheus dependencies for scheduler 2021-01-30 12:15:22 +08:00
Kubernetes Prow Robot
76ead99a56 Merge pull request #98488 from pohly/klog-2.5.0
klog 2.5.0 + logr 0.4.0 update
2021-01-29 18:11:49 -08:00
Kubernetes Prow Robot
0a0490e34f Merge pull request #98576 from kevindelgado/ssa
Fix SSA for APIService
2021-01-29 17:21:58 -08:00
Kubernetes Prow Robot
03168d2e32 Merge pull request #98540 from damemi/internal-helper-get-avoid-pods
Scheduler: move GetAvoidPodsFromNodeAnnotations to component-helpers
2021-01-29 15:11:48 -08:00
Kubernetes Prow Robot
df7f240dee Merge pull request #97471 from tkashem/apf-enqued-request
add unit test to simulate an enqueued request that times out
2021-01-29 11:37:19 -08:00
Jordan Liggitt
d33c12bb69 Stop clearing OpenAPIConfig for kube-aggregator 2021-01-29 18:30:34 +00:00
Jordan Liggitt
dab5112240 Declare TCP default for service port protocol 2021-01-29 18:30:34 +00:00
Kubernetes Prow Robot
64a6ee4321 Merge pull request #98565 from adisky/move-spdystream
Move dependency docker/spdystream to moby/spdystream
2021-01-29 08:09:40 -08:00
Kubernetes Prow Robot
5cd694ba7d Merge pull request #98311 from jsafrane/fix-cinder-topology-translation
Fix translation of Cinder storage classess to CSI
2021-01-29 02:09:40 -08:00
Aditi Sharma
c5c938a056 Update dependency docker/spdystream to moby/spdystream
docker/spdystream has been moved to moby/spdystream.

Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-01-29 09:26:05 +00:00
tanjing2020
c38a06bca6 fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints 2021-01-29 11:39:25 +08:00
Abu Kashem
1d691ddb44 add unit test to simulate an enqued request that times out 2021-01-28 22:31:46 -05:00
Yecheng Fu
33a39e5333 api changes 2021-01-29 11:14:37 +08:00
Kubernetes Prow Robot
b62f063fa3 Merge pull request #98156 from wzshiming/fix-typo
Fix typo
2021-01-28 17:00:16 -08:00
Mike Dame
73d8eba1a4 Scheduler: move GetAvoidPodsFromNodeAnnotations to component-helpers 2021-01-28 14:41:55 -05:00
Abu Kashem
e416c9e574 apiserver: plumb context with request deadline
- as soon as a request is received by the apiserver, determine the
  timeout of the request and set a new request context with the deadline.
- the timeout filter that times out non-long-running requests should
  use the request context as opposed to a fixed 60s wait today.
- admission and storage layer uses the same request context with the
  deadline specified.

we use the default timeout enforced by the apiserver:
- if the user has specified a timeout of 0s, this implies no timeout on the user's part.
- if the user has specified a timeout that exceeds the maximum deadline allowed by the apiserver.
2021-01-28 14:15:04 -05:00
Patrick Ohly
562a39a2e1 logging: support call depth via logr, structured logging
The new releases of klog (via klogr) and logr expose support for call
traces via a new WithCallDepth API in logr.

The new klogr can be configured to pass structured log entries into
klog instead of turning them into a single text message.
2021-01-28 17:35:28 +01:00
Jan Safranek
9032f5e51b Fix translation of Cinder storage classess to CSI
In-tree Cinder storage class must be translated to CSI:
- sc.params["fsType"] -> sc.params["csi.storage.k8s.io/fstype"]
- sc.allowedTopology (with in-tree topology keys) -> sc.allowedTopology
  (with CSI topology keys)
2021-01-28 16:01:15 +01:00
chymy
716865c7de Fix unified flag in --logging-format description
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-01-28 19:49:00 +08:00
Kubernetes Prow Robot
9f2f1b8c46 Merge pull request #98496 from lavalamp/connrotation
Remove unbounded connection creation; also change worst case delay from 50s to 5s
2021-01-27 20:03:07 -08:00
Daniel Smith
80c3ec4c6a Fix unbounded connection creation & 50s of delay 2021-01-27 19:14:24 -08:00
chymy
e472a7724b add i18n.T in waitExample
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-01-28 10:35:21 +08:00
Kubernetes Prow Robot
b3dd01da49 Merge pull request #98456 from SataQiu/fix-apiserver-log-20210127
Fix the bug that network proxy logging http-connect mode in all cases
2021-01-27 16:59:07 -08:00
Kubernetes Prow Robot
77b194a5d0 Merge pull request #98344 from gavinfish/remove-pro-rest
Cleanup: remove legacy prometheus visibility package_group
2021-01-27 10:01:40 -08:00
Nabarun Pal
9cada2ec3b update gogo/protobuf to v1.3.2
gogo/protobuf@v1.3.2 fixes https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3121

Ref: https://github.com/kubernetes/client-go/issues/927

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-01-27 22:07:32 +05:30