Wei Huang
185093bd4e
Set 0 sync period in scheduler integration test
2020-11-11 12:56:13 -08:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names ( #96033 )
...
* Rename const for topology.../zone
* Rename const for topology.../region
* Rename const for failure-domain.../zone
* Rename const for failure-domain.../region
* Restore old names for compat
2020-11-05 20:26:50 -08:00
Wei Huang
a146cb0aa0
Replace calls to cs.CoreV1().Nodes().Create() with createNode()
2020-11-03 15:25:44 -08:00
Wei Huang
f054765762
Add a function to ensure created nodes are present in scheduler cache
2020-11-03 15:25:44 -08:00
Aldo Culquicondor
f6fb0bd308
Add integration test for Default PodTopologySpread
...
Simulating a cluster with 500 nodes in 3 zones, deploying 3, 12 and 27 Pods belonging to the same service.
Change-Id: I16425594012ea7bd24b888acedb12958360bff97
2020-10-22 13:42:50 -04:00
Wei Huang
d8def59871
Initialize scheduler's podInformer in sharedInformerFactory
...
Scheduler's specific podInfomer is now initialized inside the sahredInformerFactory.
2020-09-08 12:57:17 -07:00
Wei Huang
862fdaaf79
Fix an integration test flake on NodeAfffinity ScorePlugin
2020-07-28 08:57:02 -07:00
Andrea Nodari
a759fb20ff
Create nodes with labels instead of adding them later
2020-07-02 08:56:32 +02:00
Andrea Nodari
2e1042f959
Use NodeWrapper to directly initialize node with labels
...
Using NodeWrapper in the integration tests gives more flexibility when
creating nodes. For instance, tests can create nodes with labels or
with a specific sets of resources.
Also, NodeWrapper initialises a node with a capacity of 32 pods, which
can be overridden by the caller. This makes sure that a node is usable
as soon as it is created.
2020-06-30 17:18:15 +02:00
Wei Huang
133dde6358
Remove EvenPodsSpread
featuregate and related logic
2020-06-02 11:24:12 -07:00
Aldo Culquicondor
35b9ab1227
Remove unnecessary clientset arg from initPausePod
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:47:12 -04:00
fengzixu
b67a033de2
Refactor: move generic functions of integration test to util directory
2020-02-29 14:56:39 +09:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Mike Danese
d86fcd8c90
rename some declartions named context in tests
2020-01-16 15:09:28 -08:00
Abdullah Gharaibeh
b535ed3b0c
Merge scheduler's ConfigProducerRegistry into LegacyRegistry
2020-01-02 16:40:33 -05:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
Wei Huang
caab8b74ba
EvenPodsSpread: integration test
2019-08-01 10:42:27 -07:00
Silvery Fu
537c5ed9bc
Fix error-prone integration test for ImageLocalityPriority
2019-01-18 12:59:43 -08:00
Silvery Fu
3e438d7083
Add integration tests for image locality priority
2018-08-31 01:28:18 -07:00
Bobby (Babak) Salamat
4a08dff168
Add pod eviction logic for scheduler preemption
...
Add Preempt to scheduler interface
Add preemption to the scheduling workflow
Minor changes to the scheduler integration test library
2017-09-07 15:31:55 -07:00
Bobby (Babak) Salamat
2612422a7f
Addressed reviewer comments
2017-07-20 14:59:18 -07:00
Bobby (Babak) Salamat
238cb5bfc1
Converted a couple of e2e priority tests to integration tests.
2017-07-20 14:40:32 -07:00