fix(whisper-asr-webservice): switch readiness and startup probe to tcp, update app version (#21439)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**
This PR fixes a problem with `readiness` and `startup` probes: changing
the `liveness` probe to `tcp` in #20042 was obviously not enough to
prevent the app from always killing.
Also, I updated the app version. Something with the automatic updates
doesn't seem to work with this app.
- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning
- [X] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: v3DJG6GL <72495210+v3DJG6GL@users.noreply.github.com>
Signed-off-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Co-authored-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com>
Co-authored-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
v3DJG6GL 2024-05-30 14:55:21 +02:00 committed by GitHub
parent 1eeef447df
commit 5806933099
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 7 deletions

View File

@ -7,7 +7,7 @@ annotations:
truecharts.org/min_helm_version: "3.11"
truecharts.org/train: stable
apiVersion: v2
appVersion: 1.3.0
appVersion: 1.4.1
dependencies:
- name: common
version: 23.0.10

View File

@ -1,11 +1,11 @@
image:
repository: onerahmet/openai-whisper-asr-webservice
pullPolicy: IfNotPresent
tag: "v1.3.0@sha256:9332d6faf787ce42886f5e220f3cea801d8530251991192c470847e9efb1239e\r"
tag: "v1.4.1@sha256:0105a8e87df7420989f1aa23970e0dee5a0d1557d03ea79d15297c36b2601464\r"
gpuImage:
repository: onerahmet/openai-whisper-asr-webservice
pullPolicy: IfNotPresent
tag: "v1.3.0-gpu@sha256:61a54aca45045aa04e31c27ef098890ab196696cc15c55875fb9f0c6ed804456\r"
tag: "v1.4.1-gpu@sha256:7cb13a796fbca157e3508c14c3f78234aa3bcb9a08d86e7ceb2c912ca911a130\r"
securityContext:
container:
readOnlyRootFilesystem: false
@ -22,11 +22,9 @@ workload:
liveness:
type: tcp
readiness:
type: http
path: "/docs"
type: tcp
startup:
type: http
path: "/docs"
type: tcp
env:
ASR_MODEL: tiny
ASR_ENGINE: faster_whisper