A tool for dumping pod logs and describing k8s resources owned or created by a juju controller and its models.
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
See CONTRIBUTING.md for more information about development best practices.
- Snap this project
- Adjust log tar to not have /var/tmpXXXXXX in the pathing
- Add unittests
- Add linting actions
- Use COG for readme formatting