Commit Graph
28 Commits
Author SHA1 Message Date
Amir Alavi 7f2f6f2b16 removepodsviolatingtopologyspreadconstraint: implement explicit constraints 2023-06-16 08:20:26 -04:00
Amir Alavi 0bdbf51eb2 Move CrashLoopBackOff container state from PodLifeTime to TooManyRestarts plugin 2023-06-07 23:29:11 -04:00
Jan Chaloupka 4565184481 Drop remaining mentions of evict extension point 2023-04-26 09:59:49 +02:00
Lucas Severo AlvesandGitHub 463158f7dc v1alpha2 docs (#1049)
* v1alph2 docs

* remove internal toc (gh has this natively)

* fix typo and newlines

* name plugins with less confusing names

* add type column

* fix kv selector and nodeSelector desc

* group plugin types in a table

* link the deprecated doc

* warning signs
2023-02-13 18:45:30 -08:00
Amir Alavi abf5752260 PodLifeTime: add States field and deprecate PodStatusPhases 2022-06-25 15:13:18 -04:00
Amir Alavi 038b6e1ca7 nodeFit: fix docs spacing for placement of the field 2022-06-07 11:59:30 -04:00
Abhilash Pallerlamudi c47e811937 fix typo minPodLifeTimeSeconds
Signed-off-by: Abhilash Pallerlamudi <stp.abhi@gmail.com>
2021-11-29 17:51:40 -08:00
Amir Alavi 0e0e688fe8 Introduce RemoveFailedPods strategy 2021-08-30 14:17:52 -04:00
Amir Alavi 1c9ac2daee Add example for RemovePodsViolatingTopologySpreadConstraint 2021-07-09 22:56:59 -04:00
Hanu 4cd1e66ef3 Adding highnodeutilization strategy 2021-06-06 18:01:42 +08:00
lixiang 00f79aa28d add use case for lowNodeUtilization 2020-09-24 17:51:08 +08:00
lixiang 6042d717e9 delete disabled strategies in podLifeTime use case 2020-09-24 17:49:02 +08:00
lixiang 1303fe6eb9 PodLifeTime: allow custom podStatusPhases 2020-09-11 09:56:45 +08:00
Paweł KrupaandGitHub fa0a2ec6fe examples: fix typo
Fix incorrect example causing following error in runtime:

PodsHavingTooManyRestarts thresholds not set
2020-06-28 14:28:41 +02:00
Sean Malloy 423ee35846 Add New PodLifeTime Strategy
The new PodLifeTime descheduler strategy can be used to evict pods that
were created more than the configured number of seconds ago.

In the below example pods created more than 24 hours ago will be evicted.
````
apiVersion: "descheduler/v1alpha1"
kind: "DeschedulerPolicy"
strategies:
  "PodLifeTime":
     enabled: true
     params:
        maxPodLifeTimeSeconds: 86400
````
2020-05-07 23:10:36 -05:00
Mike Dame e7c42794a0 Add RemovePodsHavingTooManyRestarts strategy 2020-04-24 10:48:28 -04:00
Sean Malloy 55cf45a6ba Streamline Deployment Docs For End Users
The k8s YAML manifests for deploying the descheduler as a k8s job were
duplicated across the "examples" and "kubernetes" directories and also
in README.md. This change consolidates the YAML manifests into the
"kubernetes" directory and simplifies the installation instructions for end
users in README.md.

Additionally a k8s CronJob has been added.
2020-02-06 23:20:33 -06:00
Marius Davidsen 44c7eb5285 Update examples to support v1.16.0+
Support for using the `scheduler.alpha.kubernetes.io/critical-pod` annotation was
deprectated in 1.13 and finally removed in 1.16.
2020-01-17 14:24:37 +01:00
Christian van der Leeden 68a106aed0 changed policy, RemoveDuplicates is not automatically turned on, so used the policy.yaml file from the examples 2019-08-03 11:41:52 +02:00
Christian van der Leeden 1931bd6c1a created example yaml files out of the readme instructions with a reference to the 0.9.0 docker image. Modified the readme so the make will work since it expects a certain file structure 2019-08-01 12:05:13 +02:00
Shubham Minglani 40bb490f4c add RemovePodsViolatingNodeAffinity strategy
This commit adds requiredDuringSchedulingIgnoredDuringExecution
for RemovePodsViolatingNodeAffinity strategy.

Also adds unit tests and documentation.
2018-02-19 16:20:59 +05:30
ravisantoshgudimetla 97732cf62d Pod antiaffinity strategy.
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2017-11-02 18:09:44 -04:00
Avesh Agarwal d634701250 Descheduler related modifications. 2017-09-15 14:13:27 -04:00
Avesh Agarwal 2259a793ec Remove weight parameter from example policy as it is not implemented yet. 2017-08-28 12:26:12 -04:00
Avesh Agarwal 514ecf88cf Update example policy file. 2017-08-15 12:10:56 -04:00
Avesh Agarwal 49df977a01 Update low utilization thresholds strategy implementation. 2017-08-11 13:29:59 -04:00
Avesh Agarwal 3a106ac183 Update example policy to include "rescheduler" group too. 2017-08-10 13:58:03 -04:00
Avesh Agarwal 2b6ba4b47e Sample rescheduler policy yaml file. 2017-08-04 10:28:32 -04:00