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

Commit 8b5f1d4

Browse files
author
Peter Wilson
committed
Update --drain-timeout help message with usage
1 parent 2342483 commit 8b5f1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eks_node_rollout/eks_node_rollout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def enable_autoscaling(asg_client, asg_name, dry_run=True):
227227

228228
@click.command()
229229
@click.option('--cluster-name', envvar='EKS_NODE_ROLLOUT_CLUSTER_NAME', required=True, help="Cluster name to discover ASGs from")
230-
@click.option('--drain-timeout', envvar='EKS_NODE_ROLLOUT_DRAIN_TIMEOUT', default="120s", help="Timeout for draining worker node")
230+
@click.option('--drain-timeout', envvar='EKS_NODE_ROLLOUT_DRAIN_TIMEOUT', default="120s", help="Timeout for draining worker node (eg. 1s, 2m, 3h)")
231231
@click.option('--dry-run/--no-dry-run', envvar='EKS_NODE_ROLLOUT_DRY_RUN', default=False, help="Run with read-only API calls")
232232
@click.option('--debug/--no-debug', envvar='EKS_NODE_ROLLOUT_DEBUG', default=False, help="Enable debug logging")
233233
def rollout_nodes(cluster_name, drain_timeout, dry_run, debug):

0 commit comments

Comments
 (0)