Commit Graph

97691 Commits

Author SHA1 Message Date
tanjing2020
c38a06bca6 fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints 2021-01-29 11:39:25 +08:00
Kubernetes Prow Robot
d7cb340bc6
Merge pull request #83268 from odinuge/e2e_node_timeout
Add timeout config for node_e2e tests
2021-01-28 19:33:40 -08:00
Yecheng Fu
9a2713503a multiple extenders and UnschedulableAndUnresolvable takes precedence
over Unschedulable
2021-01-29 11:32:43 +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
jornshen
3f506cadb0 optimize proxier duplicate localaddrset 2021-01-29 10:52:01 +08:00
Kubernetes Prow Robot
125a5f10a6
Merge pull request #96599 from tanjing2020/master
fix staticcheck:pkg/volume/testing
2021-01-28 18:43:40 -08:00
Dave Chen
9d48a44601 Expose node status so that external preemption plugins can use it
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-01-29 10:17:25 +08:00
Kubernetes Prow Robot
3667e0e9f7
Merge pull request #98147 from deads2k/system-masters-delete
add check to gc_admission to allow super users to skip RESTMapping
2021-01-28 17:52:02 -08:00
Kubernetes Prow Robot
9ec1e23e41
Merge pull request #98005 from wzshiming/fix-rescheduling-to-the-shutdown-node
Sync node status during kubelet node shutdown
2021-01-28 17:51:53 -08:00
Kubernetes Prow Robot
e6e079aac3
Merge pull request #97748 from heqg/collides-state
Fix variable 'state' collides with imported package name
2021-01-28 17:51:40 -08:00
Kubernetes Prow Robot
eb2b71c727
Merge pull request #98320 from chewong/use-promoted-images
test images: use recently promoted images
2021-01-28 17:00:41 -08:00
Kubernetes Prow Robot
1a76d3ddfd
Merge pull request #98261 from wzshiming/fix-panic
kubelet: Fix NPE in ephemeral storage eviction
2021-01-28 17:00:32 -08:00
Kubernetes Prow Robot
8f856793ae
Merge pull request #98245 from Huang-Wei/garbage-char
Remove garbage characters (^M) under test/*
2021-01-28 17:00:24 -08:00
Kubernetes Prow Robot
b62f063fa3
Merge pull request #98156 from wzshiming/fix-typo
Fix typo
2021-01-28 17:00:16 -08:00
Kubernetes Prow Robot
f402e472a1
Merge pull request #98041 from Huang-Wei/sched-enqueue-1
Surface info of failed plugins during PerFilter and Filter
2021-01-28 17:00:07 -08:00
Kubernetes Prow Robot
e05c9ab04b
Merge pull request #97932 from ehashman/kubelet-standalone-doc
Add explanation for kubeClient != nil in NewMainKubelet
2021-01-28 16:59:59 -08:00
Kubernetes Prow Robot
970c4db574
Merge pull request #97815 from justinsb/node_counting
e2e: DNS autoscaler test was not counting nodes correctly
2021-01-28 16:59:52 -08:00
Kubernetes Prow Robot
6702359c3c
Merge pull request #97270 from rikatz/kubelet-bsd-1
Change GetBootTime to work specificaly with FreeBSD
2021-01-28 16:59:40 -08:00
Antonio Ojea
5f6763067b deflake ipv6 tcp close_wait 2021-01-29 00:39:40 +01:00
Kubernetes Prow Robot
4a8b2d377b
Merge pull request #98336 from pacoxu/fix/94791-update-image
update metadata-concealment to 1.6 for removing legacy checking
2021-01-28 14:42:00 -08:00
Kubernetes Prow Robot
97076f6647
Merge pull request #98297 from JornShen/replace_ipvs_proxier_protocal_str
use exist const to replace ipvs/proxier.go tcp,udp,sctp str
2021-01-28 14:41:52 -08:00
Kubernetes Prow Robot
0bf26180dd
Merge pull request #96901 from tkashem/context-wiring
plumb context with request deadline
2021-01-28 14:41:40 -08:00
Kubernetes Prow Robot
99220f611b
Merge pull request #98063 from dims/nuke-golint-checks
Remove golint based verifications
2021-01-28 13:49:40 -08:00
Davanum Srinivas
02eaf0f23d
remove references to golint in hack/tools
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:12 -05:00
Davanum Srinivas
8cec5fbd28
Remove golint based verifications
After a couple years of seeing changes spawned from this issue, I don't think this is a good use of contributors' or reviewers' time. golint is very opinionated about:

exported type and function names, leading to PRs attempting to change exported things people use downstream
missing documentation on interface implementation functions, which leads to not-very-useful copy/paste of interface godoc
the govet and staticcheck verify jobs are much more useful since they catch correctness issues

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:09 -05:00
Kubernetes Prow Robot
24f13032b3
Merge pull request #97395 from thockin/externalips-admission
Add denyserviceexternalips admission (KEP 2200)
2021-01-28 12:33:11 -08:00
Wei Huang
f8a6bdb044
Surface info of failed plugins during PerFilter and Filter 2021-01-28 12:20:42 -08:00
Mike Dame
73d8eba1a4 Scheduler: move GetAvoidPodsFromNodeAnnotations to component-helpers 2021-01-28 14:41:55 -05:00
Kubernetes Prow Robot
927cc48fdf
Merge pull request #98421 from qingsenLi/210126
fix Geting -> Getting
2021-01-28 11:41:46 -08:00
Kubernetes Prow Robot
89f1e930f3
Merge pull request #98420 from borgerli/bash-version
change minimum bash version to 4.2
2021-01-28 11:41:33 -08:00
Abu Kashem
df7a890d94
apiserver: add e2e tests for request context deadline 2021-01-28 14:15:05 -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
Kubernetes Prow Robot
99fc71b37a
Merge pull request #98530 from xing-yang/update_aliases
Update owner aliases
2021-01-28 10:39:57 -08:00
Kubernetes Prow Robot
5947cdf5de
Merge pull request #98527 from pohly/csi-spec-1.3.0
dependencies: update CSI spec to v1.3.0
2021-01-28 10:39:46 -08:00
Kubernetes Prow Robot
f81a9adfd7
Merge pull request #98491 from knabben/swap-netpol-folder
Rolling back network policy tests
2021-01-28 10:39:34 -08:00
Ernest Wong
40713f7666
test images: use recently promoted images
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-28 10:09:00 -08:00
Kubernetes Prow Robot
d54e4498fc
Merge pull request #98529 from saschagrunert/buildx
Use buildx in favor of `FROM --platform` syntax
2021-01-28 09:47:41 -08:00
Kubernetes Prow Robot
3bfa8ad7e5
Merge pull request #98209 from yangjunmyfm192085/run-test4
Change log: fix broken page anchor url encodings
2021-01-28 09:47:34 -08: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
Kubernetes Prow Robot
252887e39f
Merge pull request #98485 from gavinfish/sched-wrap-all-err
Scheduler: wrap all errors in pkg/scheduler
2021-01-28 08:21:46 -08:00
Kubernetes Prow Robot
816e67ab9d
Merge pull request #97456 from claudiubelu/remove-busybox-helper
test images: Remove busybox-helper image
2021-01-28 08:21:34 -08:00
Tonis Tiigi
f19f22b43e enable cross-compile CC config for non-amd64
Currently target CC can only be set if the host platform
is linux/amd64 . If target is already set in the environment
it is always safe to use it and enable cgo.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-01-28 07:11:04 -08: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
Kubernetes Prow Robot
90ca7e89e9
Merge pull request #98526 from saschagrunert/debian-images
Bump debian-base to v1.4.0 and debian-iptables to v1.5.0
2021-01-28 06:43:34 -08:00
xing-yang
ee904e18f0 Update owner aliases 2021-01-28 13:53:48 +00:00
Sascha Grunert
646a202440
Use buildx in favor of FROM --platform syntax
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 14:53:09 +01:00
Patrick Ohly
c905f2656c dependencies: update CSI spec to v1.3.0
The newer spec will be needed for some test code that uses the new
GetVolume API.

The commit was produced with:
  hack/pin-dependency.sh github.com/container-storage-interface/spec v1.3.0
  hack/update-vendor.sh
2021-01-28 13:51:13 +01:00
Sascha Grunert
1acaf32cff
Bump debian-base to v1.4.0 and debian-iptables to v1.5.0
Both images are now sane multi-architecture images and should fix the
kube-proxy container image in the same way.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 13:47:09 +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