Commit Graph

91212 Commits

Author SHA1 Message Date
Abdullah Gharaibeh
5e0211c72d Added pre-processed required affinity terms to scheduler's PodInfo type. 2020-05-14 10:30:42 -04:00
Kubernetes Prow Robot
438debfb72
Merge pull request #91057 from ingvagabund/start-informers-outside-of-InitTestScheduler
integration: start informer and scheduler outside of InitTestScheduler
2020-05-14 06:22:22 -07:00
Robbin Baauw
77a2a72541
Add inline tag to FsStats
Co-authored-by: Victor Roest <victor@xirion.net>
2020-05-14 14:23:36 +02:00
Dave Chen
6b9fb2c591 Fix nits in comments for NodeResources plugins 2020-05-14 18:45:59 +08:00
Pengfei Ni
5023bc449c Fix VirtualMachineScaleSets.virtualMachines.GET not allowed issues when customers have set VMSS orchestrationMode 2020-05-14 08:12:20 +00:00
yue9944882
6a7aa377f2 exclude openapi params for DELETECOLLECTION 2020-05-14 16:06:04 +08:00
Kubernetes Prow Robot
7580666e0c
Merge pull request #91068 from mcristina422/equalTypos
Fix a few typos in the reflect package
2020-05-14 00:47:04 -07:00
Kubernetes Prow Robot
0171b12ad6
Merge pull request #91041 from weijiehu/azureroutetableclient
Improves unittest CC for azure_routetableclient
2020-05-14 00:46:54 -07:00
Kubernetes Prow Robot
f9f2875871
Merge pull request #91040 from weijiehu/azurerouteclient
Improves unittest CC for azure_routeclient
2020-05-14 00:46:45 -07:00
Kubernetes Prow Robot
a8eedc7aba
Merge pull request #91005 from PatrickLang/windows-build
Clarify how to build for or with Windows using Docker
2020-05-14 00:46:35 -07:00
Kubernetes Prow Robot
dc1934e078
Merge pull request #90477 from rphillips/feat/add_tracing_to_remote_runtime
kubelet: add remote_runtime tracing at log level 10
2020-05-14 00:46:22 -07:00
jingxueli
b1143da370 skip unnecessary scheduling attempt when pod's finalizers change 2020-05-14 15:43:54 +08:00
louisgong
c0b78c83a1 refactor aws nodeAddresses tests 2020-05-14 14:45:55 +08:00
Kubernetes Prow Robot
f975b4b0df
Merge pull request #91066 from rphillips/fixes/exec-probe_log
kubelet: tweak exec-probe log statement to be more concise
2020-05-13 22:14:35 -07:00
Kubernetes Prow Robot
9978c281ec
Merge pull request #90773 from gnufied/fix-csi-e2e-orphans
Fix CSI e2e leaving pods in terminating state
2020-05-13 22:14:21 -07:00
v-xuxin
f513c36332 Enrich the unit tests for azure vmsizeclient and snapshotclient and subnetclient 2020-05-14 03:48:48 +00:00
louisgong
205ded20da update spf13/cobra dependency to 1.0.0 2020-05-14 11:03:30 +08:00
Kobayashi Daisuke
96690673c4 Add test case in scheduler/apis/config/types_test.go to improve the test coverage. 2020-05-14 11:24:27 +09:00
SataQiu
281f44628f kubeadm: log more information when missing the necessary config element
Signed-off-by: SataQiu <1527062125@qq.com>
2020-05-14 10:07:03 +08:00
Hemant Kumar
75fdb6d554 When casting resource.Quantity to int64 it may overflow
We need to ensure that when converting resource.Quantity
to int64 it does not overflow and if it does, then an error is
returned back to the use rather than attempting expansion and
provisioning operations with scaled value.
2020-05-13 21:22:59 -04:00
Kubernetes Prow Robot
8f8ac98714
Merge pull request #91053 from soltysh/create_job
Set appropriate owner references when creating a job from cronjob
2020-05-13 16:00:00 -07:00
Kubernetes Prow Robot
dbba2c198b
Merge pull request #91013 from soltysh/fix_createcronjob
Fix create cronjob help message
2020-05-13 15:59:51 -07:00
Kubernetes Prow Robot
6734266772
Merge pull request #91010 from v-xuxin/enrich-unit-test
Improve unit test coverage for azure publicipclient
2020-05-13 15:59:42 -07:00
Kubernetes Prow Robot
0d0c400715
Merge pull request #91004 from cwdsuzhou/May/relplace_log
Use klog to replace log to keep them in consistence
2020-05-13 15:59:33 -07:00
Kubernetes Prow Robot
9188bbbdaa
Merge pull request #90990 from hasheddan/guestbook
Retry resolving TCP address in agnhost/guestbook
2020-05-13 15:59:24 -07:00
Kubernetes Prow Robot
16abe31ec7
Merge pull request #90988 from MoShitrit/fix-python-1163
Fixing broken link in docs pointing to api-conventions.md
2020-05-13 15:59:14 -07:00
Kubernetes Prow Robot
40b0f4f6cb
Merge pull request #90565 from alculquicondor/cleanup-sched-config
Remove wrapper around base LeaderElectionConfiguration
2020-05-13 15:59:05 -07:00
Kubernetes Prow Robot
4339ac30a0
Merge pull request #90554 from vboulineau/vboulineau/fix_win_stats_init_containers
kubelet: fix `/stats/summary` endpoint on Windows when init-containers are present on the node
2020-05-13 15:58:51 -07:00
Kubernetes Prow Robot
2ca3347dc0
Merge pull request #90499 from knabben/kubelet-testing-flags
Deprecating Kubelet not used testing flags
2020-05-13 15:58:37 -07:00
Kubernetes Prow Robot
5a5ae8d6ff
Merge pull request #90350 from ZeroMagic/update_azurefile
Switch to use AzureFile management SDK
2020-05-13 15:58:23 -07:00
Jacob Tanenbaum
59082e80e3 Add a test that checks if conntrack entries are cleaned up for UDP traffic
ensure that when a pod servicing UDP traffic is deleted the conntrack entries
are cleaned up and another backend can pick up the traffic  with minimal
interruption

