|
|
@@ -1,8 +1,11 @@
|
|
|
[
|
|
|
{"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"}}]},
|