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,92 @@
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"labels": {
"app.kubernetes.io/name": "ttsreader-biblical",
"app.kubernetes.io/part-of": "flowercore"
},
"name": "ttsreader-biblical",
"namespace": "fc-ttsreader"
},
"spec": {
"replicas": 1,
"revisionHistoryLimit": 3,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "ttsreader-biblical"
}
},
"strategy": {
"type": "Recreate"
},
"template": {
"metadata": {
"labels": {
"app.kubernetes.io/name": "ttsreader-biblical",
"app.kubernetes.io/part-of": "flowercore"
}
},
"spec": {
"containers": [
{
"image": "localhost/fc-biblical-tts:v20260619-aiabs2",
"imagePullPolicy": "Never",
"livenessProbe": {
"failureThreshold": 3,
"httpGet": {
"path": "/health",
"port": 10402,
"scheme": "HTTP"
},
"initialDelaySeconds": 30,
"periodSeconds": 30,
"successThreshold": 1,
"timeoutSeconds": 5
},
"name": "biblical-tts",
"ports": [
{
"containerPort": 10402,
"name": "http",
"protocol": "TCP"
}
],
"readinessProbe": {
"failureThreshold": 6,
"httpGet": {
"path": "/health",
"port": 10402,
"scheme": "HTTP"
},
"initialDelaySeconds": 5,
"periodSeconds": 10,
"successThreshold": 1,
"timeoutSeconds": 5
},
"resources": {
"limits": {
"cpu": "1000m",
"memory": "512Mi"
},
"requests": {
"cpu": "100m",
"memory": "128Mi"
}
},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File"
}
],
"restartPolicy": "Always",
"schedulerName": "default-scheduler",
"securityContext": {
"fsGroup": 1654,
"runAsNonRoot": true,
"runAsUser": 1654
},
"terminationGracePeriodSeconds": 30
}
}
}
}

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
}
}
}
}

View File

@@ -197,7 +197,7 @@
}
}
],
"image": "localhost/fc-ttsreader-web:v20260616-quicknav-b8c6174",
"image": "localhost/fc-ttsreader-web:v20260619-aiabs2-tts-e22b95f",
"imagePullPolicy": "Never",
"livenessProbe": {
"failureThreshold": 3,

View File

@@ -0,0 +1,26 @@
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"labels": {
"app.kubernetes.io/name": "ttsreader-biblical",
"app.kubernetes.io/part-of": "flowercore"
},
"name": "ttsreader-biblical",
"namespace": "fc-ttsreader"
},
"spec": {
"ports": [
{
"name": "http",
"port": 10402,
"protocol": "TCP",
"targetPort": 10402
}
],
"selector": {
"app.kubernetes.io/name": "ttsreader-biblical"
},
"type": "ClusterIP"
}
}

View File

@@ -0,0 +1,26 @@
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"labels": {
"app.kubernetes.io/name": "ttsreader-kokoro",
"app.kubernetes.io/part-of": "flowercore"
},
"name": "ttsreader-kokoro",
"namespace": "fc-ttsreader"
},
"spec": {
"ports": [
{
"name": "http",
"port": 8880,
"protocol": "TCP",
"targetPort": 8880
}
],
"selector": {
"app.kubernetes.io/name": "ttsreader-kokoro"
},
"type": "ClusterIP"
}
}