1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-25 20:59:28 +01:00

Commit Graph

  • a500ff9c64 Merge pull request #1814 from ingvagabund/refactorings master Kubernetes Prow Robot 2026-01-24 19:48:13 +05:30
  • 263db33052 fix(kubeClientSandbox): do not wait for pods in the fake indexers if they are already deleted Jan Chaloupka 2026-01-24 13:56:54 +01:00
  • 45dc5a20d3 test(kubeClientSandbox): more unit tests Jan Chaloupka 2026-01-24 11:15:01 +01:00
  • f520856095 refactor(kubeClientSandbox): move the code under a separate file Jan Chaloupka 2026-01-23 22:48:08 +01:00
  • e53b3d5dce refactor(pkg/descheduler): drop unsed clientset parameter from descheduler.runProfiles Jan Chaloupka 2026-01-23 22:27:57 +01:00
  • 72d61286eb Merge pull request #1812 from ingvagabund/register-fake-factory-only-once Kubernetes Prow Robot 2026-01-24 02:43:28 +05:30
  • 770ec5affa refactor(pkg/descheduler): create fake shared informer factory only once Jan Chaloupka 2026-01-22 17:21:13 +01:00
  • 38d99dd0c3 Merge pull request #1813 from ingvagabund/refactorings Kubernetes Prow Robot 2026-01-23 21:27:30 +05:30
  • 8f5a83279e refactor(pkg/descheduler): drop unused fakeEvictedPods variables in the unit tests Jan Chaloupka 2026-01-22 23:35:59 +01:00
  • 4daa7e2fbf refactor(pkg/descheduler): move prometheus setup under a helper Jan Chaloupka 2026-01-22 23:21:31 +01:00
  • 433f0dbb8c refactor(pkg/descheduler): define a helper for newKubeClientSandbox with the default list of resources Jan Chaloupka 2026-01-22 23:16:49 +01:00
  • cc96a3ee7a Merge pull request #1811 from ingvagabund/kube-client-sandbox Kubernetes Prow Robot 2026-01-22 19:59:28 +05:30
  • ff580a0eff refactor(kubeClientSandbox): keep a cache of evicted pods and allow to reset it at the end of each descheduling cycle Jan Chaloupka 2026-01-21 22:47:18 +01:00
  • 4af097a806 refactor(pkg/operator): create a helper for registering indexer in the dry run mode Jan Chaloupka 2026-01-21 22:16:56 +01:00
  • b3f0184af8 refactor(kubeClientSandbox): helpers for creating a node selector and node selector indexer Jan Chaloupka 2026-01-21 21:50:38 +01:00
  • 881ead3ed2 refactor(kubeClientSandbox): set the create pods reactor in buildSandbox Jan Chaloupka 2026-01-21 21:27:27 +01:00
  • fc6d0d1132 refactor(pkg/operator): replace informerResource with a kubeClientSandbox Jan Chaloupka 2026-01-21 20:37:19 +01:00
  • 85b1d97dda Merge pull request #1810 from ingvagabund/refactorings Kubernetes Prow Robot 2026-01-20 19:08:49 +05:30
  • b6aadc1643 chore(pkg/descheduler): make TestPodEvictorReset table driven Jan Chaloupka 2026-01-20 12:41:09 +01:00
  • c4ec31684f Merge pull request #1802 from ingvagabund/global-node-selector-as-indexer Kubernetes Prow Robot 2026-01-12 15:08:13 +05:30
  • 7d2c31cd39 Merge pull request #1808 from ingvagabund/profile-instance-id Kubernetes Prow Robot 2026-01-09 15:33:43 +05:30
  • cf9edca33c feat(profile): inject a plugin instance ID to each built plugin Jan Chaloupka 2026-01-04 15:09:24 +01:00
  • f164943257 Merge pull request #1807 from ingvagabund/docs Kubernetes Prow Robot 2026-01-05 21:20:39 +05:30
  • 1fe9e2c345 doc(Design Decisions FAQ): Why doesn't the framework provide helpers for registering and retrieving indexers for plugins Jan Chaloupka 2026-01-05 16:10:39 +01:00
  • 16ccff8ed8 Merge pull request #1806 from ingvagabund/profile-refactoring Kubernetes Prow Robot 2026-01-05 15:12:37 +05:30
  • 38f0f15787 chore: make gen Jan Chaloupka 2026-01-04 20:00:33 +01:00
  • 52f2aea444 refactor(pkg/framework/profile): add registerDefaultEvictor helper function Jan Chaloupka 2026-01-04 19:37:52 +01:00
  • f3c63011cc refactor(pkg/framework/profile): add fake plugin registration helpers Jan Chaloupka 2026-01-04 19:34:03 +01:00
  • 47b939dd86 refactor(pkg/framework/profile): build a profile through a shared function to reduce code duplication Jan Chaloupka 2026-01-04 18:30:52 +01:00
  • 89c88f483b Merge pull request #1800 from ingvagabund/readnodes-unit-test Kubernetes Prow Robot 2025-12-26 20:48:31 +05:30
  • d558fa3a5b Merge pull request #1804 from ingvagabund/refactorings Kubernetes Prow Robot 2025-12-21 14:38:30 -08:00
  • 7ef3673d4c refactor: inline single-statement apply functions in BuildTestPod calls Jan Chaloupka 2025-12-21 21:41:59 +01:00
  • 988e0b8868 refactor: replace pod.Spec.Volumes with test.SetHostPathEmptyDirVolumeSource in plugin tests Jan Chaloupka 2025-12-21 18:04:15 +01:00
  • fc8ae3b4e8 refactor: replace pod.Spec.Priority with test.SetPodPriority in plugin tests Jan Chaloupka 2025-12-21 17:46:29 +01:00
  • 6d7fedc982 Merge pull request #1803 from ingvagabund/refactor-defaultevictir-test Kubernetes Prow Robot 2025-12-20 06:54:31 -08:00
  • 769ded35f1 make fmt Jan Chaloupka 2025-12-20 15:24:37 +01:00
  • 3283635149 refactor(defaultevictor_test): move newProtectedStorageClassesConfig to package level Jan Chaloupka 2025-12-20 15:17:06 +01:00
  • 994ce3e2f7 refactor(TestDefaultEvictor): add setPodPVCVolumeWithFooClaimName helper function Jan Chaloupka 2025-12-20 14:30:33 +01:00
  • 90e4115b78 refactor(TestDefaultEvictor): add setPodLocalStorage helper function Jan Chaloupka 2025-12-20 14:29:19 +01:00
  • 8913d79d14 refactor(TestDefaultEvictor): replace mirror pod annotation assignments with test.SetMirrorPodAnnotation Jan Chaloupka 2025-12-20 14:28:08 +01:00
  • 9a5d7e8286 refactor(TestDefaultEvictor): replace system critical priority assignments with test.SetPodPriority Jan Chaloupka 2025-12-20 14:27:18 +01:00
  • 674e463bc2 refactor(TestDefaultEvictor): replace manual owner reference assignments with test utilities Jan Chaloupka 2025-12-20 14:25:58 +01:00
  • 1df3ef5030 refactor(TestDefaultEvictor): add setPodEvictAnnotation helper function Jan Chaloupka 2025-12-20 14:22:28 +01:00
  • 3068f8431a refactor(TestDefaultEvictor): add setPodNodeSelector helper function Jan Chaloupka 2025-12-20 14:11:46 +01:00
  • dfd2b95d2d refactor(TestDefaultEvictor): add setNodeLabel helper function Jan Chaloupka 2025-12-20 14:08:11 +01:00
  • 3bb4529c34 refactor(TestDefaultEvictor): use test.SetNormalOwnerRef Jan Chaloupka 2025-12-20 13:56:23 +01:00
  • b8765bd8ee refactor(TestDefaultEvictor): add setNodeTaint helper function Jan Chaloupka 2025-12-20 13:54:50 +01:00
  • 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