For the complete documentation index, see llms.txt. Markdown versions are available by appending .md to documentation URLs.

Upgrade SigNoz Helm Chart to 1.0.0 with ClickHouse Keeper

Self-Hosted Community - This page applies to self-hosted SigNoz without a license.
Self-Hosted Enterprise - This page applies to self-hosted SigNoz with an active license.

SigNoz v0.152.0 ships with SigNoz Helm Chart 1.0.0, a breaking release for SigNoz on Kubernetes installed with the SigNoz Helm Chart. This guide upgrades from SigNoz Helm Chart 0.151.0 or earlier and keeps your data.

Who needs to act

If youThen
Run the bundled ClickHouse (clickhouse.enabled: true)Keep ZooKeeper for the upgrade before upgrading
Upgrade with your own values fileRender the SigNoz Helm Chart with it before upgrading
Run the bundled PostgreSQL (postgresql.enabled: true)Check that the backup Job covers your setup before upgrading
Deploy with Argo CDRead the Argo CD facts before the first sync
Deploy with rendered manifests, or upgrade with --no-hooks or Terraform's disable_webhooks = trueRun the upgrade hooks yourself before upgrading
Pull images from a private registry or a mirror, or run an air-gapped clusterMirror the new images and set the ClickHouse Operator's image keys before upgrading

For every moved value, changed default and renamed object, see the SigNoz Helm Chart 1.0.0 upgrade notes.

Upgrade Self-Hosted SigNoz

Before you start:

  • Run the commands in this guide on the machine where you use helm and kubectl.
  • If you are more than one release behind, check the Upgrade Path Tool for required stops before you move to v0.152.0.

Step 1: Keep ZooKeeper for the upgrade

With an external ClickHouse (clickhouse.enabled: false), skip to step 2.

Existing installations with the bundled ClickHouse run ZooKeeper. Add these values to your values file to keep it for the upgrade:

zookeeper:
  enabled: true
keeper:
  enabled: false

Step 2: Render the SigNoz Helm Chart with your values

Render the SigNoz Helm Chart with your values. The render runs on your machine and leaves the cluster as it is:

helm repo update
helm template <release> signoz/signoz --version 1.0.0 -n <namespace> -f <values>

Verify these values:

  • <release>: Your Helm release name (helm list -n <namespace>).
  • <namespace>: The namespace the release runs in.
  • <values>: The path to your values file.

If your values set a key that moved, the render stops and lists every such key, except the two kinds below:

Error: execution error at (signoz/templates/validate.yaml:22:4): 2 values must change before the chart can be installed:
- `signoz.additionalArgs` has moved to `signoz.extraArgs`: the same list of arguments.
- `signoz.podAnnotations` has moved to `signoz.pod.annotations`: the same map of annotations.

Move each key and render again until no Error: line is printed.

The render catches moved values only:

  • Changed defaults apply without an error (set the old value to keep one).
  • Setup-specific actions apply only when a row matches your setup.

For each component you set values for, open its sections in the upgrade notes:

ComponentMoved valuesChanged defaultsSetup-specific actions
ClickHouseMoved valuesChanged defaultsSetup-specific actions
ClickHouse Keeper and ZooKeeperMoved valuesChanged defaultsSetup-specific actions
ClickHouse OperatorMoved values, System log tablesNoneRenamed objects
SigNozMoved valuesNoneSetup-specific actions
SigNoz OTel CollectorMoved valuesNoneSetup-specific actions
Schema migratorMoved valuesNoneSetup-specific actions

If the render stops on no coordination store for ClickHouse, see Troubleshooting.

Step 3: Prepare your setup

Before you upgrade, do the section for each setup that matches yours:

If none matches, go on to step 4.

Step 4: Upgrade the release

Upgrade the release to SigNoz Helm Chart 1.0.0:

helm upgrade <release> signoz/signoz --version 1.0.0 -n <namespace> -f <values>

Helm prints Release "<release>" has been upgraded. Happy Helming!. If the upgrade stops, find its error under Troubleshooting.

Step 5: Verify the upgrade

List the Pods, the Jobs and the ClickHouseInstallation:

kubectl get pods -n <namespace>
kubectl get jobs -n <namespace>
kubectl get chi -n <namespace> -l app.kubernetes.io/instance=<release> -o wide

