1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Merge pull request #664 from stpabhi/dev

fix typo minPodLifeTimeSeconds
This commit is contained in:
Kubernetes Prow Robot
2021-11-30 08:10:56 -08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -524,7 +524,7 @@ strategies:
This strategy evicts pods that are in failed status phase.
You can provide an optional parameter to filter by failed `reasons`.
`reasons` can be expanded to include reasons of InitContainers as well by setting the optional parameter `includingInitContainers` to `true`.
You can specify an optional parameter `minPodLifeTimeSeconds` to evict pods that are older than specified seconds.
You can specify an optional parameter `minPodLifetimeSeconds` to evict pods that are older than specified seconds.
Lastly, you can specify the optional parameter `excludeOwnerKinds` and if a pod
has any of these `Kind`s listed as an `OwnerRef`, that pod will not be considered for eviction.
@@ -532,7 +532,7 @@ has any of these `Kind`s listed as an `OwnerRef`, that pod will not be considere
|Name|Type|
|---|---|
|`minPodLifeTimeSeconds`|uint|
|`minPodLifetimeSeconds`|uint|
|`excludeOwnerKinds`|list(string)|
|`reasons`|list(string)|
|`includingInitContainers`|bool|
@@ -557,7 +557,7 @@ strategies:
includingInitContainers: true
excludeOwnerKinds:
- "Job"
minPodLifeTimeSeconds: 3600
minPodLifetimeSeconds: 3600
```
## Filter Pods

View File

@@ -11,4 +11,4 @@ strategies:
includingInitContainers: true
excludeOwnerKinds:
- "Job"
minPodLifeTimeSeconds: 3600 # 1 hour
minPodLifetimeSeconds: 3600 # 1 hour