-
Notifications
You must be signed in to change notification settings - Fork 704
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
feat(kubernetes): add livenessProbe #1253
feat(kubernetes): add livenessProbe #1253
Conversation
Just discussed with @ezimanyi / @dibyom and one potential issue here is that a service's cc @davidxia, let us know if this kind of |
I like the idea of adding a TCP health check for the liveness probe! |
@maggieneterval This PR's current changes looks like it'll make every spinnaker component's readinessProbe a livenessProbe as well? The clouddriver readinessProbe is this right now.
I think a wget for a livenessProbe would've restarted clouddriver in my case of spinnaker/spinnaker#4023. But I don't know if a TCP probe would've restarted it. |
I think a TCP health check should have worked in the spinnaker/spinnaker#4023 case as well since wget was failing to establish a connection to clouddriver: |
Thanks for looking into that @dibyom! It sounds like at least starting with a TCP health check for the |
cc4c51f
to
707dff9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This reverts commit dd40b21.
Per discussion on spinnaker/spinnaker#4023, reuses
readinessProbe
as alivenessProbe
so that containers that fail health checks are not only removed from the load balancer, but also restarted automatically.