aboutsummarylogtreecommitdiffstats
path: root/4.stop.cluster.sh
diff options
context:
space:
mode:
authorAndrej Marolt2016-06-24 11:16:05 +0200
committerAndrej Marolt2016-06-24 11:16:05 +0200
commit97e93f25a16b842cc739c50d233b7d8e40e8ff33 (patch)
tree6e5fd1e97a25da11a4b17fbd1bcae5b2cb731c49 /4.stop.cluster.sh
parenta5843127071a951a3c884bae9dafb4c6775fc531 (diff)
downloadaur-97e93f25a16b842cc739c50d233b7d8e40e8ff33.tar.gz
Scripts to create and run openshift cluster.
Diffstat (limited to '4.stop.cluster.sh')
-rwxr-xr-x4.stop.cluster.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/4.stop.cluster.sh b/4.stop.cluster.sh
new file mode 100755
index 000000000000..555ba47d17d3
--- /dev/null
+++ b/4.stop.cluster.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Stop local Docker cluster
+
+# If this cluster had been started by 'oc cluster up', below command would destroy all traces of the cluster.
+# This cluster has been started by '3.start.cluster.sh config.sh'.
+# This method of starting a cluster preserves data among restarts.
+# You will be able to restart it by '3.start.cluster.sh config.sh'.
+
+# This script does not need to be passed any configuration file.
+# It stops the currently running cluster.
+
+oc cluster down