summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/job-plan6
-rw-r--r--example.nomad2
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/job-plan b/bin/job-plan
new file mode 100755
index 0000000..779d681
--- /dev/null
+++ b/bin/job-plan
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd "$(dirname "$0"/..)"
+set -e
+
+nomad job plan example.nomad
diff --git a/example.nomad b/example.nomad
index 513791f..166df49 100644
--- a/example.nomad
+++ b/example.nomad
@@ -140,7 +140,7 @@ job "example" {
# The "count" parameter specifies the number of the task groups that should
# be running under this group. This value must be non-negative and defaults
# to 1.
- count = 1
+ count = 3
# The "network" stanza specifies the network configuration for the allocation
# including requesting port bindings.