Skip to content

davidmdm/kubelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubelog

Installing

To install kubelog run

go get github.com/davidmdm/kubelog

Commands:

Get Services

kubelog get (services|svc)

options:

  -n : restrict to one namespace

This command will output all namespaces with their service names

myNamespace
  service_1
  service_2

Tail Service Logs

kubelog -n namespace tail service [service2, [service3, [...]]]

options:

  -n: (string) namespace (required)
  -t: (flag)   log timestamps
  -s: (string) start logs since ie: 5m

If you want to tail all services in a namespace simply pass "*" as sole argument.

kubelog -n namespace tail "*"

About

consolidates kubectl logs for multiple pods

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages