Takes the output of commands like kubectl logs
and stern
, and outputs them ...slowly
$ git clone git@github.com:devzx/slow.git
$ cd slow
$ go build slow.go
$ mv slow /usr/local/bin
$ git clone git@github.com:devzx/slow.git
$ cd slow
$ docker build -t slow .
-wait int
Time to wait in seconds between printing output (default 1)
$ kubectl logs <pod> | slow
$ stern <pod> | slow -wait 2
$ kubectl logs <pod> | docker run -i --rm slow -wait 1 -
$ stern <pod> | slow -wait 2
$ kubectl logs <pod> | docker run -i --rm devzx/slow -