Description
Right now a user needs to manually create a clusters.json and put it in ~/.aurora/clusters.json in order to talk to a cluster. Make this process a little more friendly by adding a cluster subcommand to perform CRUD operations similar to git-remote.
A sketch of how it might look:
# Create an entry in clusters.json aurora cluster add local --scheduler_uri localhost:8082 aurora cluster add example --zk zookeeper.example.com --scheduler_zk_path /service/aurora/scheduler # List available clusters aurora cluster list # Verify an entry by calling getVersion aurora cluster ping local
Attachments
Issue Links
- relates to
-
AURORA-35 rework Python SchedulerClient
- Open