Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-34

Add an `aurora cluster` subcommand to automatically generate clusters.json

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Client

    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

          Activity

            People

              Unassigned Unassigned
              kevints Kevin Sweeney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: