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 name: wyoming-piper
description: Wyoming protocol server for the Piper text to speech system. description: Wyoming protocol server for the Piper text to speech system.
type: application type: application
version: 0.1.1 version: 0.1.2
appVersion: '1.5.0' appVersion: '1.5.0'

View File

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