aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-03-19 09:59:37 -0700
committerSteven Dake <stdake@cisco.com>2015-03-19 10:00:00 -0700
commitf7bf845c0016febbf7ad3d8f9184ca763851cc58 (patch)
treedb828f418db0455145b65851deb347451925c3cd /tools
parentb3759b480f3df5d6e2938bbd5a0b78deaad91ed5 (diff)
downloadkolla-f7bf845c0016febbf7ad3d8f9184ca763851cc58.tar.gz
kolla-f7bf845c0016febbf7ad3d8f9184ca763851cc58.zip
Remove traces of kubernetes
Change-Id: Ie14063022aa1f4e1409421b8049ec75ec9a32802
Diffstat (limited to 'tools')
-rwxr-xr-xtools/start8
-rwxr-xr-xtools/start-all-pods24
-rwxr-xr-xtools/start-all-replications13
-rwxr-xr-xtools/start-all-services28
-rwxr-xr-xtools/stop9
-rwxr-xr-xtools/stop-all-pods18
-rwxr-xr-xtools/stop-all-replications11
-rwxr-xr-xtools/stop-all-services10
8 files changed, 0 insertions, 121 deletions
diff --git a/tools/start b/tools/start
deleted file mode 100755
index d0d3f7bc4..000000000
--- a/tools/start
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-./tools/start-all-services
-./tools/start-all-replications
-./tools/start-all-pods
diff --git a/tools/start-all-pods b/tools/start-all-pods
deleted file mode 100755
index 8bad8d0ff..000000000
--- a/tools/start-all-pods
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-pods='
-rabbitmq
-mariadb
-keystone
-glance
-nova-controller
-nova-compute
-neutron-server
-heat
-mongodb
-ceilometer-controller
-zaqar
-horizon
-'
-
-for pod in $pods; do
- kubectl create -f "k8s/pod/${pod}-pod.yaml"
-done
-
diff --git a/tools/start-all-replications b/tools/start-all-replications
deleted file mode 100755
index 8adc0430f..000000000
--- a/tools/start-all-replications
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-services='
-nova-compute
-'
-
-for svc in $services; do
- kubectl create -f "k8s/replication/${svc}-replication.yaml"
-done
-
diff --git a/tools/start-all-services b/tools/start-all-services
deleted file mode 100755
index 23a8e4c1c..000000000
--- a/tools/start-all-services
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-services='
-ceilometer-api
-glance-api
-glance-registry
-keystone-admin
-keystone-public
-mariadb
-mongodb
-nova-api
-nova-ec2-api
-nova-libvirt
-nova-metadata-api
-rabbitmq
-neutron-server
-heat-api
-zaqar-server
-horizon
-'
-
-for svc in $services; do
- kubectl create -f "k8s/service/${svc}-service.yaml"
-done
-
diff --git a/tools/stop b/tools/stop
deleted file mode 100755
index 2a914d917..000000000
--- a/tools/stop
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-./tools/stop-all-replications
-./tools/stop-all-pods
-./tools/stop-all-services
-
diff --git a/tools/stop-all-pods b/tools/stop-all-pods
deleted file mode 100755
index f18f82281..000000000
--- a/tools/stop-all-pods
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-UUID_REGEX="[a-f0-9]{8}(-[a-f0-9]{4}){3}-[a-f0-9]{12}"
-
-pods=$(kubectl get pods -o template -t '{{range .items}}{{.id}} {{end}}')
-for pod in $pods; do
- if [[ $pod =~ $UUID_REGEX ]]; then
- # Stopping a k8s replicationController doesn't delete the associated
- # pods, which names are UUIDs.
- # Assuming all pods named by UUID are leftover replication pods.
- kubectl delete pod $pod
- else
- kubectl delete -f "k8s/pod/${pod}-pod.yaml" 2>/dev/null
- fi
-done
diff --git a/tools/stop-all-replications b/tools/stop-all-replications
deleted file mode 100755
index 014ecb3bf..000000000
--- a/tools/stop-all-replications
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-replication_ctrs=$(kubectl get replicationController | awk 'NR>1 {print $1}')
-
-for replication_ctr in $replication_ctrs; do
- kubectl delete -f "k8s/replication/${replication_ctr}-replication.yaml"
-done
-
diff --git a/tools/stop-all-services b/tools/stop-all-services
deleted file mode 100755
index 14e4942b3..000000000
--- a/tools/stop-all-services
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
-cd "$(dirname "$REAL_PATH")/.."
-
-services=$(kubectl get services | awk 'NR>1 {print $1}')
-
-for service in $services; do
- kubectl delete -f "k8s/service/${service}-service.yaml" 2>/dev/null
-done