deploy(ttsreader): restore GX10 live TTS sidecars

This commit is contained in:
Andrew Stoltz
2026-06-19 18:51:12 -05:00
parent 77127d8ae0
commit fcfa58d18e
5 changed files with 249 additions and 1 deletions

View File

@@ -0,0 +1,104 @@
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"labels": {
"app.kubernetes.io/name": "ttsreader-kokoro",
"app.kubernetes.io/part-of": "flowercore"
},
"name": "ttsreader-kokoro",
"namespace": "fc-ttsreader"
},
"spec": {
"replicas": 1,
"revisionHistoryLimit": 3,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "ttsreader-kokoro"
}
},
"strategy": {
"type": "Recreate"
},
"template": {
"metadata": {
"labels": {
"app.kubernetes.io/name": "ttsreader-kokoro",
"app.kubernetes.io/part-of": "flowercore"
}
},
"spec": {
"containers": [
{
"image": "ghcr.io/remsky/kokoro-fastapi-cpu:latest",
"imagePullPolicy": "IfNotPresent",
"livenessProbe": {
"failureThreshold": 5,
"httpGet": {
"path": "/v1/audio/voices",
"port": 8880,
"scheme": "HTTP"
},
"initialDelaySeconds": 180,
"periodSeconds": 30,
"successThreshold": 1,
"timeoutSeconds": 15
},
"name": "kokoro",
"ports": [
{
"containerPort": 8880,
"name": "http",
"protocol": "TCP"
}
],
"readinessProbe": {
"failureThreshold": 18,
"httpGet": {
"path": "/v1/audio/voices",
"port": 8880,
"scheme": "HTTP"
},
"initialDelaySeconds": 30,
"periodSeconds": 10,
"successThreshold": 1,
"timeoutSeconds": 5
},
"resources": {
"limits": {
"cpu": "2000m",
"memory": "3Gi"
},
"requests": {
"cpu": "250m",
"memory": "1Gi"
}
},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File"
}
],
"dnsConfig": {
"nameservers": [
"10.43.0.10"
],
"options": [
{
"name": "ndots",
"value": "2"
}
],
"searches": [
"fc-ttsreader.svc.cluster.local",
"svc.cluster.local",
"cluster.local"
]
},
"dnsPolicy": "None",
"restartPolicy": "Always",
"schedulerName": "default-scheduler",
"terminationGracePeriodSeconds": 30
}
}
}
}