Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit e09b2a3

Browse files
authored
Merge pull request #7 from quortex/chart-0.2.0
add pollInterval value and bump chart version to 0.2.0
2 parents 31ba694 + 2121dc3 commit e09b2a3

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

helm/node-drainer/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: 0.1.0
24+
appVersion: 0.2.0

helm/node-drainer/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# node-drainer
22

3-
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)
44

55
A cronjob that drain nodes periodically.
66

@@ -38,7 +38,8 @@ helm install node-drainer node-drainer/node-drainer -n <NAMESPACE>>
3838
| successfulJobsHistoryLimit | int | `3` | The number of successful finished jobs to retain. |
3939
| failedJobsHistoryLimit | int | `1` | The number of failed finished jobs to retain. |
4040
| suspend | bool | `false` | This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. |
41-
| evictionTimeout | int | `300` | The timeout in seconds for pods eviction during node drain |
41+
| evictionTimeout | int | `300` | The timeout in seconds for pods eviction during node drain. |
42+
| pollInterval | int | `5` | The poll interval in seconds to check pods deletion on drain. |
4243
| logs.verbosity | int | `3` | Logs verbosity: 0 => panic 1 => error 2 => warning 3 => info 4 => debug |
4344
| logs.enableDevLogs | bool | `false` | |
4445
| image.repository | string | `"eu.gcr.io/quortex-registry-public/node-drainer"` | node-drainer image repository. |

helm/node-drainer/templates/cronjob.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ spec:
4343
- --count={{ .Values.count }}
4444
- --max-unscheduled-pods={{ .Values.maxUnscheduledPods }}
4545
- --eviction-timeout={{ .Values.evictionTimeout }}
46+
- --poll-interval={{ .Values.pollInterval }}
4647
- --dev={{ .Values.logs.enableDevLogs }}
4748
- --v={{ .Values.logs.verbosity }}
4849
resources:

helm/node-drainer/values.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ failedJobsHistoryLimit: 1
3232
# -- This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.
3333
suspend: false
3434

35-
# -- The timeout in seconds for pods eviction during node drain
35+
# -- The timeout in seconds for pods eviction during node drain.
3636
evictionTimeout: 300
37+
38+
# -- The poll interval in seconds to check pods deletion on drain.
39+
pollInterval: 5
40+
3741
logs:
3842
# -- Logs verbosity:
3943
#
@@ -49,7 +53,7 @@ image:
4953
# -- node-drainer image repository.
5054
repository: eu.gcr.io/quortex-registry-public/node-drainer
5155
# -- node-drainer image tag.
52-
tag: 0.1.0
56+
tag: 0.2.0
5357
# -- node-drainer image pull policy.
5458
pullPolicy: IfNotPresent
5559

0 commit comments

Comments
 (0)