Commit Graph

90402 Commits

Author SHA1 Message Date
Gaurav Singh
59a28111be [Azure] cache map remove exists check 2020-04-20 22:40:06 -04:00
Kubernetes Prow Robot
d6f44b0ea9
Merge pull request #90278 from aojea/closewait
Deflake TCP Closewait e2e test
2020-04-20 17:44:56 -07:00
tangcong
16c3ef2df8 fix client-go util staticcheck error 2020-04-21 07:27:23 +08:00
tangcong
2b984b3e3a fix kubelet stats staticcheck error 2020-04-21 07:16:58 +08:00
tangcong
90481a9596 fix kubeadm staticcheck err 2020-04-21 06:54:42 +08:00
Kubernetes Prow Robot
4820b6cbdb
Merge pull request #90242 from wojtek-t/efficient_alias_ranges
Avoid unnecessary GCE API calls for IP-alias calls
2020-04-20 15:54:25 -07:00
Kubernetes Prow Robot
d92fdebd85
Merge pull request #89897 from giuseppe/test-e2e-node
kubelet: fix e2e-node cgroups test on cgroup v2
2020-04-20 15:54:12 -07:00
Kubernetes Prow Robot
8b0a7dea1d
Merge pull request #90297 from deads2k/silence-usage
stop printing usage help when the server commands exit
2020-04-20 14:05:49 -07:00
Kubernetes Prow Robot
0e072a8214
Merge pull request #85478 from bart0sh/PR0084-e2e_node-inspect-inspect-image-before-pulling
e2e_node: check if image exists locally before pulling
2020-04-20 14:05:40 -07:00
Jordan Liggitt
ba4d2aa076 Restrict node labels on Node create 2020-04-20 16:26:24 -04:00
Kubernetes Prow Robot
be9427e253
Merge pull request #90252 from dims/no-need-to-vendor-bazel-gazelle/buildtools/kazel
Separate go module for tools to avoid polluting root go.mod
2020-04-20 12:19:41 -07:00
wojtekt
da1ed9d1ed Enable couple networking tests for large clusters 2020-04-20 21:11:34 +02:00
wojtekt
3758ab62d1 Avoid unnecessary GCE API calls for IP-alias calls
This is to avoid unnecessary GCE API calls done by getInstanceByName
helper, which is iterating over all zones to find in which zone the
VM exists.
ProviderID already contains all the information - it's in the form:
gce://<VM URL> (VM URL contains project, zone, VM name).

ProviderID is propagated by Kubelet on node registration and in case
of bugs backfilled by node-controller.
2020-04-20 20:47:11 +02:00
Davanum Srinivas
6974d32755
Add Makefile and a note in README.md
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:47 -04:00
Davanum Srinivas
ff6a888180
generate LICENSES used in tools
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:46 -04:00
Davanum Srinivas
ad70acf018
add update/verify for go.mod/sum files in hack/tools
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:46 -04:00
Davanum Srinivas
be5279947c
go-isatty to v0.0.4 as needed by lint-dependencies
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:46 -04:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Kubernetes Prow Robot
2c80046ed1
Merge pull request #90286 from smarterclayton/preempt
test: PriorityClass resource quota tests should not cause preemption
2020-04-20 10:42:04 -07:00
Kubernetes Prow Robot
18b5c4ddbb
Merge pull request #90283 from gaurav1086/scheduler_cleanup_map_deletion
[Scheduler] Improve complexity from O(logN) to O(1)
2020-04-20 10:41:53 -07:00
Kubernetes Prow Robot
5157383b84
Merge pull request #90227 from gosoon/bugfix
kubectl: fix the Scheduled eventTime is <unknown> when printing event
2020-04-20 10:41:40 -07:00
Kubernetes Prow Robot
5655350b2b
Merge pull request #89999 from soltysh/fix_events2
If firstTimestamp is not set use eventTime when printing event
2020-04-20 08:45:40 -07:00
Kubernetes Prow Robot
4c7254bd76
Merge pull request #90269 from gaurav1086/azure_fix_publicIP_tests
[Provider/Azure] fix publicIP test cases
2020-04-20 07:01:39 -07:00
David Eads
871d6dd8bb stop printing usage help when the server commands exit 2020-04-20 08:29:52 -04:00
andyzhangx
17d2e00e68 fix: azure file csi migration failure 2020-04-20 11:13:47 +00:00
Kubernetes Prow Robot
7f7378eddf
Merge pull request #89854 from SataQiu/fix-session-affinity-test-20200404
Increase the session affinity timeout to ensure that the test passes
2020-04-20 02:49:39 -07:00
Ed Bartosh
88478f3749 e2e_node: check if image exists locally before pulling
'docker pull' is a time consuming operation. It makes sense to check
if image exists locally before pulling it from a registry.

Checked if image exists by running 'docker inspect'. Only pull if
image doesn't exist.
2020-04-20 12:27:29 +03:00
Kubernetes Prow Robot
b8600d766b
Merge pull request #90273 from nilo19/cleanup/enrich-azure-vmss-unit-test
Provider/Azure: Enrich the unit tests for azure_vmss.go.
2020-04-20 01:19:39 -07:00
Kubernetes Prow Robot
1aa2c99a27
Merge pull request #90254 from smarterclayton/flaky_test
test: IngressClass exclusion test races with admission cache
2020-04-19 21:11:40 -07:00
t-qini
3fdceba86f Enrich the unit tests for azure_vmss.go. 2020-04-20 11:19:41 +08:00
SataQiu
fc3d282b10 kube-proxy: increase the session affinity timeout to ensure that the test passes in ipvs mode
Signed-off-by: SataQiu <1527062125@qq.com>
2020-04-20 10:22:30 +08:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
tanjunchen
21039d5bd3 pkg/kubelet/remote/remote_runtime.go:fix the incorrect klog comment 2020-04-20 09:55:40 +08:00
Kubernetes Prow Robot
32540b0eaa
Merge pull request #90280 from gaurav1086/azure_lb_remove_unncessary_check
[Provider/Azure] remove unncessary nil check for range
2020-04-19 18:05:38 -07:00
Clayton Coleman
1e4e0759e8
test: PriorityClass resource quota tests should not cause preemption
During a parallel test run these tests were observed to cause a
preemption of another test:

```
Apr 19 16:59:06.749: INFO: At 2020-04-19 16:58:52 +0000 UTC - event for pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1: {default-scheduler } Scheduled: Successfully assigned e2e-init-container-7691/pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1 to ip-10-0-148-234.us-west-2.compute.internal
Apr 19 16:59:06.750: INFO: At 2020-04-19 16:58:54 +0000 UTC - event for pod-init-b6fbd440-dbc2-454a-b31a-ce44266298d1: {default-scheduler } Preempted: Preempted by e2e-resourcequota-priorityclass-8850/testpod-pclass9 on node ip-10-0-148-234.us-west-2.compute.internal
```

These tests have no need to actually land on a node to validate resource quota and so we can set an impossible scheduling condition. Hopefully we don't have tests that too broadly check impossible scheduling conditions.
2020-04-19 15:08:00 -04:00
Gaurav Singh
31afb24244 [Scheduler] Map deletion complexity: log(n) => O(1) 2020-04-19 11:31:55 -04:00
Clayton Coleman
77973b5279
test: IngressClass exclusion test races with admission cache
The admission cache may take longer to see both ingress classes
than it takes to create the ingress. We must loop until we see
the appropriate error, cleaning up after ourselves as we go.
2020-04-19 10:28:46 -04:00
Gaurav Singh
a0c2af4fcd [Azure] remove unncessary nil check for range 2020-04-19 09:22:37 -04:00
Antonio Ojea
6efe6e1284 e2e TCP Close-wait don't set conn deadline
Don't set a connection deadline for reading, because the read operation will
fail if no data is reaceived after the deadline, and will not keep the
connection in the close_wait status.
2020-04-19 13:52:49 +02:00
Antonio Ojea
4b423ad073 e2e kube-proxy don't delete inmediatly 2020-04-19 13:37:34 +02:00
Antonio Ojea
638e077b4b e2e kube_proxy pull only if not available 2020-04-19 13:11:31 +02:00
Kubernetes Prow Robot
e95106106b
Merge pull request #90243 from soltysh/issue90074
Revert "stop defaulting kubeconfig to http://localhost:8080"
2020-04-18 23:07:36 -07:00
Gaurav Singh
2df5a30ba3 [Azure] fix publicIP test cases 2020-04-18 18:30:59 -04:00
Kubernetes Prow Robot
c70e3e93bd
Merge pull request #89845 from yuga711/pvc-pv
Added events for failures in PV/PVC processing.
2020-04-18 02:51:35 -07:00
Kubernetes Prow Robot
b54c4eaebb
Merge pull request #90220 from logicalhan/sig-instrumentation-label
use OWNERS regex filtering mechanism to auto-label metrics changes
2020-04-17 22:03:36 -07:00
Kubernetes Prow Robot
44f9218a9d
Merge pull request #90247 from liggitt/lifecycle-generator
Lifecycle generator updates
2020-04-17 19:09:35 -07:00
Kubernetes Prow Robot
f6f92aa00a
Merge pull request #90082 from bitscuit/consistent-year-formats
fix exact year inconsistencies in human readable duration
2020-04-17 17:23:36 -07:00
Kubernetes Prow Robot
640b3c0582
Merge pull request #89916 from tanjunchen/update-20200407
test/e2e/autoscaling: refactor installNVIDIADriversDaemonSet()
2020-04-17 14:43:36 -07:00
Kubernetes Prow Robot
b2689edfdd
Merge pull request #88371 from dharmab/scheduler-synopsis
Improve scheduler CLI description
2020-04-17 13:15:36 -07:00
Jordan Liggitt
b80578366b Update generated files 2020-04-17 15:50:51 -04:00