From c47e8119373ef577e3c6ebdd59bdca2a23d417b9 Mon Sep 17 00:00:00 2001 From: Abhilash Pallerlamudi Date: Mon, 29 Nov 2021 17:51:40 -0800 Subject: [PATCH] fix typo minPodLifeTimeSeconds Signed-off-by: Abhilash Pallerlamudi --- README.md | 6 +++--- examples/failed-pods.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5bb812de8f..451ecca27d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/failed-pods.yaml b/examples/failed-pods.yaml index a7ca36c9aa..623fd2cde6 100644 --- a/examples/failed-pods.yaml +++ b/examples/failed-pods.yaml @@ -11,4 +11,4 @@ strategies: includingInitContainers: true excludeOwnerKinds: - "Job" - minPodLifeTimeSeconds: 3600 # 1 hour + minPodLifetimeSeconds: 3600 # 1 hour