Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Remove deprecated option 'monitor-nodes' (#44)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
shrinandj committed Jul 9, 2019
1 parent 6805721 commit aa520bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions minion_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 ...
Expand Down

0 comments on commit aa520bd

Please sign in to comment.