Operations
Use this page for day-to-day operations on a Kubernetes (Helm) deployment.
Common operations
Stop (scale down)
This stops the UI/API pods without uninstalling Helm releases.
kubectl scale deployment/frontend -n syntho --replicas=0
kubectl scale deployment/backend -n syntho --replicas=0
kubectl scale deployment/core -n syntho --replicas=0Scaling down interrupts running jobs. Stop workloads first.
Start (scale up)
Scale back to your desired replica counts:
kubectl scale deployment/frontend -n syntho --replicas=<n>
kubectl scale deployment/backend -n syntho --replicas=<n>
kubectl scale deployment/core -n syntho --replicas=<n>Check rollout status
kubectl rollout status deployment/frontend -n syntho
kubectl rollout status deployment/backend -n syntho
kubectl rollout status deployment/core -n synthoRestart pods
Check pods
Redis health and capacity
For the chart-managed Redis, using namespace syntho:
Check that aof_enabled is 1 and aof_last_write_status and aof_last_bgrewrite_status are ok. A rewrite may temporarily report aof_rewrite_in_progress:1. Monitor memory, available disk space, and application errors reporting rejected Redis writes or failed archival. Do not delete AOF files to reclaim space.
Increasing disk capacity does not increase Redis's in-memory data budget. If writes are rejected at redis.maxmemory, review that budget and the container memory limit together, leaving headroom for rewrites and process overhead.
Resize the Redis data PVC
The chart defaults to a 1Gi data claim. To increase an existing claim to, for example, 10Gi, expand the bound PVC, not the StatefulSet claim template. Replace the namespace and resource names below if your deployment uses different names.
Back up the Redis data volume before storage maintenance. Kubernetes supports expansion, not shrinking. Do not delete the PVC or PV as a resize workaround. A restart may be needed for filesystem expansion; plan for a maintenance window because a single Redis primary is unavailable while restarting.
Identify the data claim and its StorageClass:
Use
redis-data-redis-0, not the separateredis-claim-redis-0configuration claim. Confirm the data PVC isBound, the StorageClass hasallowVolumeExpansion: true, and the CSI driver supports volume and filesystem expansion. Check provider capacity and quota. If expansion is unsupported, contact your cluster administrator to plan a storage migration instead. A statically provisioned volume also requires the administrator to expand its backing storage; editing a PVC alone does not enlarge the physical disk.Increase the PVC request:
Monitor the resize:
Stop watching with
Ctrl+C. Check conditions and events if it does not complete:If the driver supports online filesystem expansion, no restart is needed. If it requires remounting and reports
FileSystemResizePending, pause new work and arrange a maintenance window before restarting Redis:Investigate provisioning errors before restarting; a restart cannot resolve unsupported expansion or exhausted storage quotas.
Verify both Kubernetes capacity and the mounted filesystem:
Confirm the request and capacity are at least
10Gi, the filesystem has grown (usable space will be slightly lower), and Redis is healthy before resuming work.
Keep redis.persistence.size at the original StatefulSet template value (1Gi for a default installation). StatefulSet volumeClaimTemplates are immutable; changing this Helm value does not expand existing claims and can prevent subsequent Helm operations. The existing PVC remains expanded even though the template retains its original size. If you need to align the template for future claims, arrange a separate administrator-managed StatefulSet recreation preserving the existing PVCs. Do not change the storage class or PV selector as part of a resize.
Changing a StorageClass requires a separate storage migration, not a resize. Existing bound claims cannot switch classes. Work with your cluster administrator to back up and restore data onto suitable volumes, checking reclaim policy, node affinity, attachment behavior, and recovery before maintenance.
Logs
Follow logs
Save logs
Last updated
Was this helpful?

