To get this branch, use:
bzr branch
http://darksoft.org/webbzr/adei/trunk
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
. opts.sh
list=$(oc -n $ADEI_NS -l "adei-type=cacher" "$@" get dc | grep -v NAME | awk '{print $1}' )
for i in $list; do
oc -n $ADEI_NS scale --replicas 0 dc/$i
done
|