# Debugging a failing Flux HelmRelease, step by step

> Find why a Flux HelmRelease is not Ready: read its conditions, check the chart source, trace events and values, then retry or tune remediation.

Published: 2026-12-03
Author: k8wiz Team
URL: https://k8wiz.com/articles/debug-failing-flux-helmrelease-step-by-step

A HelmRelease that stops at `Ready: False` can fail in several places. The chart may never have been fetched, the values may not compose, Helm may have timed out waiting for Pods, or a Helm test may have failed after a good install. Each of these leaves a different trace, and the fix depends on which one you are looking at.

This guide walks through the order we use on a real cluster. It starts with the cheapest checks and ends with the settings that stop the same failure from blocking you again. The examples use a HelmRelease named `podinfo` in the namespace `apps`, and the commands match helm-controller v1.7 as shipped with Flux 2.10.

## Step 1: Find the releases that are not ready

Start with a list of every HelmRelease that is failing, so you know the size of the problem. The `--status-selector` flag on `flux get` filters by a condition, which saves you from scanning a long table.

```bash
flux get helmreleases --all-namespaces --status-selector ready=false
```

The output has the columns Namespace, Name, Revision, Suspended, Ready and Message. Read the message first. It often names the failing step directly, such as an install that timed out or a values reference that could not be found.

Check the Suspended column too. A suspended HelmRelease is not reconciled at all, so changes in Git or in the chart produce no new release until someone resumes it.

## Step 2: Read the conditions

The Ready message is a summary. The full picture is in `.status.conditions`, where helm-controller keeps one condition per concern. `kubectl describe` prints them along with the recent events.

```bash
kubectl -n apps describe helmrelease podinfo
```

Each condition answers a narrower question. `Released` tells you whether the last Helm install or upgrade completed, with the reason `InstallFailed` or `UpgradeFailed` when it did not. `TestSuccess` appears when Helm tests are enabled and reports `TestFailed` when a test Pod failed. `Remediated` appears after the controller rolled back or uninstalled a failed release.

Two more conditions tell you whether the controller is still trying. `Reconciling` with reason `ProgressingWithRetry` means a retry is coming. `Stalled` with reason `RetriesExceeded` means the controller has given up and will not try again on its own.

```yaml
- type: Stalled
  status: "True"
  reason: RetriesExceeded
  message: Failed to install after 1 attempt(s)
```

A stalled release is the most common reason people think Flux is broken. Fixing the cause in the cluster is not enough, because the controller does not retry a stalled release until something changes. Step 7 covers how to get it moving.

The failure counters sit next to the conditions. `.status.failures` counts every failure, while `.status.installFailures` and `.status.upgradeFailures` are the counters the controller compares with your remediation retries.

```bash
kubectl -n apps get helmrelease podinfo \
  -o jsonpath='{.status.failures} {.status.installFailures} {.status.upgradeFailures}{"\n"}'
```

## Step 3: Check the chart source

Not every failure comes from Helm. The upstream docs list a missing or not ready source artifact, dependencies that are not ready, and values references that fail to compose as reasons a HelmRelease can stop before Helm runs at all. Rule out the source before you dig into Helm.

With `spec.chart`, helm-controller creates the source object for you. A `HelmChart` goes into the namespace of the `sourceRef`, and an `OCIRepository` (new as a chart template kind in Flux 2.10) goes into the namespace of the HelmRelease. Either way, the object is named `<namespace>-<name>` after the HelmRelease, so here it is `apps-podinfo`. The exact reference is in `.status.helmChart`.

```bash
kubectl -n apps get helmrelease podinfo -o jsonpath='{.status.helmChart}{"\n"}'
flux get sources all --all-namespaces --status-selector ready=false
```

If the chart source is not ready, fix it there. Typical causes are a wrong chart version range, a registry that needs credentials, or a HelmRepository URL that moved. The HelmRelease waits until the source has an artifact, so it starts working once the source is fixed.

If the HelmRelease sets `dependsOn`, check those objects too. A HelmRelease does not install while any of its dependencies is not ready.

## Step 4: Trace events and controller logs

Events show the sequence of actions the controller took, which conditions alone do not. You can see an install succeed, a test fail and a rollback follow, in order and with timestamps.

```bash
flux events -n apps --for HelmRelease/podinfo
```

Warning events carry Helm's own error text. For a timeout, the message usually names the resource Helm was waiting for, so the next command is often a `kubectl describe` on that Deployment or its Pods.

The controller logs add detail that never makes it into an event. Filter them to this one object and to errors only, since helm-controller logs every reconcile of every release.

```bash
flux logs --level=error --kind=HelmRelease --name=podinfo --namespace=apps
```

## Step 5: Look at the values Helm actually received

Values are a frequent cause of failed upgrades. A key moved in a new chart version, a ConfigMap in `valuesFrom` has a typo, or two values sources override each other in an order you did not expect. The Flux CLI can compute the final merged values from the in-cluster object.

```bash
flux debug helmrelease podinfo -n apps --show-values > final-values.yaml
```

This merges the inline `spec.values` with every ConfigMap and Secret in `spec.valuesFrom`, in the same way the controller does. The output includes the contents of referenced Secrets in plain text, so write it to a local file and delete it when you are done instead of pasting it into a ticket.

The same command has two more flags that help here. `--show-status` prints the HelmRelease status, and `--show-history` prints the reconciliation history kept in `.status.history`.

```bash
flux debug helmrelease podinfo -n apps --show-history
```

## Step 6: Inspect the Helm release itself

helm-controller stores releases the same way the Helm CLI does, as Secrets in the storage namespace. That means `helm` can read them, which helps when you want to compare revisions.

You need two names. The release name defaults to `[<targetNamespace>-]<name>`, so a HelmRelease `podinfo` with no `targetNamespace` produces a release named `podinfo`. The storage namespace defaults to the HelmRelease's namespace, and the docs point out that `helm get` needs `-n` set to the storage namespace, not the target namespace.

```bash
helm history podinfo -n apps
helm get values podinfo -n apps --revision 3
```

`helm history` shows each revision with its status and description. A row with `failed` followed by a rollback row tells you remediation ran. Use it to read state only. Running `helm upgrade` or `helm rollback` by hand creates revisions the HelmRelease did not ask for, and the controller can then reconcile on top of them.

Releases stuck in `pending-install`, `pending-upgrade` or `pending-rollback` used to need manual cleanup. Since the v2beta2 API, helm-controller detects these states and unlocks the release to `failed` so it can try again, so a pending release rarely needs `kubectl` surgery today.

## Step 7: Fix the cause and retry

Once you know the cause, fix it in Git where you can. A change to the HelmRelease spec, to its values, or a new chart version resets the failure counters, and the controller tries again straight away. For most failures, pushing the fix is all you need.

Sometimes the cause is outside the HelmRelease. A missing Secret, a full node, or a webhook that was down are all fixed in the cluster without a commit, and a stalled release will not notice. Reset the counters and trigger a reconcile.

```bash
flux reconcile helmrelease podinfo -n apps --reset
```

Under the hood this sets the `reconcile.fluxcd.io/resetAt` annotation together with `reconcile.fluxcd.io/requestedAt`. The controller clears the failure counts and starts again according to your remediation settings.

A different flag forces a one-off Helm install or upgrade even when nothing in the spec changed. It is useful when the release is recorded as deployed but you know the cluster objects are wrong.

```bash
flux reconcile helmrelease podinfo -n apps --force
```

Add `--with-source` if you also want the chart source fetched again first, for example after replacing a chart version in a registry.

While you experiment, you can stop Flux from interfering with `flux suspend helmrelease podinfo -n apps`. Resume it with `flux resume helmrelease podinfo -n apps` as soon as you are done, because a suspended release silently ignores every later commit.

## Step 8: Configure remediation so the next failure recovers

By default, helm-controller takes no action when an install or upgrade fails. `install.remediation.retries` and `upgrade.remediation.retries` both default to `0`, so the first failure leaves the release failed and the HelmRelease stalled. That default is safe, but it means a short registry outage can block a release until a person steps in.

The settings below retry a failed install three times, uninstalling between attempts. Failed upgrades are rolled back and retried three times. When `upgrade.remediation.retries` is greater than zero, `remediateLastFailure` defaults to `true` for upgrades, so the final failure also rolls back to the last good revision. For installs you set it yourself.

```yaml
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: podinfo
  namespace: apps
spec:
  interval: 10m
  timeout: 5m
  chart:
    spec:
      chart: podinfo
      version: "6.x"
      sourceRef:
        kind: HelmRepository
        name: podinfo
        namespace: flux-system
  install:
    remediation:
      retries: 3
      remediateLastFailure: true
  upgrade:
    remediation:
      retries: 3
      strategy: rollback
```

Raise `spec.timeout` if your workloads are slow to become ready. It defaults to `5m0s` and applies to each Helm action, and a chart with a long database migration hook can fail every upgrade on the default alone.

Rollback is not always what you want. Some teams prefer that a failed upgrade stays in place and is retried on a schedule, so they can see the broken state. The `RetryOnFailure` strategy does that: it retries failed upgrades every `retryInterval` (default `5m`) without any remediation.

```yaml
spec:
  upgrade:
    strategy:
      name: RetryOnFailure
      retryInterval: 2m
```

On `spec.install`, the same strategy retries a failed install with an upgrade after the interval. `retryInterval` cannot be combined with the default `RemediateOnFailure` strategy, so pick one approach per action.
