-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Runners and Istio #591
Comments
@js-timbirkett Hey! Thanks for bringing this up. Honestly speaking I have no much experience with Istio and things like this is why I'm still taking me away from using any kind of sidecar-based service mesh :) I was looking forward to kubernetes/enhancements#753 but it postponed... I think I'm fine with the first option, sleeping. But I'm interested in the second option, too. How would the second work? How do you usually |
Hey @mumoshu - thanks for the quick reply. Back in the days of What you'd end up doing is adding something like:
These scripts pretty much run a while loop and attempt to connect to a host and port with a smol sleep. Istio takes a few hundred milliseconds before network traffic can flow through the sidecar proxy which is fine for java apps (long startup times), or apps that crash and restart when failing to connect to a thing. |
Ref #591 Co-authored-by: Yusuke Kuoka <[email protected]>
I'm using the runner with Istio 1.10.0 just fine. Add this to your istio operator config:
|
@mabushey Great! Thanks a lot for sharing |
Thanks @mabushey - only another 4 Istio upgrades (* 3 cluster) to go for me :-| |
Hi 👋
We deploy most of our services onto an Istio service mesh. We'd like to put the runners on "the mesh" so that they can take advantage of
MUTUAL_TLS
and reach services without needing to expose the service through ingressgateway for integration and e2e tests.The trouble is that I don't think the Istio sidecar comes up before the runner tries to execute
entrypoint.sh
this causes the good old:loop of death.
Shelling into the pod and running
./entrypoint.sh
registers the runner as you'd expect at startup and running the runner with Istio sidecar injection also works.There are a couple of things that could be done in the (top of the) entrypoint script:
Is anyone else running this on Istio?
The text was updated successfully, but these errors were encountered: