Skip to content

Commit d5c7ede

Browse files
Replicas (#875)
* Changed drainHelper output stream to Stdout * Updated README.md to include Replica Usage information * Undo change carried over from evictLogs branch * Updated replica section. Changed title to Single vs Multiple Replicas, and provided example scenarios for use cases. * Fixed spelling errors * Revised the Replica documentation * Fixed spelling errors * Made documentation more customer centric --------- Co-authored-by: Gavin Burris <[email protected]>
1 parent 01730ea commit d5c7ede

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,22 @@ helm upgrade --install aws-node-termination-handler \
458458

459459
For a full list of configuration options see our [Helm readme](https://github.com/aws/aws-node-termination-handler/blob/v1.20.0/config/helm/aws-node-termination-handler#readme).
460460

461+
#### Single Instance vs Multiple Replicas
462+
463+
The Helm chart, by default, will deploy a single instance of Amazon Node Termination Handler. With the minimizing of resource usage, a single instance still provides good responsiveness in processing SQS messages.
464+
465+
**When should multiple instances of Amazon Node Termination Handler be used?**
466+
467+
* Responsiveness: Amazon Node Termination Handler may be taking longer than desired to process certain events, potentially in processing numerous concurrent events or taking too long to drain Pods. The deployment of multiple Amazon Node Termination Handler instances may help.
468+
469+
* Availability: The deployment of multiple Amazon Node Termination Handler instances provides mitigation in the case that Amazon Node Termination Handler itself is drained. Replica Amazon Node Termination Handlers will process SQS messages, avoiding a delay until the Deployment can start another instance.
470+
471+
**Notes**
472+
473+
* Running multiple instances of Amazon Node Termination Handler will not load balance responding to events. Each instance will greedily consume and respond to events.
474+
* Logs from multiple instances of Amazon Node Termination Handler are not aggregated.
475+
* Multiple instances of Amazon Node Termination Handler may respond to the same event, if it takes longer than 20s to process. This is not an error case, only the first response will have an affect.
476+
461477
#### Kubectl Apply
462478

463479
Queue Processor needs an **SQS queue URL** to function; therefore, manifest changes are **REQUIRED** before using kubectl to directly add all of the above resources into your cluster.

0 commit comments

Comments
 (0)