Last updated: 2026-08-11
Thanks to @zucher for the PR and Wiki guide Add Helm chart #157
Ensure you have the following tools installed:
- Helm: Install Helm
- kubectl: Configured to communicate with your Kubernetes cluster
- Git: Installed on your system
Verify the Nvidia GPU operator is correctly installed on your Kubernetes cluster (see Installing the NVIDIA GPU Operator)
Clone the repository containing the Kokoro-FastAPI Helm chart.
git clone https://github.com/remsky/Kokoro-FastAPI.git
cd Kokoro-FastAPI/charts/kokoro-fastapiNavigate to the directory with the Helm chart and install it using Helm.
helm install kokoro-fastapi . --namespace <target-namespace> --create-namespaceThis command installs the chart in the target-namespace namespace, creating the namespace if it doesn't exist.
Check that your application is running by listing the resources in the namespace.
kubectl get all -n <target-namespace>If you need to customize the installation, you can use a custom values.yaml file or override specific values directly via command-line arguments.
Create your own values.yaml file with custom configurations and install the chart using it:
helm install kokoro-fastapi . --namespace <target-namespace> --create-namespace -f my-custom-values.yamlHere is an example of a simple values.yaml file:
kokoroTTS:
replicaCount: 2
repository: ghcr.io/remsky/kokoro-fastapi-gpu
tag: latest
pullPolicy: IfNotPresent
ingress:
enabled: true
className: nginx
hosts:
- host: my-kokoro-endpoint.dev
paths:
- path: /
pathType: Prefix
...See values.yaml for the full set, and examples/ for AKS and GPU operator configs.
You can override specific values directly in the Helm install command:
helm install kokoro-fastapi . \
--namespace <target-namespace> \
--create-namespace \
--set kokoroTTS.replicaCount=2 \
--set kokoroTTS.tag=latestTo update your existing deployment with new configurations, use the Helm upgrade command:
helm upgrade kokoro-fastapi . -n <target-namespace> -f my-custom-values.yamlOr using directly overridden values:
helm upgrade kokoro-fastapi . \
-n <target-namespace> \
--set kokoroTTS.replicaCount=1- Rollback: If something goes wrong, you can rollback to the previous version:
helm rollback kokoro-fastapi -n <target-namespace>