Logbook is a real-time log viewer for Kubernetes.
Download a latest version of the binary from releases, or use go get
as follows:
$ go get -u github.com/ueokande/logbook
$ logbook [--kubeconfig KUBECONFIG] [--namespace NAMESPACE]
Flags:
--kubeconfig Path to kubeconfig file
--namespace Kubernetes namespace
- Ctrl+n: Select next pod
- Ctrl+p: Scroll previous pod
- j: Scroll down
- k: Scroll up
- h: Scroll left
- l: Scroll right
- f: Enable and disable follow mode
- Ctrl+D: Scroll half-page down
- Ctrl+U: Scroll half-page up
- Ctrl+F: Scroll page down
- Ctrl+B: Scroll page up
- G: Scroll to bottom
- g: Scroll to top
- Tab: Switch containers
- /: Search forward for matching line.
- n: Repeat previous search.
- N: Repeat previous search in reverse direction.
- q: Quit
MIT