Upgrades & maintenance
How to upgrade your self-hosted Scalekit deployment and perform routine maintenance tasks.
Upgrade Scalekit
Section titled “Upgrade Scalekit”New versions are available through the Scalekit distribution portal. Upgrades are performed through the portal — the Distr agent running in your cluster picks up the change and applies it automatically. Database migrations run before the new pods start.
-
Select the new version in the portal
Section titled “Select the new version in the portal”Log in to the Scalekit distribution portal. In the left sidebar, click Deployments and select your deployment.
- Click Edit deployment
- Under Version, select the new version
- Click Update deployment
The portal notifies the Distr agent in your cluster. No manual
kubectlcommand is needed. -
Monitor the upgrade
Section titled “Monitor the upgrade”The Distr agent handles chart delivery and migration sequencing. Check its logs to follow progress:
Terminal window kubectl logs -l app=distr-agent -n <namespace> --tail=100 -f -
Verify the upgrade
Section titled “Verify the upgrade”Terminal window kubectl get pods -n <namespace>kubectl rollout status deployment/scalekit -n <namespace>
Roll back an upgrade
Section titled “Roll back an upgrade”If an upgrade causes issues, roll back using Helm:
# List revisionshelm history scalekit -n <namespace>
# Roll back to the previous revisionhelm rollback scalekit -n <namespace>Renew TLS certificates
Section titled “Renew TLS certificates”TLS certificates are managed through your cloud provider’s certificate manager (for example, GCP Certificate Manager) or cert-manager. Renew certificates through your provider — the gateway picks up the updated certificate automatically without restarting Scalekit.
Routine maintenance tasks
Section titled “Routine maintenance tasks”| Task | Frequency | Action |
|---|---|---|
| Review auth logs | Daily | Admin dashboard → Audit logs |
| Check pod health | Daily | kubectl get pods -n <namespace> |
| Rotate Redis cache | As needed | Automatic — expired keys are evicted by Redis TTL |
| Back up databases | Regular | Take consistent backups of your PostgreSQL databases |
| Rotate registry token | Before expiry | Create a new token in the portal, update artifact-registry-secret, restart pods |
| Rotate individual secrets | Per policy | Edit the specific Kubernetes secret directly and restart pods |