Commit Graph

17210 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
5ff5dbb07c
Merge pull request #92497 from oomichi/vsphere
nit: Fix invokeStaleDummyVMTestWithStoragePolicy()
2020-06-26 00:08:04 -07:00
Kubernetes Prow Robot
0eaa85483b
Merge pull request #92485 from oomichi/metrics-grabber
Avoid DeprecatedMightBeMasterNode() in e2e metrics
2020-06-26 00:07:54 -07:00
Kubernetes Prow Robot
b3033da9a1
Merge pull request #92200 from adtac/adtac/reserve
scheduler: merge Reserve and Unreserve plugins
2020-06-25 19:57:31 -07:00
Kenichi Omichi
176c8e219f Avoid DeprecatedMightBeMasterNode() in e2e metrics
As its name, DeprecatedMightBeMasterNode is deprecated.
In e2e metrics, the function was used for knowing master node name to
get metrics from kube-scheduler and kube-controller-manager pods.
This make e2e metrics get these metrics directly by getting those pod
names without calling DeprecatedMightBeMasterNode().
2020-06-25 23:08:24 +00:00
Kubernetes Prow Robot
e529bd0bca
Merge pull request #92404 from BenTheElder/agnhost-primary2
s/master/primary in agnhost guestbook usage
2020-06-25 05:30:37 -07:00
Kubernetes Prow Robot
4a91ecb976
Merge pull request #91863 from knabben/kubelet-memcg-notification
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-25 00:20:37 -07:00
Kenichi Omichi
d964569e1e nit: Fix invokeStaleDummyVMTestWithStoragePolicy()
There were nits in invokeStaleDummyVMTestWithStoragePolicy() like
- The error message didn't contain necessary space
- IsVMPresent() can return an error, but lack of the error handling
- IsVMPresent() returns true/false, but didn't use ExpectEqual() and
  less code readability

This fixes those things.
2020-06-25 04:49:39 +00:00
Kubernetes Prow Robot
3c31a0026a
Merge pull request #91678 from claudiubelu/tests/fixes-windows-kubelet-stats
tests: Fixes Windows kubelet-stats test
2020-06-24 19:26:36 -07:00
Kubernetes Prow Robot
9d2dbd5b79
Merge pull request #92473 from fedepaol/bumpagnhost
Bump up the agnhost version to reflect changes in 90797
2020-06-24 17:53:04 -07:00
Kubernetes Prow Robot
c09809d15b
Merge pull request #92450 from oomichi/dont-use-GetMasterAnd
Use worker nodes for WaitForStableCluster()
2020-06-24 17:52:50 -07:00
Adhityaa Chandrasekar
ec83143342 scheduler: merge Reserve and Unreserve plugins
Previously, separate interfaces were defined for Reserve and Unreserve
plugins. However, in nearly all cases, a plugin that allocates a
resource using Reserve will likely want to register itself for Unreserve
as well in order to free the allocated resource at the end of a failed
scheduling/binding cycle. Having separate plugins for Reserve and
Unreserve also adds unnecessary config toil. To that end, this patch
aims to merge the two plugins into a single interface called a
ReservePlugin that requires implementing both the Reserve and Unreserve
methods.
2020-06-24 21:10:35 +00:00
Kubernetes Prow Robot
c6d2b223fb
Merge pull request #92222 from cofyc/fix92186
Share pod volume binding cache via framework.CycleState
2020-06-24 13:31:21 -07:00
Benjamin Elder
57c777ea66 bump agnhost to 2.20 2020-06-24 12:14:33 -07:00
Benjamin Elder
f2b2d44614 s/master/primary in agnhost guestbook usage 2020-06-24 12:14:33 -07:00
Federico Paolinelli
7ff930b6c8 Bump up the agnhost version to reflect changes in https://github.com/kubernetes/kubernetes/pull/90797
There was an un-noticied conflict with 279ce5d89e (diff-75312865ef706f08787bf2987d761c13)

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-24 17:37:41 +02:00
Kenichi Omichi
5edf15ea97 Use worker nodes for WaitForStableCluster()
WaitForStableCluster() checks all pods run on worker nodes, and the
function used to refer master nodes to skip checking controller plane
pods.
GetMasterAndWorkerNodes() was used for getting master nodes, but the
implementation is not good because it usesDeprecatedMightBeMasterNode().

