From aa520bd21585e94a3b2ce5c3dcd3b7c6da4a3324 Mon Sep 17 00:00:00 2001 From: Shri Javadekar Date: Tue, 9 Jul 2019 13:05:39 -0700 Subject: [PATCH] Remove deprecated option 'monitor-nodes' (#44) Testing Done: 1. Verified that the unit-tests succeed. 2. Verified that switching from on-demand to spot instances work as expected. 3. Verified that switching from spot to on-demand instances work as expected. --- minion_manager.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/minion_manager.py b/minion_manager.py index c6df6b7..a013b97 100644 --- a/minion_manager.py +++ b/minion_manager.py @@ -40,8 +40,6 @@ def run(): parser.add_argument("--refresh-interval-seconds", default="300", help="Interval in seconds at which to query AWS") parser.add_argument("--cluster-name", required=True, help="Name of the Kubernetes cluster. Get's used for identifying ASGs") - parser.add_argument("--monitor-nodes", default=False, - help="Check if nodes are 'Ready' and terminate if not") usr_args = parser.parse_args() validate_usr_args(usr_args) @@ -53,7 +51,7 @@ def run(): if usr_args.cloud == "aws": minion_manager = Broker.get_impl_object( usr_args.cloud, usr_args.cluster_name, usr_args.region, int(usr_args.refresh_interval_seconds), - aws_profile=usr_args.profile, monitor_nodes=usr_args.monitor_nodes) + aws_profile=usr_args.profile) minion_manager.run() # A journey of a thousand miles ...