Kubernetes (Helm)
Deploy Syntho on Kubernetes using Helm charts.
Deploy
Prerequisites
Make sure you meet the prerequisites before deploying.
Get the Helm charts
Use the deployment-tools repository:
If you prefer release artifacts, use the deployment-tools releases matching the version that you are deploying:
https://github.com/syntho-ai/deployment-tools/releases
Download:
ray-helm-chart.tar.gzsyntho-ui-helm-chart.tar.gz
Create a namespace
kubectl create namespace synthoCreate an ImagePullSecret
kubectl create secret docker-registry syntho-cr-secret \
--namespace syntho \
--docker-server=<REGISTRY_HOST> \
--docker-username=<USERNAME> \
--docker-password=<PASSWORD>In both charts, reference it:
imagePullSecrets:
- name: syntho-cr-secretDeploy Ray
Ray provides distributed execution for heavy jobs.
The repository's helm/ray/chart/ contains the chart, including the KubeRay operator and RayCluster dependencies. helm/ray/crds/ contains the corresponding RayCluster, RayJob, and RayService CustomResourceDefinition manifests for cluster administrators. Use the CRDs supplied with your chart version; CRD installation requires cluster-level permissions.
Minimal settings in your Ray values file (commonly helm/ray/values.yaml):
Use a specific <version-number> for production. Avoid latest unless Syntho tells you to.
SynthoLicense: <license-key>
kuberay-operator:
imagePullSecrets:
- name: syntho-cr-secret
ray-operator:
imagePullSecrets:
- name: syntho-cr-secret
ray-cluster:
imagePullSecrets:
- name: syntho-cr-secret
image:
tag: <version-number>Deploy:
helm upgrade --install ray-cluster ./helm/ray/chart \
--values helm/ray/values.yaml \
--namespace synthoDeploy Syntho
Copy helm/syntho-ui/values.yaml to your own values file and configure it for your deployment. Keep that file separately and pass its path to Helm with --values.
The commands below use helm/syntho-ui/values.yaml; substitute your own file's path.
Set images
Set image repositories and tags to the versions provided by Syntho.
Use a specific <version-number> for production. Avoid latest unless Syntho tells you to.
frontend:
image:
repository: synthoregistry.azurecr.io/syntho-core-frontend
tag: <version-number>
backend:
image:
repository: synthoregistry.azurecr.io/syntho-core-backend
tag: <version-number>
core:
image:
repository: synthoregistry.azurecr.io/syntho-core-api
tag: <version-number>Set license key
Set the license key in the Syntho chart values:
SynthoLicense: <license-key>Use the same license key value as in helm/ray/values.yaml.
Configure external PostgreSQL (recommended)
Configure Redis
By default, the chart deploys Redis and exposes it as redis-svc.
Redis uses persistent storage and AOF for queues and ongoing job logs. Review Redis persistence and sizing before deployment. Choose the data volume size before the first installation; the default is 1Gi.
If you use an external Redis, update these values:
backend:
redis:
host: redis-svc
port: 6379
db: 0
core:
redis:
host: redis-svc
port: 6379
db: 1Frontend URL and Ingress:
frontend_url: <hostname>
frontend_protocol: https # or http
ingress:
enabled: true
className: nginx
hosts:
- host: <hostname>
paths:
- path: /
pathType: PrefixThe Ingress also routes backend traffic using path-based routing (typically GET /api/*).
You don’t need a separate Ingress for the backend.
Admin user:
backend:
user:
username: admin
email: admin@company.com
password: <password>Backend secret key:
backend:
secret_key: <random-string>Core API encryption key:
python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"core:
secret_key: <fernet-key>Ray address:
ray_address: ray-cluster-ray-headDeploy:
helm upgrade --install syntho-ui ./helm/syntho-ui \
--values helm/syntho-ui/values.yaml \
--namespace synthoVerify deployment
Check pods:
kubectl get pods -n synthoOpen the UI at your frontend_url.
If pods are not Ready, check logs:
kubectl logs -n syntho <pod-name>If this does not work, see Troubleshooting.
Back up PostgreSQL
Back up PostgreSQL Syntho application databases before first use to validate the process.
Redis persistence and sizing
The chart deploys a single Redis primary (redis.replicaCount: 1), not a high-availability Redis cluster. Redis holds queued tasks and complete ongoing job logs until their final archive is saved in PostgreSQL. Provision memory for all unarchived jobs, including long-running jobs and archive retries, plus queues and other application data.
Redis writes an Append-Only File (AOF) to the redis-data PVC mounted at /data. It uses appendfsync everysec, keeps fsync enabled during rewrites, and reloads persisted data when its pod is replaced using the same volume. The separate redis-claim PVC holds configuration, not job data.
redis.maxmemory
512mb
Memory budget for Redis data, not total process memory
redis.persistence.size
1Gi
Data PVC request for a new installation
redis.persistence.storageClassName
null
Inherit redis.storageClassName; set explicitly to select a storage class
redis.persistence.appendonly
true
Enable AOF persistence
redis.persistence.appendfsync
everysec
Flush policy: everysec, always, or no
redis.persistence.noAppendfsyncOnRewrite
false
Continue fsync during rewrites
redis.resources.requests
CPU 100m, memory 512Mi
Pod scheduling requests
redis.resources.limits
CPU 1, memory 2Gi
Container limits
redis.startupProbe
Period 10s, timeout 5s, failure threshold 180
Allow up to 30 minutes for initial data loading
redis.readinessProbe
Period 10s, timeout 5s, failure threshold 3
Remove an unready Redis pod from Service endpoints
redis.livenessProbe
Period 30s, timeout 5s, failure threshold 5
Restart an unresponsive Redis after startup
Only redis.replicaCount: 1 is supported; the chart rejects other replica counts. redis.persistence.storageClassName takes precedence over redis.storageClassName, which defaults to "default". Storage-class selection applies to both the data and configuration PVCs. For statically provisioned volumes, set the storage-class values to an empty string and configure redis.pvLabelKey to match the PV's pv-label-key label. Provide suitable volumes for both claims.
The noeviction policy prevents memory pressure from silently evicting queue or log keys. At the memory budget, Redis rejects writes. Leave substantial container memory headroom: AOF rewrites can approach twice the dataset's memory usage, plus process overhead. Keep resource requests at or below limits.
The default 1Gi data PVC is not a workload sizing recommendation. Allow space for the current AOF, rewritten files, concurrent writes, and any RDB snapshots. AOF files can be larger than the in-memory dataset. For example, to request 10Gi on a new installation, add this to your values file:
Select a StorageClass available in your cluster. Pod recovery on another node depends on the provisioner and volume topology; local/node-bound storage cannot simply follow the pod. Startup probes allow up to 30 minutes for Redis to load persisted data by default. For larger datasets or slower storage, adjust redis.startupProbe.failureThreshold and redis.startupProbe.periodSeconds to allow enough recovery time. All Redis probes require an exact PONG response, so a LOADING response is not readiness. The startup probe suppresses readiness and liveness checks until it succeeds. A checksum of the Redis ConfigMap triggers a pod restart when Redis configuration changes, and the init container copies the updated configuration to the configuration PVC. This checksum does not track unrelated chart settings or application Secrets.
For an existing installation, changing redis.persistence.size does not resize its PVC and can cause Helm to reject an immutable StatefulSet change. Follow Resize the Redis data PVC instead. For monitoring, see Redis health and capacity.
If you use external Redis, configure equivalent persistence, noeviction, capacity, and recovery on that service. These Helm values configure only the chart-managed Redis.
Next steps
Day-to-day commands: Operations
Upgrade procedure: Upgrade
Common issues: Troubleshooting
Last updated
Was this helpful?

