yanggang
bd9dea9979
fix if condition for the right value of EvictLocalStoragePods
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-02 20:20:36 -04:00
Amir Alavi
923921a1aa
update license year by running make gen
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-01-04 13:09:50 -05:00
Lucas Severo Alves
da8b145980
use plugin registry and prepare for conversion ( #1003 )
...
* use plugin registry and prepare for conersion
* Register plugins explicitly to a registry
* check interface impl instead of struc var
* setup plugins at top level
* treat plugin type combinations
* pass registry as arg of V1alpha1ToInternal
* move registry yet another level up
* check interface type separately
2022-12-01 06:05:54 -08:00
Jan Chaloupka
6e953b2ff3
Separate migration of strategy configuration from the constructing and running the plugins ( #999 )
...
* Remove log level from Errors
Every error printed via Errors is expected to be important and always
printable.
* Invoke first Deschedule and then Balance extension points (breaking change)
* Separate plugin arg conversion from pluginsMap
* Seperate profile population from plugin execution
* Convert strategy params into profiles outside the main descheduling loop
Strategy params are static and do not change in time.
* Bump the internal DeschedulerPolicy to v1alpha2
Drop conversion from v1alpha1 to internal
* add tests to v1alpha1 to internal conversion
* add tests to strategyParamsToPluginArgs params wiring
* in v1alpha1 evictableNamespaces are still Namespaces
* add test passing in all params
Co-authored-by: Lucas Severo Alves <lseveroa@redhat.com >
2022-11-14 08:48:41 -08:00
Furkan
99868a41de
run: gofumpt -w -extra .
...
Enable gofumpt in golangci
Signed-off-by: Furkan <furkan.turkal@trendyol.com >
2022-11-07 09:11:27 +03:00
Lucas Severo Alves
398ffa7ee0
add namespace filter to nodeutilization
2022-10-30 00:52:30 +02:00
Kubernetes Prow Robot
9e2c323aa9
Merge pull request #954 from spike-liu/master
...
Plugin arguments defaulting + moving plugin arguments to each corresponding plugin #925
2022-09-27 03:21:51 -07:00
vlc刘诚
ac0261fafb
fix pull-descheduler-verify-master build error
2022-09-24 09:29:42 +08:00
vlc刘诚
bfb688e016
RemovePodsViolatingTopologySpreadConstraintArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
0d8106a32d
RemovePodsViolatingNodeTaintsArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
7b1ddf1edb
RemovePodsViolatingNodeAffinityArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
28ed86f079
RemovePodsViolatingInterPodAntiAffinityArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
fa874844a1
RemovePodsHavingTooManyRestartsArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
63396d4afc
RemoveFailedPodsArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
acc267b0b3
RemoveDuplicatesArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
1d3e130366
PodLifeTimeArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
35aff52ec4
NodeUtilizationArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
a665a7b4e6
DefaultEvictorArgs defaulting
2022-09-23 11:32:38 +08:00
vlc刘诚
dc04abc0e6
RemovePodsViolatingTopologySpreadConstraint defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
5a755e73f2
RemovePodsViolatingNodeTaints defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
a000bfa796
RemovePodsViolatingNodeAffinity defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
3007448bdb
RemovePodsViolatingInterPodAntiAffinity defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
b9a89196f2
RemovePodsHavingTooManyRestarts defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
78c3260692
RemoveDuplicates defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
0c88326df9
PodLifeTime defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
3b1cdcd442
NodeUtilization defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
vlc刘诚
8d471baf3e
RemoveFailedPods defaulting + moving arguments to its corresponding plugin
2022-09-23 11:32:38 +08:00
sunxiaofei
c10e6d6c12
fix sharedInformerFactory register
2022-09-22 16:02:13 +08:00
Lucas Severo Alves
edec8fe010
add PreEvictionFilter extension to DefaultEvictor Plugin
2022-09-20 17:29:41 +02:00
Lucas Severo Alves
f47c2c4407
add new preevectionfilter plugin with args
2022-09-12 16:56:21 +02:00
Amir Alavi
e8fae9a3b7
remove pod security policy; additional policy/v1beta1 cleanup; use informers for descheduler unit tests
...
update go to 1.19 and helm kubernetes cluster to 1.25
bump -rc.0 to 1.25 GA
bump k8s utils library
bump golang-ci
use go 1.19 for helm github action
upgrade kubectl from 0.20 to 0.25
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-09-04 10:30:40 -04:00
JaneLiuL
c9b0fbe467
Bump to k8s 1.25-rc.0
2022-09-03 09:57:56 -04:00
Julian Lawrence
bfcd310a16
removing dupe plugin interface check
2022-08-24 16:12:24 -07:00
JaneLiuL
680e650706
bring lownodeutilization and highnodeutilization to plugin
2022-08-17 17:30:46 +08:00
Lucas Severo Alves
a2dd86ac3b
Migrate RemovePodsViolatingInterPodAntiAffinity into a plugin
2022-08-16 12:29:25 +02:00
Julian Lawrence
674bf4655d
migrate plugin - pods violating topologyspread
...
updated to remove older params
2022-08-15 08:23:04 -07:00
Amir Alavi
d4ff3aef61
Migrate PodLifeTime to plugin
2022-08-15 08:54:42 -04:00
Kubernetes Prow Robot
0a50d5a7da
Merge pull request #892 from JaneLiuL/master
...
bring removeduplicates to plugin
2022-08-10 02:40:30 -07:00
JaneLiuL
3474725176
bring removeduplicates to plugin
2022-08-10 15:02:28 +08:00
Amir Alavi
27fa7a70a1
NodeAffinity plugin to use the existing validation methods
2022-08-09 13:38:33 -04:00
BinacsLee
d798e7d204
Migrate RemovePodsHavingTooManyRestarts to plugin
2022-08-09 22:05:36 +08:00
Lucas Severo Alves
0c3bf7f957
Migrate RemovePodsViolatingNodeAffinity into a plugin
2022-08-09 14:05:51 +02:00
Amir Alavi
330def2e56
Migrate RemoveFailedPods to plugin
2022-08-02 23:30:49 -04:00
Lucas Severo Alves
0aa233415e
use new events implementation and take recorder out of EvictPod
2022-07-28 15:18:21 +02:00
Jan Chaloupka
704f6d4496
Migrate RemovePodsViolatingNodeTaints into a plugin
2022-07-21 20:52:24 +02:00