You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swarm-mode/cloud-quick-start/swarm.sh
+11-9
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
+
# This will run in bash on Linux, Mac, and Windows 10 Anniverary Edition
1
2
# Default cluster:
2
3
# - 3 manager node
3
4
# - 5 worker nodes
4
5
# - 5 replicas for the test service
5
6
# - service image: ehazlett/docker-demo
6
7
# - service port: 8080 (port exposed by the service)
7
8
# - exposed port: 8080 (port exposed to the outside)
9
+
8
10
DRIVER="virtualbox"
9
11
NBR_MANAGER=3
10
12
NBR_WORKER=5
@@ -82,7 +84,7 @@ while [ "$#" -gt 0 ]; do
82
84
--azure-subscription-id)
83
85
AZURE_SUBSCRIPTION_ID="$2"
84
86
shift 2
85
-
;;
87
+
;;
86
88
-h|--help)
87
89
usage
88
90
;;
@@ -116,7 +118,7 @@ if [ "$DRIVER" == "amazonec2" ];then
116
118
if [ "$EC2_SECURITY_GROUP"=="" ];then
117
119
error "--amazonec2-security-group must be provided (+ make sure this one allows inter hosts communication and is has opened port $EXPOSED_PORT to the outside"
0 commit comments