kolla-ansible/tools/stop-all-replications
Steven Dake b79ec04b70 Add replication controllers to start and stop scripts
replicaton controllers are now automatically started by the start
scripts and killed by the stop script

Change-Id: I15d15ff9b1b640bd0f8cace872a827ecfe476ca3
2014-10-15 07:22:39 -07:00

7 lines
132 B
Bash
Executable File

#!/bin/sh
kubecfg list replicationControllers |
awk 'NR>2 {print $1}' |
xargs -i kubecfg delete replicationControllers/{}