Gabriel Tiossi
82559025b1
Allow eviction of DaemonSet pods ( #1342 )
...
* feat: evictDaemonSetPods flag for evictors
* test: evictDaemonSetPods unit and e2e
* docs: evictDaemonSetPods
2024-04-09 07:47:34 -07:00
Amir Alavi
bf2bd73f64
topologyspreadconstraint: refactor to match scheduler's struct and initialization
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com >
2023-10-30 09:16:14 -04:00
Amir Alavi
6271d51125
update pause image from 'kubernetes/pause' to 'registry.k8s.io/pause'
2023-06-07 23:32:31 -04:00
Jan Chaloupka
757661110a
Move framework types under framework/types
2023-03-23 19:00:55 +01:00
Amir Alavi
46e43a07bf
support client connection configuration to provide QPS and burst
2023-01-05 22:00:33 -05: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
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
Amir Alavi
d4ff3aef61
Migrate PodLifeTime to plugin
2022-08-15 08:54:42 -04: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
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
RyanDevlin
16eb9063b6
NodeFit parameter now considers pod requests
2022-04-28 10:16:52 +02: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
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
Garrybest
cac3b9185b
reform all test files
...
Signed-off-by: Garrybest <garrybest@foxmail.com >
2021-12-11 19:43:16 +08: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
84d648ff60
Add e2e tests for TopologySpreadConstraint
2021-08-16 22:39:31 -04:00
Hanu
6e71068f4f
Refractoring lownodeutilization - extracting common functions
2021-06-06 18:00:29 +08:00
Jan Chaloupka
f4e24a408f
Drop klog
2021-04-14 09:03:38 +02:00
Jan Chaloupka
2781106d49
TestEvictAnnotation: replace LowNodeUtilization strategy with PodLifetime
...
PodLifetime is simpler in validating results
2021-04-14 09:03:31 +02:00
Jan Chaloupka
534a30a058
e2e: deleteRC: replace loop with wait.PollImmediate
2021-04-14 09:03:26 +02:00
Jan Chaloupka
079bd6157b
e2e: TestLowNodeUtilization: normalize nodes before running the strategy
2021-04-14 09:03:15 +02:00
Gaurav Singh
7076ba0760
e2e_test: fix goroutine leak
2021-04-04 21:19:56 -04:00
RyanDevlin
b5d7219391
Completed evictSystemCriticalPods feature
2021-03-29 23:13:05 -04:00
lixiang
29ade13ce7
README and e2e-testcase add for labelSelector
2021-03-04 21:32:14 +08:00
Mike Dame
c1a63a557a
Add option to ignore pods with PVCs from eviction
2021-01-26 08:47:54 -05:00
wu.chaozong
1a998037f8
refactor: remove unuse param in e2e_test.go
2020-12-16 08:46:40 +08:00
Ali Farah
3ac0c408de
Add --logging-format flag
...
Add k8s.io/component-base/config package
2020-10-12 22:27:39 +11:00
lixiang
1303fe6eb9
PodLifeTime: allow custom podStatusPhases
2020-09-11 09:56:45 +08:00
Sean Malloy
1fb3445692
Fix golangci-lint Failures For 1.30.0 Upgrade
2020-08-31 14:03:43 -05:00
Jan Chaloupka
d8251b9086
Redefine IsEvictable to be customizable for a particular strategy
...
Use WithXXX methods to extend the list of constraints to also
provide a reasonable error message.
2020-08-19 11:21:26 +02:00