chart-wyoming_piper: add proper probes

This commit is contained in:
2025-04-21 00:30:02 +02:00
parent 7af20a4c52
commit a4425303c4
2 changed files with 17 additions and 7 deletions

View File

@ -3,5 +3,5 @@ apiVersion: v2
name: wyoming-piper
description: Wyoming protocol server for the Piper text to speech system.
type: application
version: 0.1.1
version: 0.1.2
appVersion: '1.5.0'

View File

@ -70,14 +70,24 @@ resources: {}
# memory: 128Mi
livenessProbe:
httpGet:
path: /
port: http
tcpSocket:
port: 10200
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: http
exec:
command:
- /bin/sh
- -c
- >-
echo '{ "type": "describe" }' | nc localhost 10200
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
autoscaling:
enabled: false