Abdullah Gharaibeh
a151682887
Split scheduler's PodInfo into two types, PodInfo and PodQueueInfo
2020-04-21 21:45:20 -04: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
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
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
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
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
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
Jordan Liggitt
2fa1d202b3
Mark replacement APIs for deprecated extensions/v1beta1 APIs
2020-04-17 15:50:51 -04:00
Jordan Liggitt
d0babe2613
Prerelease lifecycle generator updates
...
Logs at lower verbosity to match other generators
Switches major/minor return types to int
Prefixes generated method names with APILifecycle to avoid collisions
Adds a k8s:prerelease-lifecycle-gen:replacement=group,version,kind tag for indicating a replacement API
2020-04-17 15:50:51 -04:00
Maciej Szulik
34865774a8
Fix kubectl version test to tolerate Run error coming from default
...
localhost:8080
2020-04-17 21:23:36 +02:00
Han Kang
c1480f2f2e
use OWNERS regex filtering mechanism to auto-label metrics changes
...
use OWNERS regex filtering mechanism to auto-label metrics changes
Change-Id: Ia6538ca43f6ab3350e4c18abb77a9fb32d8aa5f5
remove reviewers section
Change-Id: I92e7f633dc6e50b84b7bc430b589041e7bd3ea44
2020-04-17 11:17:10 -07:00
bitscuit
36139a7255
add boundary test for subtraction
2020-04-17 11:04:52 -07:00
Kubernetes Prow Robot
875d3b534e
Merge pull request #90091 from gongguan/dynamic-cache
...
Use dynamic size watch-cache.
2020-04-17 10:57:07 -07:00
Kubernetes Prow Robot
87eb688ec9
Merge pull request #90234 from jsafrane/remove-prestop-hook
...
Sync csi-hostpath manifests
2020-04-17 07:41:06 -07:00
Maciej Szulik
a871738c86
Revert "stop defaulting kubeconfig to http://localhost:8080 "
...
This reverts commit b19ad9e7a7
.
2020-04-17 16:37:15 +02:00
gosoon
798f677aac
kubectl: fix the Scheduled eventTime is <unknown> when use kubectl describe pod xxx
2020-04-17 19:58:27 +08:00
Kubernetes Prow Robot
72fb952dd6
Merge pull request #89915 from YuikoTakada/move_e2e_framework_WaitForService
...
Move WaitForService() into e2eservice
2020-04-17 04:49:07 -07:00
Kubernetes Prow Robot
d24b928629
Merge pull request #82062 from k-toyoda-pi/fix_shellcheck_config-default
...
Fix shellcheck failure in cluster/gce/config-default.sh
2020-04-17 02:09:07 -07:00