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

is there any way to set the liveness probe and readiness probe #4264

Open
LiDaiyan opened this issue Dec 23, 2024 · 2 comments
Open

is there any way to set the liveness probe and readiness probe #4264

LiDaiyan opened this issue Dec 23, 2024 · 2 comments
Labels
TransByAI Translated by AI/GPT.

Comments

@LiDaiyan
Copy link

LiDaiyan commented Dec 23, 2024

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs. Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug
the default timeoutSeconds of liveness probe and readiness probe is both 1s, when the health check delay to the 5s, the srs server pod is always restarting.

Version
helm chart appVersion: 5.0.166
docker image: docker.io/ossrs/srs:5.0.166

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I want a way to set timeourSeconds in the helm chart values.yaml

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Thanks you all guys.

@winlinvip winlinvip changed the title Is、 The text "Is、" appears to be an incomplete sentence or question that includes a Japanese comma (、). If you intended to write in English, it seems you may have started to ask a question but did not finish it. Please provide more context or complete the sentence for a proper rephrasing. Dec 23, 2024
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Dec 23, 2024
@LiDaiyan LiDaiyan changed the title The text "Is、" appears to be an incomplete sentence or question that includes a Japanese comma (、). If you intended to write in English, it seems you may have started to ask a question but did not finish it. Please provide more context or complete the sentence for a proper rephrasing. is there any way to set the liveness probe and readiness probe Dec 23, 2024
@suzp1984
Copy link
Contributor

Are you post in right place? It's k8s resource config problem. check https://github.com/ossrs/srs-helm
You can config whatever liveness/readiness probe as you want to.

@LiDaiyan
Copy link
Author

Are you post in right place? It's k8s resource config problem. check https://github.com/ossrs/srs-helm You can config whatever liveness/readiness probe as you want to.

thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

3 participants