The upgrade is complete when:

  • The Helm notes name the coordination store, such as ClickHouse coordinates through ZooKeeper.
  • The signoz-telemetrystore-migrator-<revision> Job completes, where <revision> is the REVISION that Helm printed.
  • Every Pod is Running and Ready. Each Pod is recreated once.
  • With the bundled ClickHouse, the ClickHouseInstallation shows STATUS Completed and VERSION 0.27.4.
  • Your data is there: sign in to SigNoz with your existing user, and confirm your dashboards, alerts and recent telemetry are present.
  • New telemetry arrives. If it does not, see The SigNoz OTel Collector is Ready but refuses data.

If the PostgreSQL Pod stays not Ready, see Why does the PostgreSQL Pod stay not Ready after the upgrade?

Back up the bundled PostgreSQL database

SigNoz Helm Chart 1.0.0 keeps the bundled PostgreSQL database on its PVC. Before the upgrade, the backup Job <release>-postgresql-upgrade-backup dumps the database to the PVC, and PostgreSQL loads the dump on its first start.

No action is needed with any of these:

  • The default settings and a running PostgreSQL Pod
  • A database already on the PVC
  • postgresql.auth.existingSecret or a password in your values
  • postgresql.replicaCount: 0

Otherwise, check whether your setup needs more than the backup Job:

If youThen
Have the PostgreSQL Pod down or unreachable, for example scaled to 0 with kubectl scaleStart it before upgrading. Otherwise the backup Job fails and the upgrade stops before anything changes. With default values on containerd, a Pod scaled to 0 on SigNoz Helm Chart 0.151.0 has already lost its database, so the backup Job dumps an empty one
Have a large databaseRaise postgresql.upgradeBackupHook.activeDeadlineSeconds (240 seconds by default). At 300 or more, also raise helm upgrade --timeout
Mount your own /docker-entrypoint-initdb.dTake the dump and load it by hand, and set postgresql.upgradeBackupHook.enabled: false. Otherwise the upgrade stops, because the dump would not be loaded
Set postgresql.persistence.mountPath to a path other than /var/lib/postgresql, set postgresql.persistence.dataDir to a path outside it, or mount your own volume at the data directoryCheck where the data directory lives. If it is not on a volume, take the dump by hand before upgrading: the backup Job does not run
Set postgresql.persistence.enabled: falseExpect an empty database after the upgrade. The database is not on a persistent volume and does not survive the upgrade, as with any Pod restart. The backup Job does not run, and nothing loads a dump afterwards
Deploy with Argo CD or rendered manifests, upgrade with --no-hooks or Terraform's disable_webhooks = true, or set postgresql.upgradeBackupHook.enabled: false or a ReadWriteOncePod PVCTake the dump by hand before upgrading: the backup Job does not run. With rendered manifests, you can apply the backup Job yourself instead, as in Run the upgrade hooks yourself

Take the PostgreSQL dump by hand

Right before the upgrade:

  1. Dump the database to the PostgreSQL PVC. Run this from a bash shell:

    kubectl -n <namespace> exec <release>-postgresql-0 -- sh -c '
      awk '"'"'$5 == "/var/lib/postgresql/data" {f=1} END {exit !f}'"'"' /proc/self/mountinfo || { echo "data is already on the claim, nothing to do"; exit 0; }
      mkdir -p /var/lib/postgresql/backups &&
      { echo "BEGIN;" && pg_dump -U <user> <db> && echo "COMMIT;"; } > /var/lib/postgresql/backups/.pre-upgrade.tmp &&
      mv /var/lib/postgresql/backups/.pre-upgrade.tmp /var/lib/postgresql/backups/pre-upgrade.sql &&
      { [ "$(id -u)" != 0 ] || chown -R "$(id -u postgres):$(id -g postgres)" /var/lib/postgresql/backups; }'

    Verify these values:

    • <user>: The PostgreSQL user, postgresql.auth.username in your values (default signoz).
    • <db>: The PostgreSQL database, postgresql.auth.database in your values (default signoz).

    If it prints data is already on the claim, nothing to do, the database is already on the PVC, and the upgrade keeps it there.

  2. Check that the dump is complete. The command prints COMMIT;:

    kubectl -n <namespace> exec <release>-postgresql-0 -- tail -n 1 /var/lib/postgresql/backups/pre-upgrade.sql
  3. Set postgresql.upgradeBackupHook.enabled: false in your values, then upgrade as in step 4 or sync, with no changes in SigNoz in between.

After the upgrade, the PostgreSQL Pod is Ready and its log shows:

Loaded /var/lib/postgresql/backups/pre-upgrade.sql into database <db> and renamed it to /var/lib/postgresql/backups/pre-upgrade.sql.loaded

With your own /docker-entrypoint-initdb.d, load the dump by hand instead.

With Argo CD

Argo CD renders the SigNoz Helm Chart with helm template and runs its pre-install and pre-upgrade hooks as PreSync hooks on every sync (Argo CD Helm hooks).

  • Set the step 1 values before the first sync. The PreSync CRD hook installs the ClickHouse Keeper CRD, so a sync on default values does not stop with no matches for kind: it moves ClickHouse to an empty ClickHouse Keeper. To recover, see Did ClickHouse switch to an empty ClickHouse Keeper?
  • With bundled PostgreSQL, take the dump by hand before the first sync. The backup Job renders only for a Helm upgrade, so it is not in the rendered manifests.
  • <release>-clickhouse-operator-upgrade and <release>-clickhouse-operator-crd-install run as PreSync hooks. Nothing to do by hand.
  • The schema migrator Job is always signoz-telemetrystore-migrator-1, because helm template renders revision 1. The SigNoz Helm Chart sets argocd.argoproj.io/sync-options: Force=true,Replace=true on it, so each sync replaces it.
  • Helm's notes are not shown. Roll back uses helm rollback and was not tested with Argo CD.

Run the upgrade hooks yourself

With rendered manifests, --no-hooks, or Terraform's helm_release with disable_webhooks = true, run the upgrade hooks yourself.

helm upgrade runs these hook Jobs in order. When a hook does not run, do its work by hand:

Hook JobTurned off byDo it by hand
<release>-postgresql-upgrade-backup, with bundled PostgreSQLpostgresql.upgradeBackupHook.enabled: falseTake the PostgreSQL dump by hand before upgrading
<release>-clickhouse-operator-upgradeclickhouse.operatorUpgradeHook.enabled: falseDelete the old ClickHouse Operator Deployment right before the upgrade
<release>-clickhouse-operator-crd-install. Allow Helm to create its ClusterRolealtinity-clickhouse-operator.crdHook.enabled: falseApply the CRDs before upgrading, and before each ClickHouse Operator version change
  • With --no-hooks or Terraform's disable_webhooks = true, none of the three runs. Do all three by hand.
  • With rendered manifests (helm template --is-upgrade, kubectl apply) or a GitOps tool that skips Helm hooks, apply every hook object in helm.sh/hook-weight order, lowest first. Let each Job finish before you apply the next weight, then apply the rest. Delete the hook objects before a SigNoz Helm Chart version that changes them.

After the upgrade, kubectl get crd | grep altinity lists four CRDs, clickhousekeeperinstallations.clickhouse-keeper.altinity.com among them.

Apply the CRDs by hand

Before the upgrade, and again whenever the ClickHouse Operator version changes, run:

helm pull altinity-clickhouse-operator --repo https://helm.altinity.com --version 0.27.4 --untar --untardir ./altinity
kubectl apply --server-side --force-conflicts -f ./altinity/altinity-clickhouse-operator/crds/

Pull images from a private registry

Mirror the new images

Mirror the images that are new in SigNoz Helm Chart 1.0.0:

  • clickhouse/clickhouse-keeper:25.12.5
  • altinity/clickhouse-operator:0.27.4
  • altinity/metrics-exporter:0.27.4
  • registry.k8s.io/kubectl:v1.36.3, for the hooks
  • signoz/signoz-otel-collector:v0.144.15, with clickhouse.logs.system.enabled

Set the ClickHouse Operator's image keys

Set their own keys before you upgrade:

altinity-clickhouse-operator:
  operator:
    image:
      registry: <registry>
  metrics:
    image:
      registry: <registry>
  crdHook:
    image:
      repository: <registry>/kubectl
    imagePullSecrets:
      - name: <pull-secret>
  imagePullSecrets:
    - name: <pull-secret>

Verify these values:

  • <registry>: Your registry host, such as my.registry.
  • <pull-secret>: The name of the Secret that holds your registry credentials.

Check the other registry changes

  • PostgreSQL and its backup Job take only postgresql.image.registry, postgresql.image.repository and postgresql.imagePullSecrets.
  • ZooKeeper takes pull secrets only from global.imagePullSecrets or zookeeper.image.pullSecrets.
  • global.imageRegistry now replaces a registry written at the front of a repository: with repository: docker.io/signoz/signoz and global.imageRegistry: my.registry, the image is my.registry/signoz/signoz.
  • Pull secrets are now listed on each Pod instead of on ServiceAccounts. If a Pod of yours runs under one of those ServiceAccounts, such as <release>-signoz, list the pull secrets in its spec.

After the upgrade, kubectl get pods -n <namespace> shows no Pod in ImagePullBackOff or ErrImagePull.

Migrate to ClickHouse Keeper

The bundled ZooKeeper is deprecated. To move to ClickHouse Keeper, follow Migrate ZooKeeper to ClickHouse Keeper in SigNoz Helm Chart, and keep zookeeper.enabled: true until you have migrated.

Roll back

A plain helm rollback fails on the ClickHouse Operator Deployment's immutable selector, so the procedure deletes that Deployment first. The rollback needs no values file and runs no hooks.

  1. Confirm that ClickHouse is still on ZooKeeper. This section applies only then:

    kubectl -n <namespace> get chi -l app.kubernetes.io/instance=<release> -o jsonpath='{.items[0].spec.configuration.zookeeper}'

    It prints the ZooKeeper hosts.

  2. Pick the last SigNoz Helm Chart 0.151.0 revision from helm history:

    helm history <release> -n <namespace>
  3. If ClickHouse Keeper is on, delete its ClickHouseKeeperInstallation first. Skip this step if the first command lists nothing:

    kubectl -n <namespace> get chk
    kubectl -n <namespace> delete clickhousekeeperinstallation <release>-keeper --wait

    Verify these values:

    • <release>-keeper: The name from the listing. It differs if keeper.fullnameOverride is set.

    The ClickHouse Keeper PVC stays. Nothing is lost: ClickHouse is on ZooKeeper, and this ClickHouse Keeper holds no data.

  4. Delete the ClickHouse Operator Deployment, roll back, and watch the ClickHouseInstallation until it shows Completed:

    kubectl -n <namespace> delete deployment <release>-clickhouse-operator
    helm rollback <release> <revision> -n <namespace>
    kubectl -n <namespace> get chi -w

    Verify these values:

    • <revision>: The last SigNoz Helm Chart 0.151.0 revision in helm history.
    • <release>-clickhouse-operator: If you set altinity-clickhouse-operator.fullnameOverride, use that name instead. With altinity-clickhouse-operator.namespaceOverride, the Deployment is in that namespace.

    While it runs:

    • The older ClickHouse Operator restarts ClickHouse once.
    • ClickHouse, the SigNoz UI and queries are unavailable until ClickHouse is back, and ZooKeeper, SigNoz and the SigNoz OTel Collector restart once.
  5. Check that new telemetry arrives, as in step 5. If it does not, see The SigNoz OTel Collector is Ready but refuses data.

After the rollback:

  • The four ClickHouse Operator CRDs, the ClickHouse Keeper CRD among them, stay at the newer version. The older ClickHouse Operator works with them.
  • If ClickHouse Keeper was on, its PVC stays.
  • To upgrade again, run step 4 with your SigNoz Helm Chart 1.0.0 values file. Do not use --reuse-values: the rolled-back release holds the SigNoz Helm Chart 0.151.0 values.

Troubleshooting

no matches for kind "ClickHouseKeeperInstallation" in version "clickhouse-keeper.altinity.com/v1"

In step 4, the first helm upgrade of an existing installation stops with this error and ensure CRDs are installed first. Nothing in the cluster changed.

Cause: keeper.enabled is at its default, and the cluster lacks the ClickHouse Keeper CRD.

Fix: Set the values in Step 1, then run step 4 again.

After the fix, the upgrade completes and the Helm notes print ClickHouse coordinates through ZooKeeper.

no coordination store for ClickHouse

In step 2, helm template stops with this error, or in step 4, helm upgrade does.

Cause: Your values set keeper.enabled: false and name no ZooKeeper: zookeeper.enabled is not true, and clickhouse.externalZookeeper is unset.

Fix: Set zookeeper.enabled: true, keeper.enabled: true or clickhouse.externalZookeeper.servers (see Step 1), then run step 2 again.

After the fix, the render passes, and after step 4 the Helm notes name the store, such as ClickHouse coordinates through ZooKeeper.

Did ClickHouse switch to an empty ClickHouse Keeper?

After step 4 or a sync, StatefulSet <release>-zookeeper is gone and replicated tables are read-only. After step 4, the Helm notes also print ClickHouse coordinates through ClickHouse Keeper at keeper-<release>-keeper:2181.

Cause: The existing installation was upgraded or synced without zookeeper.enabled: true, so a new, empty ClickHouse Keeper replaced ZooKeeper.

