Paweł Krupa
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