Skip to content

Commit 866ff36

Browse files
authored
Fix helm default val for heartbeat flags (#1136)
* Fix helm default val for heartbeat flags
1 parent c06e7f1 commit 866ff36

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

config/helm/aws-node-termination-handler/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ The configuration in this table applies to AWS Node Termination Handler in queue
121121
| `managedAsgTag` | [DEPRECATED](Use `managedTag` instead) The node tag to check if `checkASGTagBeforeDraining` is `true`.
122122
| `useProviderId` | If `true`, fetch node name through Kubernetes node spec ProviderID instead of AWS event PrivateDnsHostname. | `false` |
123123
| `topologySpreadConstraints` | [Topology Spread Constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) for pod scheduling. Useful with a highly available deployment to reduce the risk of running multiple replicas on the same Node | `[]` |
124+
| `heartbeatInterval` | The time period in seconds between consecutive heartbeat signals. Valid range: 30-3600 seconds (30 seconds to 1 hour). | `-1` |
125+
| `heartbeatUntil` | The duration in seconds over which heartbeat signals are sent. Valid range: 60-172800 seconds (1 minute to 48 hours). | `-1` |
126+
124127
### IMDS Mode Configuration
125128

126129
The configuration in this table applies to AWS Node Termination Handler in IMDS mode.

config/helm/aws-node-termination-handler/values.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,12 @@ enableRebalanceDraining: false
288288
# deleteSqsMsgIfNodeNotFound If true, delete the SQS Message from the SQS Queue if the targeted node(s) are not found. Only used in Queue Processor mode.
289289
deleteSqsMsgIfNodeNotFound: false
290290

291+
# The time period in seconds between consecutive heartbeat signals. Valid range: 30-3600 seconds (30 seconds to 1 hour).
292+
heartbeatInterval: -1
293+
294+
# The duration in seconds over which heartbeat signals are sent. Valid range: 60-172800 seconds (1 minute to 48 hours).
295+
heartbeatUntil: -1
296+
291297
# ---------------------------------------------------------------------------------------------------------------------
292298
# Testing
293299
# ---------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)