Commit Graph

97573 Commits

Author SHA1 Message Date
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
JunYang
e5cb50f69e Change log: fix broken page anchor url encodings
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-01-28 18:44:33 +08:00
JunYang
2a13cbede8 Change log:Fix hyperlink of description [kube-controller-manager-kube-scheduler-and-cloud-controller-manager]
Signed-off-by: JunYang <yang.jun22@zte.com.cn>

Fix hyperlink of error description /&#35

Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-01-28 18:42:40 +08:00
JunYang
3bf52db5fe Change log:Fix hyperlink of description [kube-controller-manager-kube-scheduler-and-cloud-controller-manager]
Signed-off-by: JunYang <yang.jun22@zte.com.cn>

Fix hyperlink of error description /&#35

Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-01-28 16:21:19 +08:00
Nikhita Raghunath
5c916f0029 Add alisondy to sig-contribex-approvers 2021-01-28 12:53:39 +05:30
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
pacoxu
f85cbdb410 update metadata-concealment to 1.6 for removing legacy checking
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-28 10:06:47 +08:00
Matthew Fenwick
35a7f91208 Removed "FromPort" in netpol tests
Co-authored-by: Dan Fenwick <dfenwick@fastmail.com>
Co-authored-by: Matt Fenwick <mfenwick100@gmail.com>
2021-01-27 20:24:35 -05:00
Jie Shen
f82e3c430c Wrap all errors in pkg/scheduler 2021-01-28 09:13:40 +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
Amim Knabben
9a8a74f79a Rolling back network policy tests 2021-01-27 18:58:52 -05:00
Kubernetes Prow Robot
4b3d6369dd
Merge pull request #98453 from tanjing2020/change-log
Add pod information to the error logs
2021-01-27 14:51:07 -08:00
Aldo Culquicondor
dbf9e3b2d3 Make sync Job test tables more readable
And use t.Run to improve debugging experience

Change-Id: Ia91adbfe9c419cc640abe0efe287f5b9ab715e87
2021-01-27 16:56:41 -05:00
David Eads
ff6684d90f add check to gc_admission to allow super users to skip RESTMapping 2021-01-27 16:53:33 -05:00
Antonio Ojea
08a8e80c9f move e2e hostport conflict test to sig-network
The test "validates that there is no conflict between pods with same
hostPort but different hostIP and protocol" was testing the scheduler
capability to schedule pods on the same node with hostPorts, however,
it wasn´t validating that the HostPorts was working, causing false
positives, because the pods were scheduled, but the HostPort exposed
wasn´t working.

In order to test the HostPort functionality, we have to use HostNetwork
pods, that are incompatible with Windows platforms. Also, since this
is touching both network and scheduling, there is no clear the ownership,
but sig-network is happy to adopt it.

We also add a new test for scheduling only under "scheduling", so Windows
folks can use it to test the scheduled in that platform.
2021-01-27 21:55:36 +01:00