Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.68 KB

havener_logs.md

File metadata and controls

46 lines (34 loc) · 1.68 KB

havener logs

Retrieve log files from all pods

Synopsis

Loops over all pods and all namespaces to download log and configuration files from some well-known hard-coded locations to a local directory. Use this to quickly scan through multiple files from multiple locations in case you have to debug an issue where it is not clear yet where to look.

The download includes all deployment YAMLs of the pods and the describe output.

havener logs [flags]

Options

  -h, --help              help for logs
      --no-config-files   exclude configuration files in download package
      --parallel int      number of parallel download jobs (default 64)
      --target string     desired target download location for retrieved files (default "/var/folders/dc/1k_907394hx5mft__7g269vh0000gn/T/")
      --timeout int       allowed time in seconds before the download is aborted (default 300)

Options inherited from parent commands

      --debug                 debug output - level 5
      --error                 error output - level 2
      --fatal                 fatal output - level 1
      --kubeconfig string     Kubernetes configuration file (default "~/.kube/config")
      --terminal-height int   disable autodetection and specify an explicit terminal height (default -1)
      --terminal-width int    disable autodetection and specify an explicit terminal width (default -1)
      --trace                 trace output - level 6
  -v, --verbose               verbose output - level 4
      --warn                  warn output - level 3

SEE ALSO

  • havener - Convenience wrapper around both kubectl and helm
Auto generated by spf13/cobra on 19-Oct-2019