/slow

Output stuff ...slowly

Primary LanguageGoGNU General Public License v3.0GPL-3.0

Slow

Build Status

Takes the output of commands like kubectl logs and stern, and outputs them ...slowly

Build

From source
$ git clone git@github.com:devzx/slow.git
$ cd slow
$ go build slow.go
$ mv slow /usr/local/bin
Docker
$ git clone git@github.com:devzx/slow.git
$ cd slow
$ docker build -t slow .

Flags

-wait int

Time to wait in seconds between printing output (default 1)

Examples

Binary

$ kubectl logs <pod> | slow

$ stern <pod> | slow -wait 2

Docker

$ kubectl logs <pod> | docker run -i --rm slow -wait 1 -

$ stern <pod> | slow -wait 2

Prebuilt Docker image

$ kubectl logs <pod> | docker run -i --rm devzx/slow -