klogs

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Latest Release Version Go Report Card Go CI

klogs

klogs helps you view logs from multiple kubernetes pods and containers inside the pods. You can provide a regex to filter the pods/containers that the logs will be fetched from.

klogs demo gif

klogs is a minimalistic cli tool. See the usage below!

Klogs provides a user interface for the logs from multiple Kubernetes pods/containers.

Usage:
  klogs POD-QUERY [flags]

Flags:
  -c, --container string    Regex to specify the containers to fetch logs from (default ".*")
  -x, --context string      Kubernetes context to use, default is $(kubectl config current-context)
  -h, --help                help for klogs
  -k, --kubeconfig string   Kubeconfig file path
  -n, --namespace string    Kubernetes namespace to use, uses current namespace if not specified 
  -v, --verbose             print debug logs


Installation

klogs is available on macOS, Linux and Windows. You can find the binaries in Releases →.

Brew

klogs is already available in Homebrew for an easier installation.

brew tap cinarmert/klogs
brew install klogs

Similar Projects

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL