Commit Graph

  • 760e9cc2e1 Merge pull request #1828 from ingvagabund/extend-list-of-supported-go-versions master Kubernetes Prow Robot 2026-02-17 16:27:03 +05:30
  • a4ac8447b6 chore: extend the list of supported Go versions Jan Chaloupka 2026-02-17 10:55:33 +01:00
  • 7221fa7613 Merge pull request #1822 from sammedsingalkar09/master Kubernetes Prow Robot 2026-02-06 01:52:31 +05:30
  • 6e33b690d7 Merge pull request #1823 from ingvagabund/prom-client-controller Kubernetes Prow Robot 2026-02-05 21:14:33 +05:30
  • f4718bf928 refactor(prom client controllers): change the one letter receiver into ctrl Jan Chaloupka 2026-02-05 15:48:45 +01:00
  • f149f5a083 refactor: move prometheus client controller related code under a seperate file Jan Chaloupka 2026-02-05 15:42:47 +01:00
  • 8de50a8a17 Merge pull request #1815 from ingvagabund/new-profile-under-new-descheduler Kubernetes Prow Robot 2026-02-05 14:36:35 +05:30
  • b214c14793 feat(pkg/descheduler): create profiles outside the descheduling cycle Jan Chaloupka 2026-02-04 19:10:29 +01:00
  • fc863ff58d Merge pull request #1821 from ingvagabund/prom-client-controllers Kubernetes Prow Robot 2026-02-04 22:48:32 +05:30
  • f801f34346 update dependecies sammedsingalkar09 2026-02-04 22:32:15 +05:30
  • d262c7af44 refactor(TestPromClientControllerSync_EventHandler): be more verbose about the target expectations Jan Chaloupka 2026-02-04 17:38:47 +01:00
  • 4b5be0a772 feat(prometheus client reconciling): be more strict about clearing the previous connection Jan Chaloupka 2026-02-04 16:53:11 +01:00
  • 29e5a51cb5 refactor(newSecretBasedPromClientController): inline setupPrometheusProvider into newSecretBasedPromClientController Jan Chaloupka 2026-02-04 16:05:06 +01:00
  • a91a02cadc refactor(newSecretBasedPromClientController): move prometheus config validation under newSecretBasedPromClientController Jan Chaloupka 2026-02-04 15:55:46 +01:00
  • 964df4ce95 refactor(promClientController): split it into two prom client controllers Jan Chaloupka 2026-02-04 14:43:33 +01:00
  • 5fb70c12c7 Merge pull request #1820 from ingvagabund/refactorings Kubernetes Prow Robot 2026-02-04 18:31:59 +05:30
  • c357bc3d28 test(TestReconcileInClusterSAToken): have prometheus client tests build an entire descheduler as well Jan Chaloupka 2026-02-04 13:26:00 +01:00
  • f8a4efd4f0 format(TestReconcileInClusterSAToken): indent the code by two tabs Jan Chaloupka 2026-02-04 13:18:53 +01:00
  • 0822f6f99a test(TestPromClientControllerSync_EventHandler): have prometheus client tests build an entire descheduler as well Jan Chaloupka 2026-02-04 13:14:47 +01:00
  • 4361c133e9 format(TestPromClientControllerSync_EventHandler): indent the code by two tabs Jan Chaloupka 2026-02-04 12:49:07 +01:00
  • 818675f73e refactor(TestPromClientControllerSync_EventHandler): get secret name and namespace from the implicitly generated secret object Jan Chaloupka 2026-02-04 12:47:41 +01:00
  • a8f618c3fd test(TestPromClientControllerSync_ClientCreation): have prometheus client tests build an entire descheduler as well Jan Chaloupka 2026-02-04 12:41:31 +01:00
  • 760bacab34 format(TestPromClientControllerSync_ClientCreation): indent the code by two tabs Jan Chaloupka 2026-02-04 12:38:37 +01:00
  • aa21eed809 refactor(setupPromClientControllerTest): inject context instead of creating a stop channel Jan Chaloupka 2026-02-04 12:16:51 +01:00
  • 8849882944 Merge pull request #1819 from ingvagabund/bootstrap-descheduler Kubernetes Prow Robot 2026-02-04 16:33:55 +05:30
  • 807f580204 test(pkg/descheduler): TestPluginPrometheusClientAccess_Secret to test secret based token reconciliation Jan Chaloupka 2026-02-04 11:31:15 +01:00
  • 643179cdac feat(pkg/descheduler): setup prometheus client for the dry run mode descheduler as well Jan Chaloupka 2026-02-04 11:29:06 +01:00
  • d1671034df refactor(pkg/descheduler): move the main descheduler run entry under a dedicated function Jan Chaloupka 2026-02-03 21:54:52 +01:00
  • f26ab740fe feat(pkg/descheduler): do not cancel the context when runDeschedulerLoop fails Jan Chaloupka 2026-02-03 23:28:16 +01:00
  • 0d05e5dd1f refactor(pkg/descheduler): dedicated function for setting token reconciliation Jan Chaloupka 2026-02-03 23:10:01 +01:00
  • e402adb9f1 refactor(pkg/descheduler): start factory informers and other descheduler parts during bootstrap Jan Chaloupka 2026-02-03 21:33:23 +01:00
  • 0c307cf7b9 refactor(pkg/descheduler): bootstrap a descheduler through a dedicated function Jan Chaloupka 2026-02-03 21:26:16 +01:00
  • a71c2ab331 refactor(pkg/descheduler): single ctx with cancel with the whole RunDeschedulerStrategies function for consistency Jan Chaloupka 2026-02-03 21:15:13 +01:00
  • ffd05ff9c1 Merge pull request #1818 from ingvagabund/prom-client-testing Kubernetes Prow Robot 2026-02-02 19:04:28 +05:30
  • a60ab7b5ed Merge pull request #1786 from W1seKappa/add-namespace-label-selector Kubernetes Prow Robot 2026-02-02 18:24:29 +05:30
  • 4361eefaf2 add namespaceLabelSelector Danila Bobkov 2025-12-11 17:23:00 +03:00
  • 5a53f16526 test(promClientController): unit test the implementation Jan Chaloupka 2026-01-26 17:29:31 +01:00
  • 12b1ddfb52 refactor(pkg/descheduler): move prometheus client specific code under a dedicated promClientController Jan Chaloupka 2026-01-26 13:23:23 +01:00
  • 0b4fd3544c Merge pull request #1816 from ingvagabund/prometheus-client-update-test Kubernetes Prow Robot 2026-01-26 03:01:08 +05:30
  • fe2fb603f4 test(pkg/descheduler): test a prometheus client update propagates to a plugin profile handle Jan Chaloupka 2026-01-25 21:00:51 +01:00
  • a500ff9c64 Merge pull request #1814 from ingvagabund/refactorings 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