When using NodePort services and long running connections that on pod deletion
stale conntrack entries can halt the flow of traffic. Add a test case to check
that conntrack entries are cleaned up.
2020-05-13 16:45:58 -04:00
Wei Huang
eb17b7559c
move SchedulerExtender interface to pkg/scheduler/framework/v1alpha1 2020-05-13 13:09:13 -07:00
Wei Huang
e4f878ea3a
cleanup: use string instead of v1.Node as key of nodeToVictims 2020-05-13 13:08:20 -07:00
Kubernetes Prow Robot
0024c837ba
Merge pull request #88392 from skmatti/global-access-ga
Promote GlobalAccess for GCE Internal Loadbalancers to GA
2020-05-13 10:22:26 -07:00
Michael Cristina
b4d726fd6d Fix a few typos in the reflect package 2020-05-13 12:19:47 -05:00
Julian V. Modesto
7af0011884 Promote diff and dry-run to conformance 2020-05-13 13:04:41 -04:00
Ryan Phillips
348d9941b1 kubelet: tweak exec-probe log statement to be more concise 2020-05-13 11:42:43 -05:00
Jan Chaloupka
65e9826f79 integration: start informer and scheduler outside of InitTestScheduler
In case two or more controllers share the informers created through InitTestScheduler,
it's not safe to start the informers until all controllers set their informer
indexers. Otherwise, some controller might fail to register their indexers
in time. Thus, it's responsibility of each consumer to make sure all informers
are started after all controllers had time to get initiliazed.
2020-05-13 18:19:43 +02:00
Aldo Culquicondor
78fca663ce Use passed context in default binder
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-13 11:36:14 -04:00
Hemant Kumar
da941d8d3e Create mock CSI driver resources in different namespace 2020-05-13 11:16:00 -04:00
Hemant Kumar
708261e06c Make AfterSuite hooks ordered
ginkgo has a weird bug that - AfterEach does not get called when
testsuite exits with certain kind of interrupt (Ctrl-C for example).
More info - https://github.com/onsi/ginkgo/issues/222

We workaround this issue in Kubernetes by adding a special hook into
AfterSuite call, but AfterSuite can not be used to peforms certain
kind of cleanup because it can race with AfterEach hook and
framework.AfterEach hook will set framework.ClientSet to nil.

This presents a problem in cleaning up CSI driver and testpods. This
PR removes cleanup of driver manifest via CleanupAction because that
is not safe and racy (such as f.ClientSet may disappear!) and makes
AfterSuite hooks run in a ordered fashion
2020-05-13 11:15:27 -04:00
wawa0210
54c0f8b677
Remove the 'beta' version of the node label (os and arch types) 2020-05-13 22:51:52 +08:00
Kubernetes Prow Robot
3b024339bd
Merge pull request #90645 from neolit123/1.19-fix-retry-etcd-member-add
kubeadm: fix flakes when performing etcd MemberAdd on slower setups
2020-05-13 06:04:26 -07:00
Maciej Szulik
b1a068b0fc
Set appropriate owner references when creating a job from cronjob 2020-05-13 12:59:49 +02:00
Kubernetes Prow Robot
61f00365d4
Merge pull request #91030 from liggitt/node-subject-rules-review
Indicate node authorizer does not support rule resolution
2020-05-13 00:19:22 -07:00
Kubernetes Prow Robot
977aeab3e5
Merge pull request #90987 from andrewsykim/service-controller-fixup
service controller: clean up unit tests
2020-05-13 00:19:13 -07:00
Kubernetes Prow Robot
98d404d280
Merge pull request #90963 from justaugustus/kube-cross
base-images: Update to kube-cross:v1.13.9-5
2020-05-13 00:19:03 -07:00
Kubernetes Prow Robot
2f381e06e5
Merge pull request #90872 from mikedanese/integ
fix some fixture path calculations
2020-05-13 00:18:54 -07:00
Kubernetes Prow Robot
620b7720e6
Merge pull request #90828 from gaurav1086/fix_data_race_storage
Fix date race in storage tests
2020-05-13 00:18:40 -07:00
Kubernetes Prow Robot
fb3009c3c0
Merge pull request #86034 from tahsinrahman/kubeletconfig-tests
Add tests for KubeletConfig
2020-05-13 00:18:26 -07:00