Skip to content

A tool for dumping pod logs and describing k8s resources owned or created by a juju controller and its models.

License

Notifications You must be signed in to change notification settings

canonical/juju-k8s-crashdump

Repository files navigation

Overview

A tool for dumping pod logs and describing k8s resources owned or created by a juju controller and its models.

Getting Started

This package can be installed via pip and then called as a command line tool

pipx install .

juju-crashdump-k8s --help

usage: juju-k8s-crashdump [-h] kubeconf controller

Collect logs for standard resources juju creates in kubernetes

positional arguments:
  kubeconf    Path to a kubeconf with permissions to reach the resources juju
              creatres
  controller  Name of the controller to get logs for

options:
  -h, --help  show this help message and exit

Development

See CONTRIBUTING.md for more information about development best practices.

TODO

  • Snap this project
  • Adjust log tar to not have /var/tmpXXXXXX in the pathing
  • Add unittests
  • Add linting actions
  • Use COG for readme formatting

About

A tool for dumping pod logs and describing k8s resources owned or created by a juju controller and its models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published