Skip to main content

Flux

Failing Helm release

If a Helm release is failing its reconciliation with no apparent reason, the following commands can be useful to debug and retry the release.

  • kubectl get all -n <namespace> -> Get all resources in a namespace
  • kubectl describe helmrelease <hr-name> -n <namespace> -> See the deployed release
  • flux logs --kind HelmRelease --name <hr-name> --namespace <namespace> -> See logs of the Helm release
  • kubectl logs <hr-controller-pod> -n flux-system -> See logs for the Flux Helm controller
  • flux reconcile helmrelease <hr-name> --force --with-source --reset --namespace <namespace> -> Forcefully reconcile Helm release, resetting the failure count and forcing a re-fetch from the source (Helm will stop trying to deploy a release after it has failed certain amount of times)