-
Notifications
You must be signed in to change notification settings - Fork 25
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
Consider using Istio readiness check instead of Envoy admin API #35
Comments
Hey @linjmeyer, I tried setting the Here is where scuttle starts up:
Here the last thing that gets logged.. envoy is ready. But the main workload never runs.
And here is the pod
Does scuttle need to be changed to account for the different url? |
Do you think an optional variable could be set that would define the request body content that scuttle would wait for? For example, in the case of the ADMIN_API it would be |
Hey @JoeJasinski, I think I'd prefer to deprecate the |
Thanks @linjmeyer, that makes sense to me. I also think checking for a 200 would make it easy to use other places. |
envoy has a |
I think the example tried above does not work because scuttle is looking for an IP and port and it tacks on |
Current the
ENVOY_ADMIN_API
is used to prevent application startup until Istio/Envoy is ready. Istio itself has a readiness probe (used by k8s healthchecks) athttp://127.0.0.1:15020/healthz/ready
. Looking at the master branch of Istio this endpoint verifies the Istio Admin API is ready (or it will time out), and internally verifies Envoy is operational.I think using Istio's readiness endpoint makes more sense as we can be more confident that not only Envoy is ready, but Istio itself is too. Most likely this would mean deprecating
ENVOY_ADMIN_API
as the name of the variable wouldn't make sense.The text was updated successfully, but these errors were encountered: