Commit Graph

  • d666e4b830 refactor(TestDefaultEvictor): add buildTestPod helper function Jan Chaloupka 2025-12-20 13:43:00 +01:00
  • 08f733863e refactor(TestDefaultEvictor): add buildTestNode helper function Jan Chaloupka 2025-12-20 12:20:12 +01:00
  • 93a516a58a feat: register a node indexer for the global node selector instead of listing nodes with the selector Jan Chaloupka 2025-12-19 01:09:15 +01:00
  • 60da931e0e fix(TestReadyNodesWithNodeSelector): make sure nodeLister.List always returns a non-empty list so the lister is always tested Jan Chaloupka 2025-12-18 16:50:09 +01:00
  • 12a9db4da0 Merge pull request #1798 from ingvagabund/contriburing-descheduler Kubernetes Prow Robot 2025-12-15 12:43:47 -08:00
  • 41da7497c3 doc: introduce contributing guidelines specific to the project Jan Chaloupka 2025-12-15 21:06:39 +01:00
  • b56f3cdae9 Merge pull request #1797 from ingvagabund/nodetaint-unit-test Kubernetes Prow Robot 2025-12-15 09:51:45 -08:00
  • 162a2d14b7 refactor(TestRemovePodsHavingTooManyRestarts): remove leftover comments Jan Chaloupka 2025-12-15 18:20:38 +01:00
  • 78788d72de refactor(node_taint_test): inline p15 Jan Chaloupka 2025-12-15 18:11:55 +01:00
  • 956eeefede refactor(node_taint_test): inline p14 Jan Chaloupka 2025-12-15 18:11:19 +01:00
  • 1f7bd1fba9 refactor(node_taint_test): inline p13 Jan Chaloupka 2025-12-15 18:10:44 +01:00
  • 5fdf368593 refactor(node_taint_test): inline p12 Jan Chaloupka 2025-12-15 18:09:58 +01:00
  • 50b6e178c1 refactor(node_taint_test): inline p11 Jan Chaloupka 2025-12-15 18:09:22 +01:00
  • c1ad532c46 refactor(node_taint_test): inline p10 Jan Chaloupka 2025-12-15 18:08:43 +01:00
  • 7e40aae2dc refactor(node_taint_test): inline p9 Jan Chaloupka 2025-12-15 18:07:35 +01:00
  • e09bd976f5 refactor(node_taint_test): inline p8 Jan Chaloupka 2025-12-15 18:06:37 +01:00
  • ffb1f44144 refactor(node_taint_test): inline p7 Jan Chaloupka 2025-12-15 18:05:50 +01:00
  • cb595f2524 refactor(node_taint_test): inline p6 Jan Chaloupka 2025-12-15 18:02:53 +01:00
  • c46817f6df refactor(node_taint_test): inline p5 Jan Chaloupka 2025-12-15 18:02:29 +01:00
  • 032db38d6c refactor(node_taint_test): inline p4 Jan Chaloupka 2025-12-15 18:01:55 +01:00
  • c1cd3ae794 refactor(node_taint_test): inline p3 Jan Chaloupka 2025-12-15 18:01:25 +01:00
  • 060d9c8573 refactor(node_taint_test): inline p2 Jan Chaloupka 2025-12-15 18:00:48 +01:00
  • 51bcf60ccf refactor(node_taint_test): inline p1 Jan Chaloupka 2025-12-15 17:58:08 +01:00
  • b472549cf6 refactor(node_taint_test): add withKubeSystemCriticalPod helper Jan Chaloupka 2025-12-15 17:54:53 +01:00
  • c68e8a6d06 refactor(node_taint_test): add withTestTaintXToleration1 helper Jan Chaloupka 2025-12-15 17:52:59 +01:00
  • 68d9d4d044 refactor(node_taint_test): add datacenter label constants Jan Chaloupka 2025-12-15 17:50:04 +01:00
  • 452b1ff7d9 refactor(node_taint_test): add SetPodVolumes and withLocalStorageVolume helpers Jan Chaloupka 2025-12-15 17:46:54 +01:00
  • f123f78b44 refactor: add SetSystemCriticalPriority helper function Jan Chaloupka 2025-12-15 17:45:02 +01:00
  • ca0f7535fb refactor: add SetMirrorPodAnnotation helper function Jan Chaloupka 2025-12-15 17:41:25 +01:00
  • 78ff3fe92a refactor(node_taint_test): add withTestTaintToleration1 helper Jan Chaloupka 2025-12-15 17:37:45 +01:00
  • 0269283185 refactor(node_taint_test): add buildTestPodWithNormalOwnerRef helper Jan Chaloupka 2025-12-15 17:34:18 +01:00
  • 57ed329feb refactor(node_taint_test): inline node7 Jan Chaloupka 2025-12-15 17:26:04 +01:00
  • b96a41a745 refactor(node_taint_test): inline node6 Jan Chaloupka 2025-12-15 17:25:27 +01:00
  • 6b6f7ba5c7 refactor(node_taint_test): inline node5 Jan Chaloupka 2025-12-15 17:24:53 +01:00
  • a3ca65ea14 refactor(node_taint_test): inline node4 Jan Chaloupka 2025-12-15 17:24:17 +01:00
  • d81580c93e refactor(node_taint_test): inline node3 Jan Chaloupka 2025-12-15 17:23:42 +01:00
  • 0f7ff8a2b7 refactor(node_taint_test): inline node2 Jan Chaloupka 2025-12-15 17:23:08 +01:00
  • d27afd0319 refactor(node_taint_test): inline node1 Jan Chaloupka 2025-12-15 17:15:46 +01:00
  • 3d48efdff4 refactor(node_taint_test): add dedicated functions for remaining nodes Jan Chaloupka 2025-12-15 17:14:06 +01:00
  • e5d5cf2229 refactor(node_taint_test): create dedicated functions for taint configurations Jan Chaloupka 2025-12-15 17:11:54 +01:00
  • f65209d4fa refactor(node_taint_test): inline addTaintsToNode Jan Chaloupka 2025-12-15 17:08:50 +01:00
  • b9ceb9144f refactor(node_taint_test): remove default false settings for evict flags Jan Chaloupka 2025-12-15 17:01:43 +01:00
  • 2bbec0cbc6 refactor(node_taint_test): apply pod single creation convention for p15 Jan Chaloupka 2025-12-15 16:55:21 +01:00
  • a363da9806 refactor(node_taint_test): apply pod single creation convention for p14 Jan Chaloupka 2025-12-15 16:55:02 +01:00
  • 63b3bd3b4d refactor(node_taint_test): apply pod single creation convention for p13 Jan Chaloupka 2025-12-15 16:54:44 +01:00
  • 7fb935c650 refactor(node_taint_test): replace GetNormalPodOwnerRefList with SetNormalOwnerRef Jan Chaloupka 2025-12-15 16:52:42 +01:00
  • f85b2f8d4d Merge pull request #1796 from ingvagabund/nodeaffinity-unit-test Kubernetes Prow Robot 2025-12-15 07:45:47 -08:00
  • 0580b5942c refactor(node_taint_test): apply pod single creation convention for p12 Jan Chaloupka 2025-12-15 16:44:46 +01:00
  • 4171af7e8a refactor(node_taint_test): apply pod single creation convention for p11 Jan Chaloupka 2025-12-15 16:44:19 +01:00
  • a1678cd464 refactor(node_taint_test): apply pod single creation convention for p10 Jan Chaloupka 2025-12-15 16:44:01 +01:00
  • 2f90d1dd01 refactor(node_taint_test): apply pod single creation convention for p9 Jan Chaloupka 2025-12-15 16:43:32 +01:00
  • f0cda32b6e refactor(node_taint_test): apply pod single creation convention for p8 Jan Chaloupka 2025-12-15 16:43:01 +01:00
  • 43523113ff refactor(node_taint_test): apply pod single creation convention for p7 Jan Chaloupka 2025-12-15 16:42:34 +01:00
  • 1b7889f4a3 refactor(node_taint_test): apply pod single creation convention for p6 Jan Chaloupka 2025-12-15 16:42:00 +01:00
  • b86315f097 refactor(node_taint_test): apply pod single creation convention for p5 Jan Chaloupka 2025-12-15 16:41:39 +01:00
  • 0d496dfc5d refactor(node_taint_test): apply pod single creation convention for p4 Jan Chaloupka 2025-12-15 16:41:19 +01:00
  • d6b35eaed6 refactor(node_taint_test): apply pod single creation convention for p3 Jan Chaloupka 2025-12-15 16:40:41 +01:00
  • dc18f9f330 refactor(node_taint_test): apply pod single creation convention for p2 Jan Chaloupka 2025-12-15 16:39:54 +01:00
  • 39212419e6 refactor(node_taint_test): apply pod single creation convention for p1 Jan Chaloupka 2025-12-15 16:38:35 +01:00
  • 64f77ce6ee refactor(node_taint_test): apply node single creation convention for node7 Jan Chaloupka 2025-12-15 16:35:38 +01:00
  • ca5326c5c4 refactor(node_taint_test): apply node single creation convention for node6 Jan Chaloupka 2025-12-15 16:35:12 +01:00
  • 9cf075ffc4 refactor(node_taint_test): apply node single creation convention for node5 Jan Chaloupka 2025-12-15 16:34:47 +01:00
  • 3325fe0b8b refactor(node_taint_test): apply node single creation convention for node2 Jan Chaloupka 2025-12-15 16:32:28 +01:00
  • 6c41ebd8f3 refactor(node_taint_test): apply node single creation convention for node1 Jan Chaloupka 2025-12-15 16:26:08 +01:00
  • ba034d6e0e refactor(node_taint_test): add node name constants Jan Chaloupka 2025-12-15 16:22:16 +01:00
  • 3289554f90 refactor(node_taint_test): add buildTestPod helper function Jan Chaloupka 2025-12-15 16:20:01 +01:00
  • 72575c2f23 refactor(node_taint_test): add buildTestNode helper function Jan Chaloupka 2025-12-15 16:17:49 +01:00
  • 07616c3fc0 refactor(TestRemovePodsHavingTooManyRestarts): make fmt Jan Chaloupka 2025-12-15 16:14:50 +01:00
  • cad120881f refactor(TestRemovePodsViolatingNodeAffinity): apply pod single creation convention Jan Chaloupka 2025-12-15 16:02:37 +01:00
  • aec4416099 refactor(TestRemovePodsViolatingNodeAffinity): add buildUnschedulableNodeWithLabels function Jan Chaloupka 2025-12-15 15:59:01 +01:00
  • 7b9d5d2539 refactor(TestRemovePodsViolatingNodeAffinity): inline nodeWithoutLabels Jan Chaloupka 2025-12-15 15:50:25 +01:00
  • 9f7629136f refactor(TestRemovePodsViolatingNodeAffinity): inline nodeWithLabels Jan Chaloupka 2025-12-15 15:37:04 +01:00
  • 42d255fd95 refactor(TestRemovePodsViolatingNodeAffinity): update addPodsToNode to accept nodeName Jan Chaloupka 2025-12-15 15:31:18 +01:00
  • 183a138d82 refactor(TestRemovePodsViolatingNodeAffinity): add constants for node names Jan Chaloupka 2025-12-15 15:28:03 +01:00
  • f669c45892 Merge pull request #1795 from ingvagabund/podantiaffinity-unit-test Kubernetes Prow Robot 2025-12-15 05:53:45 -08:00
  • a2ffbc1261 refactor(TestRemovePodsViolatingNodeAffinity): apply unit test convention for podWithNodeAffinity Jan Chaloupka 2025-12-15 14:34:05 +01:00
  • 2cda1bd89d refactor(TestRemovePodsViolatingNodeAffinity): deduplicate pod creation with buildTestPod helper Jan Chaloupka 2025-12-15 14:32:41 +01:00
  • 691a1da43b refactor(TestRemovePodsViolatingNodeAffinity): apply unit test convention for unschedulableNodeWithLabels Jan Chaloupka 2025-12-15 14:30:27 +01:00
  • 8fe74c7a0c refactor(TestRemovePodsViolatingNodeAffinity): apply unit test convention for nodeWithLabels Jan Chaloupka 2025-12-15 14:29:09 +01:00
  • 102bd6a91d refactor(TestRemovePodsViolatingNodeAffinity): deduplicate node creation with buildTestNode helper Jan Chaloupka 2025-12-15 14:27:52 +01:00
  • 3d1e15bb82 refactor(TestPodAntiAffinity): apply gofumpt formatting Jan Chaloupka 2025-12-15 14:21:32 +01:00
  • 3c02d9029c refactor(TestPodAntiAffinity): inline p1, p2, p4 builders Jan Chaloupka 2025-12-15 14:08:30 +01:00
  • 57a3e610a7 refactor(TestPodAntiAffinity): deduplicate p1, p3, p4 builders Jan Chaloupka 2025-12-15 14:06:05 +01:00
  • 7cec27d467 refactor(TestPodAntiAffinity): inline nonEvictablePod Jan Chaloupka 2025-12-15 13:56:37 +01:00
  • 688b45011a refactor(TestPodAntiAffinity): inline p11 Jan Chaloupka 2025-12-15 13:56:07 +01:00
  • a96451030c refactor(TestPodAntiAffinity): inline p10 Jan Chaloupka 2025-12-15 13:55:36 +01:00
  • a4930ebc83 refactor(TestPodAntiAffinity): inline p9 Jan Chaloupka 2025-12-15 13:55:11 +01:00
  • ad872f8b77 refactor(TestPodAntiAffinity): inline p8 Jan Chaloupka 2025-12-15 13:54:40 +01:00
  • a0654df270 refactor(TestPodAntiAffinity): inline p7 Jan Chaloupka 2025-12-15 13:54:07 +01:00
  • 03b5a9a967 refactor(TestPodAntiAffinity): inline p6 Jan Chaloupka 2025-12-15 13:53:43 +01:00
  • 9f2d22c1f7 refactor(TestPodAntiAffinity): inline p5 Jan Chaloupka 2025-12-15 13:53:19 +01:00
  • cbe1c1e559 refactor(TestPodAntiAffinity): inline p4 Jan Chaloupka 2025-12-15 13:52:21 +01:00
  • 87182c5e8f refactor(TestPodAntiAffinity): inline p3 Jan Chaloupka 2025-12-15 13:51:58 +01:00
  • 2765e31048 refactor(TestPodAntiAffinity): inline p2 Jan Chaloupka 2025-12-15 13:51:00 +01:00
  • 87f675a2cd refactor(TestPodAntiAffinity): inline p1 Jan Chaloupka 2025-12-15 13:48:01 +01:00
  • a400a66d51 refactor(TestPodAntiAffinity): create dedicated builders for p1-p4 and nonEvictablePod Jan Chaloupka 2025-12-15 13:43:11 +01:00
  • fa427a2b37 refactor(TestPodAntiAffinity): deduplicate setting Labels for foo1-bar1 Jan Chaloupka 2025-12-15 13:38:58 +01:00
  • 90672630da refactor(TestPodAntiAffinity): deduplicate setting Labels for foo-bar Jan Chaloupka 2025-12-15 13:37:55 +01:00
  • 6a00214457 refactor(TestPodAntiAffinity): deduplicate setPodAntiAffinity for foo1-bar1 Jan Chaloupka 2025-12-15 13:36:27 +01:00
  • 9413b0c654 refactor(TestPodAntiAffinity): deduplicate setPodAntiAffinity for foo-bar Jan Chaloupka 2025-12-15 13:34:05 +01:00