-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add an ability to configure health checks for container in Workpsace.Next ChePlugin #10273
Comments
@garagatyi
|
I think we need to add container health checks. We couldn't do that in Che 6 because each container could have several apps because of installers. In Che 7 we should put 1 app per container, so container liveness checks would be enough. Apart from that, we would be able to reuse existing functionality of k8s/OS/Docker. Health checks (liveness probes in k8s terms) can check app running in a container, not container itself, so they can check app state. If app state is OK then I consider as fare to set statuses of all the servers of that container as RUNNING. Maybe later we can remove those statuses at all. |
@garagatyi For custom stacks, could this be something the user can configure in their recipe - e.g.,
Formatted content:
I have tried this, but it does not work. |
@BarryDrez if you are talking about user recipe then it should be already supported. @sleshchenko correct me if I'm mistaken. Original suggestion was about configuring health checks for IDE plugins. Such configuration should be similar to what is defined in the k8s deployment |
@garagatyi You're right, it should be supported.
What the error? Could you provide workspace related Deployment that is created by Che Server? |
@garagatyi, @sleshchenko Thank you for clarifying this. I have done some more experimenting with my liveness and readiness probes, and it looks like I needed to add a longer delay for the liveness probe. If this still looks like a bug, I will open a new issue as you suggest, but it is beginning to look like it is working well (as designed). |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Description
Right now we use hardcoded health checks, but with the Workspace.Next we need to make them configurable
Reproduction Steps
OS and version:
Diagnostics:
The text was updated successfully, but these errors were encountered: