Skip to content

A Helm plugin to capture debug information about the live Kubernetes resources in a release.

Notifications You must be signed in to change notification settings

jzbruno/helm-release-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helm Release Logs Plugin

Overview

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.

Requirements

  • Helm v3
  • Kubectl
  • jq

Install

helm plugin install https://github.com/jzbruno/helm-release-logs/

Usage

helm release-logs <release>
helm release-logs -h

About

A Helm plugin to capture debug information about the live Kubernetes resources in a release.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages