k3s/contrib/rctools
Brian Grant e107da34d2 Create tools for resizing and stopping a replication controller via kubectl. 2014-11-20 18:49:44 +00:00
..
README.md Create tools for resizing and stopping a replication controller via kubectl. 2014-11-20 18:49:44 +00:00
resize.sh Create tools for resizing and stopping a replication controller via kubectl. 2014-11-20 18:49:44 +00:00
stop.sh Create tools for resizing and stopping a replication controller via kubectl. 2014-11-20 18:49:44 +00:00

README.md

Replication controller tools

resize.sh

Resizes a replication controller to the specified number of pods.

$ resize.sh
usage: resize.sh <replication controller name> <size>
$ resize.sh redisslave 4

stop.sh

Resizes a replication controller to 0 pods and waits until the pods are deleted.

$ stop.sh
usage: stop.sh <replication controller name>
$ stop.sh redisslave