bzr branch
http://darksoft.org/webbzr/adei/trunk
1 2 3 4 5 6 7 8 9 10 |
#! /bin/bash . opts.sh pods=$(oc -n $ADEI_NS -l "adei-type=cacher" "$@" get po | grep -v NAME | grep ContainerCreating | awk '{print $1}') oc -n $ADEI_NS delete pods $pods pods=$(oc -n $ADEI_NS -l "adei-type=cron" "$@" get po | grep -v NAME | grep ContainerCreating | awk '{print $1}') oc -n $ADEI_NS delete pods $pods |