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
Kenichi Omichi
13aae61789
Add isNodeSchedulableWithoutTainted()
...
For reducing usage of system.DeprecatedMightBeMasterNode(), this
adds isNodeSchedulableWithoutTainted().
2020-06-24 01:58:04 +00:00
tanjunchen
caddb3ffd3
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-04-30 23:08:33 +08:00
tanjunchen
3b5ea194ea
test/e2e/framework : move AddOrUpdateTaintOnNode to subpackage node
2020-04-29 21:29:38 +08:00
tanjunchen
87f2ef51f4
test/e2e/framework:remove direct k8s.io/kubernetes depedencies
2020-04-15 09:39:22 +08:00
Abdullah Gharaibeh
bed9b2f23b
Cleanup obsolete NodeInfo methods
2020-04-12 18:13:46 -04:00
tanjunchen
6532b40f21
move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node
2020-04-08 09:59:44 +08:00
Abdullah Gharaibeh
a5d8172715
move nodeinfo type to framework pkg
2020-04-07 10:25:24 -04:00
Abdullah Gharaibeh
ed3fe054df
move scheduler nodeinfo to pkg/scheduler/types
2020-03-31 21:02:09 -04:00
Kubernetes Prow Robot
cc06d2a2be
Merge pull request #89243 from SataQiu/staging-e2e-framework-20200319
...
e2e/framework: remove direct imports to /pkg/controller/nodelifecycle
2020-03-23 21:56:47 -07:00
SataQiu
799cdbf7b0
e2e/framework: remove direct imports to /pkg/controller/nodelifecycle
2020-03-21 11:08:57 +08:00
drfish
f5450543e0
Remove framework.go's dependency on e2e node sub fw
2020-03-20 10:01:51 +08:00
Kubernetes Prow Robot
6d67bb3c02
Merge pull request #89228 from andrewsykim/e2e-framework-v1-helper
...
e2e/framework: remove import to pkg/apis/core/v1/helper
2020-03-19 06:06:56 -07:00
Andrew Sy Kim
145c1c123c
e2e/framework: remove import to pkg/apis/core/v1/helper
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-18 13:18:39 -04:00
Kenichi Omichi
c586d8837a
Move GetClusterZones() to e2enode
2020-03-10 18:16:54 +00:00
Kubernetes Prow Robot
8ac7a5bdc1
Merge pull request #88374 from tanjunchen/remove-TODO-simplify-code
...
test/e2e/framework/node/:remove TODO and and make some functions private
2020-02-21 18:32:13 -08:00
tanjunchen
7c3f6fa323
test/e2e/framework/node/:remove TODO and make some functions private
2020-02-21 18:45:09 +08:00
Eric Ernst
e5760015d2
e2e-framework-node: add runtimeclass to dedup code
...
Similar functionality is required across e2e tests for RuntimeClass.
Let's create runtimeclass as part of the framework/node package.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-20 15:58:52 -08:00
tanjunchen
efec7e64ce
remove TODO and use framework.SingleCallTimeout
2020-02-14 01:12:46 +08:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
drfish
1461d8bd13
Move GetPortURL to ingress e2e fw
2020-01-24 14:17:10 +08:00
Kubernetes Prow Robot
b9c0aa0b2a
Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
...
remove TODO in test/e2e/framework/node/resource.go
2020-01-09 09:17:58 -08:00
Abdullah Gharaibeh
21202b08d4
remove e2e dependency on scheduler/predicates package
2020-01-08 17:24:42 -05:00
tanjunchen
9324664330
remove TODO in test/e2e/framework/node/resource.go
2020-01-02 21:55:58 +08:00
tanjunchen
488b94767c
remove TODO: Use return type string instead of []string and update func
2019-12-27 11:53:17 +08:00
danielqsj
fc738cbb1d
unify alias of api errors under test
2019-12-26 16:40:45 +08:00
Cristian Dima
da759609dc
in pkg/controller/service rename service_controller.go to controller.go
2019-10-23 01:52:19 +03:00
Antonio Ojea
5e6eb467ac
Allow ipv6 urls in GetPortURL()
2019-09-30 20:32:36 +02:00
Dan Winship
ec4c1a1c05
Add e2enode.GetRandomReadySchedulableNode, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want a single ready, schedulable node
2019-09-24 13:03:40 -04:00
Dan Winship
3c445b2ad0
Add e2enode.GetBoundedReadySchedulableNodes, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want at-most-N nodes
2019-09-24 13:03:40 -04:00
Dan Winship
71b02dd422
Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
...
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
John Schnake
3c53481d5c
Move from regexp to csv string
2019-09-05 14:37:16 -05:00
John Schnake
8772187680
Add new flag for whitelisting node taints
...
Adds a new flag which allows users to specify a regexp
which will effectively whitelist certain taints and
allow the test framework to startup tests despite having
tainted nodes.
Fixes an issue where e2e tests were unable to be run
in tainted environments due to the framework waiting for
all the nodes to be schedulable without any tolerations.
2019-08-30 11:15:42 -05:00
Clayton Coleman
a49a554211
Move the IsMasterNode function to tests and mark it Deprecated
...
A future change will stop using this signal and instead use a
label selector passed on creation.
2019-08-28 11:17:27 -04:00
SataQiu
c60377c682
fix static check for test/e2e/framework
2019-08-21 17:28:36 +08:00
Kenichi Omichi
2cd45b2c54
Move ProxyRequest to kubelet e2e fw
...
In e2e test framework, ProxyRequest() is called in kubelet e2e test
framework only. In addition, the function works for kubelet as tests
which call the function do. So this moves the function into kubelet
e2e test framework to make the dependency simple.
2019-08-13 23:25:47 +00:00
Jiatong Wang
e24a962821
Fix error log issue, remove OrDie suffix in methods naming
2019-07-17 23:18:21 -07:00
Jiatong Wang
0b37152f17
Refactor and Move node related methods to framework/node package
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-07-17 22:54:15 -07:00
Jiatong Wang
b1c346c295
Move node related methods to framework/node package
...
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00