Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to set custom livenessProbe and readinessProbe #519

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

dttung2905
Copy link
Contributor

@dttung2905 dttung2905 commented Sep 9, 2023

Hi team,

This PR allows user to set custom value for livenessProbe and readinessProbe too

Provide a description of what has been changed

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • README is updated with new configuration values (if applicable) learn more
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

Fixes #508

@dttung2905 dttung2905 requested a review from a team as a code owner September 9, 2023 14:20
keda/Chart.yaml Outdated Show resolved Hide resolved
Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job!
Does adding the option to all the deployments make sense?

@dttung2905
Copy link
Contributor Author

@JorTurFer When we set for other deployments like admission webook,

@JorTurFer
Copy link
Member

@JorTurFer When we set for other deployments like admission webook,

I think that we hace to maintain both during some period to not break the chart from one version to the next

  • Is there a process about deprecation that we can follow? I think we need to add something here right (link) ?

It's a good question. @tomkerkhove @zroubalik , is the helm chart covered by our deprecation policy? I think so but I'd like to read your thoughts

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is, we should maintain both and deprecate later. See existing approach:

WARNING - prometheus.operator.serviceMonitor.relabellings is deprecated, please migrate to prometheus.operator.serviceMonitor.relabelings instead.

@dttung2905
Copy link
Contributor Author

@zroubalik yes. Thats the link I posted above. I will make the changes right away

@zroubalik
Copy link
Member

@zroubalik yes. Thats the link I posted above. I will make the changes right away

Nice! Sorry I missed that comment :)

keda/Chart.yaml Outdated Show resolved Hide resolved
keda/templates/NOTES.txt Outdated Show resolved Hide resolved
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
@JorTurFer
Copy link
Member

Thanks for the imporvement!

@JorTurFer JorTurFer enabled auto-merge (squash) September 19, 2023 19:18
@JorTurFer JorTurFer merged commit 7a4ba4a into kedacore:main Sep 19, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot define liveness/readiness probes via helm chart
3 participants