Cannot define liveness/readiness probes via helm chart
slawekww opened this issue · comments
Expected Behavior
It should be possible to define liveness/readiness probe values, now all is hardcoded and for some systems timeout=1s is not acceptable.
Allow to define those probes at values.yaml for helm chart (at least for manager component).
Actual Behavior
Cannot change those values via current chart:
Steps to Reproduce the Problem
- use helm chart for keda
Specifications
- KEDA Version: chart version 2.11.2
- Platform & Version: N/A
- Kubernetes Version: N/A
- Scaler(s): N/A
Are you willing to adding support for it?
If it is not urgent, I may try to implement as it is defined in bitnami template:
https://github.com/bitnami/charts/blob/main/template/CHART_NAME/values.yaml
I may have time within the month as it is not urgent.
It's not urgent at all. We plan to cut a release at the end of the month, but helm chart can be released also before or after as it has it's own release cycle (basically, on demand xD)
Hi @slawekww , I'm working on a PR. May I know exactly which value you want to parameterise ?
HI @dttung2905, I plan to add values in values.yaml
:
operator:
# Liveness probes
livenessProbe:
initialDelaySeconds: 25
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
# Readiness probes
readinessProbe:
initialDelaySeconds: 20
periodSeconds: 3
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
and use them in charts/keda/templates/manager/deployment.yaml
The default would be like it is now and it allows to define values by users, especially timeoutSeconds
.