From acd54ba601e34dafac063f94054bb80348e73dcd Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 04:43:13 +0200 Subject: Script to fullhy clean-up outdated rc --- scripts/hawakular.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 scripts/hawakular.sh (limited to 'scripts/hawakular.sh') diff --git a/scripts/hawakular.sh b/scripts/hawakular.sh deleted file mode 100755 index 73e3a87..0000000 --- a/scripts/hawakular.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -case $1 in - "stop") - oc -n openshift-infra scale --replicas 0 rc/hawkular-metrics - oc -n openshift-infra scale --replicas 0 rc/heapster - oc -n openshift-infra scale --replicas 0 dc/hawkular-cassandra - ;; - "start") - oc -n openshift-infra scale --replicas 0 dc/hawkular-cassandra - sleep 1 - oc -n openshift-infra scale --replicas 0 rc/heapster - sleep 1 - oc -n openshift-infra scale --replicas 0 rc/hawkular-metrics - ;; - *) - echo "Usage: $0 stop/start" -esac -- cgit v1.2.3