You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new execution controller job resource in kubernetes, we check to see if the execution controller pod is operational by looking at the pod status. If the pod status is in a running state, we proceed to create the worker deployment.
The issue is that checking to see if the pod is in a running state is not a good indication that the execution service is ready to have workers connect and start distributing slices.
Adding a readiness probe to the container and checking to see if the readiness probe currently is returning true would solve this.
I'm looking to see if there is already a built in health check on the execution controller to see what we can use to verify it's ready.
The text was updated successfully, but these errors were encountered:
This PR makes the following changes:
- Adds readiness probe to `execution controller` job (_**Only applies to
k8s V2 backend**_)
- Worker deployments will now wait for the ex readiness probe to come
back as `ready` before creation.
- Adds `/ready` endpoint to execution controller server
- Will return with status code `200` when initializing is complete
- Will return with status code `503` when initializing either fails or
hasn't yet completed
- Bumps **@terascope/teraslice-messaging** from `v1.2.0` to `v1.3.0`
Ref to issue #3720
---------
Co-authored-by: Austin Godber <godber@terascope.io>
When creating a new execution controller job resource in kubernetes, we check to see if the execution controller pod is operational by looking at the pod status. If the pod status is in a
running
state, we proceed to create theworker
deployment.The issue is that checking to see if the pod is in a
running
state is not a good indication that the execution service is ready to have workers connect and start distributing slices.Adding a
readiness probe
to the container and checking to see if the readiness probe currently is returningtrue
would solve this.I'm looking to see if there is already a built in health check on the
execution controller
to see what we can use to verify it'sready
.The text was updated successfully, but these errors were encountered: