Amir Alavi
4d04018c93
update version references in docs and readme
2022-12-12 20:51:16 -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
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
Muhammad Adeel
76a0014707
add restricted security policy to e2e test pods
...
add RunAsUser and RunAsGroup to PSC
Signed-off-by: Muhammad Adeel <muhammad.adeel@ibm.com >
2022-10-18 15:01:12 +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刘诚
9eb4c350d8
e2e_test fixing
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刘诚
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
Kubernetes Prow Robot
72bf50fde6
Merge pull request #929 from knelasevero/ev-filter-plugin
...
Add new DefaultEvictor plugin with args
2022-09-12 09:21:24 -07:00
Lucas Severo Alves
f47c2c4407
add new preevectionfilter plugin with args
2022-09-12 16:56:21 +02:00
Amir Alavi
1265b4c325
remove dependency on kubectl
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2022-09-06 10:47:22 -04: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
680e650706
bring lownodeutilization and highnodeutilization to plugin
2022-08-17 17:30:46 +08:00
Julian Lawrence
674bf4655d
migrate plugin - pods violating topologyspread
...
updated to remove older params
2022-08-15 08:23:04 -07:00
Kubernetes Prow Robot
6d4abe88ca
Merge pull request #913 from a7i/migrate-PodLifeTime-to-plugin
...
Migrate PodLifeTime to plugin
2022-08-15 07:14:14 -07:00
Amir Alavi
d4ff3aef61
Migrate PodLifeTime to plugin
2022-08-15 08:54:42 -04:00
Jan Chaloupka
d1a9190c50
CONTAINER_ENGINE to override the default docker engine
2022-08-11 16:09:46 +02:00
Kubernetes Prow Robot
a1d4770634
Merge pull request #911 from knelasevero/local-ct-install
...
introduce ct for local helm install test
2022-08-11 06:10:58 -07:00
Lucas Severo Alves
ba85e794b2
introduce ct for local helm install test
2022-08-10 18:01:42 +02:00
JaneLiuL
3474725176
bring removeduplicates to plugin
2022-08-10 15:02:28 +08:00
BinacsLee
d798e7d204
Migrate RemovePodsHavingTooManyRestarts to plugin
2022-08-09 22:05:36 +08:00
Lucas Severo Alves
e9c23fe42f
add helm ct install. First step, see https://github.com/kubernetes-sigs/descheduler/pull/895#issuecomment-1203608848
2022-08-08 21:11:20 +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
d2130747d8
Split pod evictor and evictor filter
2022-06-13 18:48:05 +02:00
Amir Alavi
871a10344e
e2e: use kubernetes utils pointer library
2022-06-06 22:05:32 -04:00
Amir Alavi
311d75223f
PodLifeTime: sort pods by creation timestamp
2022-06-06 21:49:24 -04:00
Mike Dame
17e986418f
Update helm tests util versions and release guide
2022-05-31 17:05:14 +00:00
Mike Dame
6e84d0a6ba
React to removal of offensive language
...
https://github.com/kubernetes/kubeadm/issues/2200 went into effect in 1.24, so
e2es broke without the update.
2022-05-12 15:35:07 +00:00
Mike Dame
ac4d576df8
Update e2e test versions
2022-05-12 14:16:53 +00:00
RyanDevlin
16eb9063b6
NodeFit parameter now considers pod requests
2022-04-28 10:16:52 +02:00
Kubernetes Prow Robot
238eebeaca
Merge pull request #722 from Dentrax/feature/leaderelection
...
feat(leaderelection): impl leader election for HA Deployment
2022-03-28 09:39:23 -07:00
Furkan
0a52af9ab8
feat(leaderelection): impl leader election
...
Signed-off-by: Furkan <furkan.turkal@trendyol.com >
Signed-off-by: eminaktas <eminaktas34@gmail.com >
Co-authored-by: Emin <emin.aktas@trendyol.com >
Co-authored-by: Yasin <yasintaha.erol@trendyol.com >
2022-03-25 14:33:14 +03:00
Jan Chaloupka
bd3daa82d3
[e2e] TestTooManyRestarts: check if container status is set before accessing
2022-03-11 10:35:49 +01:00
Jan Chaloupka
d98cb84568
[e2e] TestTooManyRestarts: check err and len before accessing pod items
2022-03-11 09:45:05 +01:00
Julian Lawrence
a2cbc25397
updated to handle cronjob flow
2022-02-22 08:52:06 -08:00
Jan Chaloupka
901a16ecbc
Do not collect the metrics when the metrics server is not enabled
2022-01-20 17:04:15 +01:00
Kubernetes Prow Robot
551eced42a
Merge pull request #688 from babygoat/evict-failed-without-ownerrefs
...
feat: support eviction of failed bare pods
2022-01-11 12:31:15 -08:00
RyanDevlin
921a5680ab
Eliminated race condition in E2E tests
2022-01-06 09:36:13 -05:00
babygoat
1529180d70
feat: support eviction of failed bare pods
...
This patch adds the policy(evictFailedBarePods) to allow the failed
pods without ownerReferences to be evicted. For backward compatibility,
disable the policy by default. Address #644 .
2022-01-06 01:07:41 +08:00
Kubernetes Prow Robot
2424928019
Merge pull request #667 from damemi/1.23-rc.0
...
bump: k8s to 1.23
2021-12-15 06:56:20 -08:00
Garrybest
cac3b9185b
reform all test files
...
Signed-off-by: Garrybest <garrybest@foxmail.com >
2021-12-11 19:43:16 +08:00
Mike Dame
936578b238
Update k8s version in helm test
2021-12-10 10:14:47 -05:00
Kubernetes Prow Robot
82201d0e48
Add maxNoOfPodsToEvictPerNamespace policy
2021-12-03 10:58:37 +08:00
Jan Chaloupka
73a7adf572
Drop deprecated flags
2021-11-29 17:12:59 +01:00
Kubernetes Prow Robot
5b557941fa
Merge pull request #627 from JaneLiuL/master
...
Add E2E test case cover duplicatepods strategy
2021-10-01 00:01:22 -07:00
Amir Alavi
f7c26ef41f
e2e tests for RemoveFailedPods strategy
...
Fix priority class default
2021-09-26 20:39:32 -04:00
Jane Liu L
57ad9cc91b
Add E2E test case cover tooManyRestarts strategy
2021-09-26 09:10:17 +08:00
Amir Alavi
1ba53ad68c
e2e TestTopologySpreadConstraint: ensure pods are running before checking for topology spread across domains
2021-09-20 18:18:47 -04:00