deploy(ttsreader): restore GX10 live TTS sidecars
This commit is contained in:
92
apps-gx10/fc-ttsreader/deployment-ttsreader-biblical.json
Normal file
92
apps-gx10/fc-ttsreader/deployment-ttsreader-biblical.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
104
apps-gx10/fc-ttsreader/deployment-ttsreader-kokoro.json
Normal file
104
apps-gx10/fc-ttsreader/deployment-ttsreader-kokoro.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
26
apps-gx10/fc-ttsreader/service-ttsreader-biblical.json
Normal file
26
apps-gx10/fc-ttsreader/service-ttsreader-biblical.json
Normal 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"
|
||||
}
|
||||
}
|
||||
26
apps-gx10/fc-ttsreader/service-ttsreader-kokoro.json
Normal file
26
apps-gx10/fc-ttsreader/service-ttsreader-kokoro.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user