This makes WaitForStableCluster() refer worker nodes directly to avoid
using GetMasterAndWorkerNodes().
2020-06-24 15:21:12 +00:00
Kubernetes Prow Robot
e2d8f6c278
Merge pull request #92446 from oomichi/deprecated-master-node
Add isNodeSchedulableWithoutTaints()
2020-06-24 04:55:41 -07:00
Amim Knabben
c39cf28ed3 Moving Kubelet kernel-memgc-notification to configuration file 2020-06-24 06:44:00 -04:00
Kenichi Omichi
13aae61789 Add isNodeSchedulableWithoutTainted()
For reducing usage of system.DeprecatedMightBeMasterNode(), this
adds isNodeSchedulableWithoutTainted().
2020-06-24 01:58:04 +00:00
Jordan Liggitt
a2dd5112c0 go1.14: fix test/cmd timeout message check 2020-06-23 19:04:43 -04:00
Jordan Liggitt
4bd558776e go1.14: fix govet errors 2020-06-23 16:40:15 -04:00
Yecheng Fu
4627b419b4 tests only 2020-06-23 22:18:33 +08:00
Kubernetes Prow Robot
0072d8ae23
Merge pull request #90797 from fedepaol/sctpconnectporter
Add SCTP support to agnhost connect / porter commands.
2020-06-23 07:05:41 -07:00
Kubernetes Prow Robot
3a51aaf8b4
Merge pull request #92359 from RobertKielty/92319
renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
2020-06-22 23:54:07 -07:00
Kubernetes Prow Robot
83a15867b1
Merge pull request #92049 from Huang-Wei/postfilter-impl-3
[postfilter-impl-3] Register and enable the defaultpreemption plugin
2020-06-22 23:53:54 -07:00
Wei Huang
d99cc01646
Register and enable defaultpreemption plugin
- Enable defaultpreemption as a PostFilter plugin
- Remote legacy hard-coded preemption logic
2020-06-22 17:22:27 -07:00
Stephen Augustus
236ef23f46 deps: Update Golang to v1.14.4
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Kubernetes Prow Robot
f38ce5725a
Merge pull request #92375 from wojtek-t/deflake_conntract_tests_2
Attempt to delfake further conntract e2e flakes
2020-06-22 15:02:53 -07:00
Kubernetes Prow Robot
9cd906e932
Merge pull request #91996 from cmluciano/cml/promotedingv1crud
ingress: promote CRUD API tests for v1 to conformance
2020-06-22 09:24:40 -07:00
wojtekt
8816b8fce4 Attempt to delfake further conntract e2e flakes 2020-06-22 13:43:58 +02:00
RobertKielty
5c27c7e304 renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
Part of work to remove racist language, this name change also improves on the
  semantics of this variable name as it was not actually a list of permissible
  images but rather a list of images that are required for e2e_node tests that
  are to be pre-pulled so that they are available prior to running e2e tests.

  Worth noting that this list of images is "union merged" with another list when
  setting up e2e_node tests and as such there is the possibilty for overlap.

 # Please enter the commit message for your changes. Lines starting
2020-06-21 18:46:06 +01:00
Ali Farah
a22e115a0e Split scheduler framework implementation into new runtime package 2020-06-22 00:23:43 +10:00
Kubernetes Prow Robot
8e820aa785
Merge pull request #92304 from wojtek-t/reduce_flakes_probability
Attempt to deflake conntract e2e tests
2020-06-20 05:27:07 -07:00
Kubernetes Prow Robot
219c856ce2
Merge pull request #91555 from daixiang0/scr
*.sh: cleanup all white noise
2020-06-20 05:26:53 -07:00
Kubernetes Prow Robot
0a91893126
Merge pull request #92119 from BenTheElder/agnhost-sync
agnhost sync
2020-06-20 00:14:39 -07:00
Kubernetes Prow Robot
4043d4cb87
Merge pull request #92323 from wfernandes/rename-NodeImageWhiteList
Rename NodeImageWhiteList to NodePrePullImageList
2020-06-19 21:52:22 -07:00
Kubernetes Prow Robot
b5dd76071e
Merge pull request #92271 from oomichi/move-gce-test
Move recreate_node.go to e2e/node
2020-06-19 21:52:11 -07:00
Warren Fernandes
296f50365b Rename NodeImageWhiteList to NodePrePullImageList 2020-06-19 16:12:27 -06:00
Benjamin Elder
279ce5d89e s/master/primary in agnhost guestbook test references & agnhost code
to do in follow-up: update the agnhost deployments and references to those when the new image is pushed
2020-06-19 12:23:16 -07:00
Kubernetes Prow Robot
b1976336af
Merge pull request #92259 from brianpursley/net-e2e
Fixed wrong pod name in e2e test log messages
2020-06-19 11:38:24 -07:00
Kubernetes Prow Robot
62d091a49e
Merge pull request #91813 from bart0sh/PR0090-e2e_node-benchmark-decrease-number-of-pods
e2e_node: fix node-kubelet-benchmark test
2020-06-19 11:36:43 -07:00
Kubernetes Prow Robot
907a526919
Merge pull request #91699 from twosigma/hostnamefqdn_kubelet
Allow setting FQDN in hostname
2020-06-19 11:36:29 -07:00
Kubernetes Prow Robot
f8705f22f8
Merge pull request #89705 from ggriffiths/add_snapshot_retainpolicy_e2e_test
Add VolumeSnapshot retain policy test and test for snapshot delete
2020-06-19 11:35:59 -07:00
wojtekt
f32648d810 Attempt to deflake conntract e2e tests 2020-06-19 16:49:33 +02:00
Federico Paolinelli
b8819b91a8 Add sctp support to agnhost connect / porter commands.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-19 09:31:05 +02:00
Kenichi Omichi
4163fd9420 Move recreate_node.go to e2e/node
e2e/framework is a place to keep common functions for e2e tests, and
it is not a place to keep e2e tests themself. recreate_node.go is e2e
test for node.
This moves recreate_node.go to e2e/node.
2020-06-19 02:40:17 +00:00
Kubernetes Prow Robot
7a68eac8f7
Merge pull request #91873 from kwiesmueller/fix-crd-update-bug
Fix FieldManager Conversion Error for CRD Updates
2020-06-18 19:04:51 -07:00
Kubernetes Prow Robot
342bcf55e8
Merge pull request #89937 from aojea/portAllocator2
portAllocator sync local data before allocate
2020-06-18 19:03:10 -07:00
Kubernetes Prow Robot
1faf097f3f
Merge pull request #88649 from oke-py/remove-deprecated-export
Remove --export flag from kubectl get command.
2020-06-18 15:19:10 -07:00
Kubernetes Prow Robot
dcb587e09f
Merge pull request #91230 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
Create deleteCoreV1CollectionNamespacedEvent test+promote - +1 endpoint coverage
2020-06-18 08:12:20 -07:00