You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2016/02/11 01:18:48 UTC

aurora git commit: Documenting aurora job add command.

Repository: aurora
Updated Branches:
  refs/heads/master 46277a11b -> e7862e0e7


Documenting aurora job add command.

Reviewed at https://reviews.apache.org/r/43458/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/e7862e0e
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/e7862e0e
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/e7862e0e

Branch: refs/heads/master
Commit: e7862e0e73f47f8b59c5bdb5fa403532495e9c6c
Parents: 46277a1
Author: Maxim Khutornenko <ma...@apache.org>
Authored: Wed Feb 10 16:18:41 2016 -0800
Committer: Maxim Khutornenko <ma...@apache.org>
Committed: Wed Feb 10 16:18:41 2016 -0800

----------------------------------------------------------------------
 NEWS                    |  1 +
 docs/client-commands.md | 10 ++++++++++
 2 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/e7862e0e/NEWS
----------------------------------------------------------------------
diff --git a/NEWS b/NEWS
index 669df32..11a57bb 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
 New/updated:
 
 - Upgraded Mesos to 0.26.0
+- Added a new `aurora job add` client command to scale out an existing job.
 
 Deprecations and removals:
 

http://git-wip-us.apache.org/repos/asf/aurora/blob/e7862e0e/docs/client-commands.md
----------------------------------------------------------------------
diff --git a/docs/client-commands.md b/docs/client-commands.md
index 67faaa3..fe3ee56 100644
--- a/docs/client-commands.md
+++ b/docs/client-commands.md
@@ -9,6 +9,7 @@ Aurora Client Commands
     - [Creating and Running a Job](#creating-and-running-a-job)
     - [Running a Command On a Running Job](#running-a-command-on-a-running-job)
     - [Killing a Job](#killing-a-job)
+    - [Adding Instances](#adding-instances)
     - [Updating a Job](#updating-a-job)
         - [Coordinated job updates](#user-content-coordinated-job-updates)
     - [Renaming a Job](#renaming-a-job)
@@ -164,6 +165,15 @@ The `<configuration file>` argument for `kill` is optional. Use it only
 if it contains hook definitions and activations that affect the
 kill command.
 
+### Adding Instances
+
+    aurora job add CLUSTER/ROLE/ENV/NAME/INSTANCE <count>
+
+Adds `<count>` instances to the existing job. The configuration of the new instances is derived from
+an active job instance pointed by the `/INSTANCE` part of the job specification. This command is
+a simpler way to scale out an existing job when an instance with desired task configuration
+already exists. Use `aurora update start` to add instances with a new (updated) configuration.
+
 ### Updating a Job
 
 There are several sub-commands to manage job updates: