Kubernetes
Prerequisites
- Must be upgrading from < 0.76.0 and not installing from scratch
Upgrading
- Replace the yaml key
queryServicewithsignozin yourmy-values.yamlfile.
From
queryService:
To
signoz:
- Verify Existing PVC
kubectl get pvc -n platform -l app.kubernetes.io/component=query-service
If no PVCs are found, skip to step 4.
- Configure Migration
Update your my-values.yaml:
signoz:
initContainers:
migration:
enabled: true
image:
registry: docker.io
repository: busybox
tag: 1.35
command:
- /bin/sh
- -c
- |
echo "Running migration..."
cp -pv /var/lib/old-signoz/signoz.db /var/lib/signoz/signoz.db
echo "Migration complete..."
additionalVolumes:
- name: old-signoz-db
persistentVolumeClaim:
claimName: signoz-db-my-release-signoz-query-service-0
additionalVolumeMounts:
- name: old-signoz-db
mountPath: /var/lib/old-signoz
Note that the
claimNameis the name of the PVC for the oldquery-servicei.e.signoz-db-my-release-signoz-query-service-0. Replace it with the name of the PVC for your release. You can get the claim name from Step 1.
- Update and Deploy
helm repo add signoz https://charts.signoz.io
helm repo update signoz
helm upgrade --install my-release signoz/signoz --namespace platform --values my-values.yaml
For more details on the SigNoz upgrades on Kubernetes, please refer to the Operate SigNoz on Kubernetes guide.
- Verify Deployment
kubectl get pods -n platform
Look for my-release-signoz-0 running successfully.
- Disable Migration
Update my-values.yaml:
signoz:
initContainers:
migration:
enabled: false
Then reapply:
helm upgrade --install my-release signoz/signoz --namespace platform --values my-values.yaml
Updating SigNoz Frontend Port
Update your my-values.yaml:
signoz:
ingress:
enabled: true
hosts:
- host: signoz.example.com
paths:
- path: /
pathType: ImplementationSpecific
port: 8080
(Optional) Deleting old unused volumes
kubectl delete pvc -n platform -l app.kubernetes.io/component=query-service
kubectl delete pvc -n platform -l app.kubernetes.io/component=alertmanager
Docker Standalone
Prerequisites
- Must be on v0.70.0 before upgrading
- If not on v0.70.0, first upgrade to v0.70.0
Upgrading
Follow the standard upgrade procedure.
The upgrade will replace three containers (signoz-query-service, signoz-frontend, and signoz-alertmanager)
with a single container (signoz).
Updating SigNoz Frontend Port
The upgrade will automatically update the frontend port to 8080. If you have a reverse proxy in front of SigNoz, update its configuration to point to the new port.
(Optional) Deleting old unused volumes
docker volume rm signoz-alertmanager
Docker Swarm
Prerequisites
- Must be on v0.70.0 before upgrading
- If not on v0.70.0, first upgrade to v0.70.0
Upgrading
Follow the standard upgrade procedure.
The upgrade will replace three services (signoz_query-service, signoz_frontend, and signoz_alertmanager)
with a single service (signoz_signoz).
Updating SigNoz Frontend Port
The upgrade will automatically update the frontend port to 8080. If you have a reverse proxy in front of SigNoz, update its configuration to point to the new port.
(Optional) Deleting old unused volumes
docker volume rm signoz-alertmanager
In case of Upgrade Failure
Reach out to us on Slack.