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

Remove deprecated option 'monitor-nodes' #44

Merged
merged 1 commit into from
Jul 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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