A Helm plugin to get debug information about the Kubernetes resources created by a release. The output is useful for troubleshooting in a CI / CD environment where it is valuable to capture the state of a release following a failure. The following information will be output to the output directory.
- Environment variables
- Helm release list
- Helm user values
- Helm computed values
- Kubernetes resource list
- Kubernetes describe of each pod
- Kubernetes logs for each container
For best results, it is recommended that your Helm chart specifies a metadata.namespace value for each resource (even if it just the chart default of {{ .Release.Namespace }}
). The plugin uses the output of helm get manifest
and helm get hooks
to determine the resources available for log collection.
- Helm v3
- Kubectl
- jq
helm plugin install https://github.com/jzbruno/helm-release-logs/
helm release-logs <release>
helm release-logs -h