Jan Chaloupka
08f733863e
refactor(TestDefaultEvictor): add buildTestNode helper function
2025-12-20 13:25:39 +01:00
Jan Chaloupka
93a516a58a
feat: register a node indexer for the global node selector instead of listing nodes with the selector
...
To avoid iterating through every node every time a list of nodes is
requested. This is a prerequisition work for introducing profile level
node selectors.
2025-12-19 23:25:24 +01:00
Jan Chaloupka
60da931e0e
fix(TestReadyNodesWithNodeSelector): make sure nodeLister.List always returns a non-empty list so the lister is always tested
...
The case of an empty list of nodes from the lister is not easy to catch.
This change makes sure one more initial condition is met.
2025-12-18 17:06:25 +01:00
Kubernetes Prow Robot
12a9db4da0
Merge pull request #1798 from ingvagabund/contriburing-descheduler
...
doc: introduce contributing guidelines specific to the project
2025-12-15 12:43:47 -08:00
Jan Chaloupka
41da7497c3
doc: introduce contributing guidelines specific to the project
...
The document is to be extended on the fly
2025-12-15 21:11:50 +01:00
Kubernetes Prow Robot
b56f3cdae9
Merge pull request #1797 from ingvagabund/nodetaint-unit-test
...
refactor(TestDeletePodsViolatingNodeTaints): inline object creation
2025-12-15 09:51:45 -08:00
Jan Chaloupka
162a2d14b7
refactor(TestRemovePodsHavingTooManyRestarts): remove leftover comments
2025-12-15 18:20:38 +01:00
Jan Chaloupka
78788d72de
refactor(node_taint_test): inline p15
2025-12-15 18:19:04 +01:00
Jan Chaloupka
956eeefede
refactor(node_taint_test): inline p14
2025-12-15 18:18:59 +01:00
Jan Chaloupka
1f7bd1fba9
refactor(node_taint_test): inline p13
2025-12-15 18:18:56 +01:00
Jan Chaloupka
5fdf368593
refactor(node_taint_test): inline p12
2025-12-15 18:18:51 +01:00
Jan Chaloupka
50b6e178c1
refactor(node_taint_test): inline p11
2025-12-15 18:18:47 +01:00
Jan Chaloupka
c1ad532c46
refactor(node_taint_test): inline p10
2025-12-15 18:18:43 +01:00
Jan Chaloupka
7e40aae2dc
refactor(node_taint_test): inline p9
2025-12-15 18:18:39 +01:00
Jan Chaloupka
e09bd976f5
refactor(node_taint_test): inline p8
2025-12-15 18:18:35 +01:00
Jan Chaloupka
ffb1f44144
refactor(node_taint_test): inline p7
2025-12-15 18:18:24 +01:00
Jan Chaloupka
cb595f2524
refactor(node_taint_test): inline p6
2025-12-15 18:17:34 +01:00
Jan Chaloupka
c46817f6df
refactor(node_taint_test): inline p5
2025-12-15 18:17:30 +01:00
Jan Chaloupka
032db38d6c
refactor(node_taint_test): inline p4
2025-12-15 18:17:26 +01:00
Jan Chaloupka
c1cd3ae794
refactor(node_taint_test): inline p3
2025-12-15 18:17:21 +01:00
Jan Chaloupka
060d9c8573
refactor(node_taint_test): inline p2
2025-12-15 18:17:17 +01:00
Jan Chaloupka
51bcf60ccf
refactor(node_taint_test): inline p1
2025-12-15 18:17:12 +01:00
Jan Chaloupka
b472549cf6
refactor(node_taint_test): add withKubeSystemCriticalPod helper
2025-12-15 18:16:58 +01:00
Jan Chaloupka
c68e8a6d06
refactor(node_taint_test): add withTestTaintXToleration1 helper
2025-12-15 18:16:19 +01:00
Jan Chaloupka
68d9d4d044
refactor(node_taint_test): add datacenter label constants
2025-12-15 18:16:14 +01:00
Jan Chaloupka
452b1ff7d9
refactor(node_taint_test): add SetPodVolumes and withLocalStorageVolume helpers
2025-12-15 18:16:08 +01:00
Jan Chaloupka
f123f78b44
refactor: add SetSystemCriticalPriority helper function
2025-12-15 18:15:31 +01:00
Jan Chaloupka
ca0f7535fb
refactor: add SetMirrorPodAnnotation helper function
2025-12-15 17:41:46 +01:00
Jan Chaloupka
78ff3fe92a
refactor(node_taint_test): add withTestTaintToleration1 helper
2025-12-15 17:37:45 +01:00
Jan Chaloupka
0269283185
refactor(node_taint_test): add buildTestPodWithNormalOwnerRef helper
2025-12-15 17:34:18 +01:00
Jan Chaloupka
57ed329feb
refactor(node_taint_test): inline node7
2025-12-15 17:26:04 +01:00
Jan Chaloupka
b96a41a745
refactor(node_taint_test): inline node6
2025-12-15 17:25:27 +01:00
Jan Chaloupka
6b6f7ba5c7
refactor(node_taint_test): inline node5
2025-12-15 17:24:53 +01:00
Jan Chaloupka
a3ca65ea14
refactor(node_taint_test): inline node4
2025-12-15 17:24:17 +01:00
Jan Chaloupka
d81580c93e
refactor(node_taint_test): inline node3
2025-12-15 17:23:42 +01:00
Jan Chaloupka
0f7ff8a2b7
refactor(node_taint_test): inline node2
2025-12-15 17:23:08 +01:00
Jan Chaloupka
d27afd0319
refactor(node_taint_test): inline node1
2025-12-15 17:21:25 +01:00
Jan Chaloupka
3d48efdff4
refactor(node_taint_test): add dedicated functions for remaining nodes
2025-12-15 17:14:06 +01:00
Jan Chaloupka
e5d5cf2229
refactor(node_taint_test): create dedicated functions for taint configurations
2025-12-15 17:11:54 +01:00
Jan Chaloupka
f65209d4fa
refactor(node_taint_test): inline addTaintsToNode
2025-12-15 17:08:50 +01:00
Jan Chaloupka
b9ceb9144f
refactor(node_taint_test): remove default false settings for evict flags
2025-12-15 17:01:43 +01:00
Jan Chaloupka
2bbec0cbc6
refactor(node_taint_test): apply pod single creation convention for p15
2025-12-15 16:55:21 +01:00
Jan Chaloupka
a363da9806
refactor(node_taint_test): apply pod single creation convention for p14
2025-12-15 16:55:02 +01:00
Jan Chaloupka
63b3bd3b4d
refactor(node_taint_test): apply pod single creation convention for p13
2025-12-15 16:54:44 +01:00
Jan Chaloupka
7fb935c650
refactor(node_taint_test): replace GetNormalPodOwnerRefList with SetNormalOwnerRef
2025-12-15 16:52:42 +01:00
Kubernetes Prow Robot
f85b2f8d4d
Merge pull request #1796 from ingvagabund/nodeaffinity-unit-test
...
refactor(TestRemovePodsViolatingNodeAffinity): inline object creation
2025-12-15 07:45:47 -08:00
Jan Chaloupka
0580b5942c
refactor(node_taint_test): apply pod single creation convention for p12
2025-12-15 16:44:46 +01:00
Jan Chaloupka
4171af7e8a
refactor(node_taint_test): apply pod single creation convention for p11
2025-12-15 16:44:19 +01:00
Jan Chaloupka
a1678cd464
refactor(node_taint_test): apply pod single creation convention for p10
2025-12-15 16:44:01 +01:00
Jan Chaloupka
2f90d1dd01
refactor(node_taint_test): apply pod single creation convention for p9
2025-12-15 16:43:32 +01:00