Fix: Follow the recovery steps in Migrate ZooKeeper to ClickHouse Keeper in SigNoz Helm Chart. The ZooKeeper PVCs are kept.

After the fix, StatefulSet <release>-zookeeper is back.

cannot patch "<release>-clickhouse-operator" with kind Deployment

In step 4, helm upgrade stops with this error, or a helm rollback to SigNoz Helm Chart 0.151.0 does.

Cause: The ClickHouse Operator Deployment's selector changed and is immutable, and the old Deployment is still in place. This happens with --no-hooks, with clickhouse.operatorUpgradeHook.enabled: false, and on any helm rollback to SigNoz Helm Chart 0.151.0.

Fix: Delete the Deployment, then run step 4, or the rollback, again.

  • Before an upgrade: this selector matches it under any old name, with clickhouse.namespace and clickhouse.nameOverride in place of <namespace> and clickhouse when set:
kubectl -n <namespace> delete deployment -l app.kubernetes.io/name=clickhouse,app.kubernetes.io/instance=<release>,app.kubernetes.io/component
  • Before a rollback: this selector matches only the SigNoz Helm Chart 0.151.0 Deployment, so it finds nothing. Delete the newer Deployment by name, as in Roll back.

After the fix, the upgrade or rollback completes.

pre-upgrade hooks failed with job <release>-postgresql-upgrade-backup failed

In step 4, helm upgrade stops with BackoffLimitExceeded or DeadlineExceeded for the backup Job. Nothing else in the cluster changed.

Cause: One of these:

  • BackoffLimitExceeded with ERROR: cannot connect to Postgres at: a wrong password or an unreachable PostgreSQL.
  • BackoffLimitExceeded with ERROR: the release mounts its own /docker-entrypoint-initdb.d: your own init scripts.
  • DeadlineExceeded: the Job did not finish in postgresql.upgradeBackupHook.activeDeadlineSeconds (240 by default), for example while PostgreSQL is scaled to 0 or the database is large.

Fix: Read the Job's log, fix the cause it names, and run step 4 again. Or take the dump by hand, set postgresql.upgradeBackupHook.enabled: false, and run step 4 again.

kubectl -n <namespace> logs job/<release>-postgresql-upgrade-backup

After the fix, the Job's log ends with Dumped database <db> to /claim/backups/pre-upgrade.sql. or Nothing to back up.

Why does the PostgreSQL Pod stay not Ready after the upgrade?

After step 4, the PostgreSQL Pod runs but is not Ready, with the event Startup probe failed and pre-upgrade.sql has not been loaded.

Cause: The dump on the PVC was not loaded, because either:

  • You mount your own /docker-entrypoint-initdb.d.
  • The load stopped: the dump is incomplete (does not end with COMMIT;), it failed to load, or the load was interrupted.

Fix: When the load failed, the previous container's log gives the reason and prints the load commands with your names filled in:

kubectl -n <namespace> logs <release>-postgresql-0 -c postgres --previous

Load the dump, then rename it. <user> and <db> are the same as in Take the PostgreSQL dump by hand:

kubectl -n <namespace> exec <release>-postgresql-0 -c postgres -- psql -v ON_ERROR_STOP=1 -U <user> -d <db> -f /var/lib/postgresql/backups/pre-upgrade.sql
kubectl -n <namespace> exec <release>-postgresql-0 -c postgres -- mv /var/lib/postgresql/backups/pre-upgrade.sql /var/lib/postgresql/backups/pre-upgrade.sql.loaded
  • If the dump is incomplete, load a complete dump in the first command instead.
  • If the load stopped on an SQL error, fix the file first, then load it.
  • If the database was already on the PVC before the upgrade, skip the load and rename the dump to pre-upgrade.sql.unused instead.

After the fix, the Pod becomes Ready, and you can sign in to SigNoz with your existing user.

The SigNoz OTel Collector is Ready but refuses data

After the upgrade or a rollback, the SigNoz OTel Collector Pod is Ready, but agents cannot connect on ports 4317 and 4318. Its log shows failed to apply config with cannot configure clickhouse logs exporter: dial tcp ...:9000: connect: connection refused.

Cause: As the log shows, the SigNoz OTel Collector received its configuration from SigNoz while ClickHouse was restarting, and the configuration failed to apply. The SigNoz OTel Collector may recover by itself, or not at all.

Fix: Restart the SigNoz OTel Collector:

kubectl -n <namespace> delete pod -l app.kubernetes.io/component=otel-collector

After the fix, new telemetry arrives.

Getting help

Is this page helpful

Last updated—November 25, 2026