[ {"op":"test","path":"/spec/template/spec/containers/0/name","value":"whisper-stt-chatbot"}, {"op":"add","path":"/metadata/annotations/image.openshift.io~1triggers","value":"[{\"from\":{\"kind\":\"ImageStreamTag\",\"name\":\"whisper-stt-chatbot:latest\",\"namespace\":\"localai\"},\"fieldPath\":\"spec.template.spec.containers[?(@.name==\\\"whisper-stt-chatbot\\\")].image\",\"paused\":true}]"}, {"op":"replace","path":"/spec/replicas","value":1}, {"op":"replace","path":"/spec/template/spec/containers/0/image","value":"image-registry.openshift-image-registry.svc:5000/localai/whisper-stt-chatbot@sha256:3c79e8d40bb63e912519e7017d7091520fcebcb4928023d5a902206d26ba7d0e"}, {"op":"add","path":"/spec/template/spec/serviceAccountName","value":"whisper-stt-chatbot"}, {"op":"add","path":"/spec/template/spec/automountServiceAccountToken","value":false}, {"op":"replace","path":"/spec/template/spec/affinity/nodeAffinity/requiredDuringSchedulingIgnoredDuringExecution/nodeSelectorTerms/0/matchExpressions/0/values","value":["chambre.local.pentou.ovh"]}, {"op":"add","path":"/spec/strategy","value":{"type":"Recreate"}}, {"op":"replace","path":"/spec/template/spec/containers/0/resources","value":{"limits":{"nvidia.com/gpu":"1"}}}, {"op":"replace","path":"/spec/template/spec/volumes","value":[{"name":"hf-cache","persistentVolumeClaim":{"claimName":"whisper-model-cache"}}]}, {"op":"replace","path":"/spec/template/spec/containers/0/env","value":[{"name":"HF_HOME","value":"/tmp/hf-cache"},{"name":"HUGGINGFACE_HUB_CACHE","value":"/tmp/hf-cache"},{"name":"WHISPER_LOG_LEVEL","value":"INFO"},{"name":"WHISPER_VAD","value":"true"},{"name":"MODEL_SIZE","value":"small"}]}, {"op":"replace","path":"/spec/template/spec/containers/0/args","value":["app:app","--host","0.0.0.0","--port","8000","--log-level","info"]}, {"op":"add","path":"/spec/template/spec/containers/0/startupProbe","value":{"httpGet":{"path":"/healthz","port":8000},"periodSeconds":10,"timeoutSeconds":5,"failureThreshold":90}}, {"op":"add","path":"/spec/template/spec/containers/0/readinessProbe","value":{"httpGet":{"path":"/healthz","port":8000},"periodSeconds":10,"timeoutSeconds":5}}, {"op":"add","path":"/spec/template/spec/containers/0/livenessProbe","value":{"httpGet":{"path":"/healthz","port":8000},"periodSeconds":30,"timeoutSeconds":5,"failureThreshold":5}} ]