Skip to content

Kubernetes (Helm)

The official FynnCloud Helm chart (charts/fynncloud, v0.5.1) in FynnCloud-Infrastructure deploys the FynnCloud API server, SvelteKit web frontend, Redis, optional CloudNativePG PostgreSQL cluster, Gateway API (Gateway + HTTPRoute) or Ingress routing, S3 object storage, semantic embeddings, and a hostNetwork LiveKit WebRTC SFU.

  • Kubernetes 1.26+ and Helm 3.12+
  • CloudNativePG operator installed in the cluster (if using cnpg.enabled: true) or an external PostgreSQL 16+ database with the pgvector extension (cnpg.enabled: false)
  • Gateway API CRDs + controller (Envoy Gateway, Cilium, Istio, NGINX Gateway Fabric, or Traefik) — recommended over legacy Ingress
  • Pre-created Kubernetes Secrets for production JWT, encryption key, and object storage credentials

Create a dedicated Secret for server.existingSecret containing both jwt-secret and encryption-key (each at least 32 bytes):

Terminal window
kubectl create namespace fynncloud
kubectl -n fynncloud create secret generic fynncloud-server-secrets \
--from-literal=jwt-secret="$(openssl rand -base64 48)" \
--from-literal=encryption-key="$(openssl rand -base64 32)"

If using cnpg.enabled: true, also create the bootstrap password secret referenced by cnpg.bootstrap.initdb.secret.name (fynncloud-cnpg-initial-password by default) with username and password keys.


global:
imagePullSecrets: []
storageClass: "standard"
cnpg:
enabled: true
instances: 3
sslMode: "require"
storage:
size: 20Gi
redis:
enabled: true
persistence:
enabled: true
size: 5Gi
server:
replicas: 2
image:
repository: ghcr.io/fynncloudproject/server
tag: "1.0.0"
pullPolicy: IfNotPresent
existingSecret: "fynncloud-server-secrets"
migrate:
enabled: true
env:
APP_FRONTEND_URL: "https://cloud.example.com"
SERVER_CORS_ALLOWED_ORIGINS: "https://cloud.example.com"
STORAGE_MAX_CHUNK_SIZE: "100"
MAX_BODY_SIZE: "100"
extraEnv:
- name: SERVER_TRUSTED_PROXIES
value: "10.0.0.0/8,172.16.0.0/12"
storage:
enabled: false # disabled when using S3 across multiple replicas
web:
replicas: 2
image:
repository: ghcr.io/fynncloudproject/web
tag: "1.0.0"
pullPolicy: IfNotPresent
s3:
enabled: true
bucket: "my-fynncloud-bucket"
endpoint: "https://s3.eu-central-1.amazonaws.com"
region: "eu-central-1"
accessKeyId: "AKIA..."
secretAccessKey: "..."
httpRoute:
enabled: true
hostnames:
- cloud.example.com
parentRefs:
- name: my-gateway
namespace: gateway-system
sectionName: https
autoscaling:
server:
enabled: true
minReplicas: 2
maxReplicas: 8
web:
enabled: true
minReplicas: 2
maxReplicas: 4
podDisruptionBudget:
server:
enabled: true
minAvailable: 1
web:
enabled: true
minAvailable: 1
livekit:
enabled: true
hostNetwork: true
rtc:
udpPort: 7882
tcpPort: 7881
useExternalIP: true
turn:
enabled: true
udpPort: 3478
domain: "rtc.example.com"
auth:
existingSecret: "fynncloud-livekit-secret"

Install or upgrade with Helm:

Terminal window
helm upgrade --install fynncloud ./charts/fynncloud \
--namespace fynncloud \
--create-namespace \
-f values-prod.yaml

Value Path Default Notes
cnpg.enabled / cnpg.instances true / 3 Deploys a CloudNativePG Cluster
cnpg.storage.size 1Gi Increase for production databases
redis.enabled / redis.persistence.size true / 5Gi Runs Redis 7 Alpine with AOF persistence (--appendonly yes)
externalRedis.{host,port,url} "" / 6379 / "" Used when redis.enabled: false
server.replicas 1 Scaling above 1 replica across nodes requires shared storage: either S3 (s3.enabled: true, recommended) or a ReadWriteMany PVC (server.storage.accessMode: ReadWriteMany)
server.existingSecret "" Secret containing jwt-secret and encryption-key
server.migrate.enabled true Runs ./FynnCloudServer migrate -y as an ArgoCD-friendly Sync hook
server.storage.{enabled,size,accessMode} true / 5Gi / ReadWriteOnce PVC for filesystem storage; set accessMode: ReadWriteMany (NFS/CephFS/Longhorn/EFS) for multi-replica without S3, or enabled: false when using S3
web.replicas 1 SvelteKit frontend pods
gateway.enabled / httpRoute.enabled false / false Gateway API routing: auto-routes /api → server, / → web (and /livekit when LiveKit is enabled)
autoscaling.{server,web}.enabled false HorizontalPodAutoscaler (CPU / memory)
podDisruptionBudget.{server,web}.enabled false Protects availability during node drains
networkPolicy.enabled false Restricts pod-to-pod traffic inside the namespace
embeddings.{enabled,url,model,existingSecret} false / "" / jinaai/jina-clip-v2 Wires OpenAI-compatible semantic search embeddings
livekit.enabled / livekit.hostNetwork false / true Runs livekit/livekit-server:v1.13.11 with strategy: Recreate and terminationGracePeriodSeconds: 300 so media UDP/TCP bypasses K8s CNI SNAT

For LiveKit firewall ports and TURN/TLS configuration, see LiveKit WebRTC SFU & TURN.