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
I would be great if a co-process could be tweaked so it starts right away, not waiting for preStart to complete.
Use case:
I don't want to run supervisord/runit/s6
i want to run consul agent as a co-process
preStart has leader election based on consul sessions/keys
i want to register sessions against local consul agent so when it leaves, sessions get expired
If i create new session against some consul agent that won't be terminated when container is terminated, session will remain. I don't like all this renew stuff, consul agent leave event is just more efficient.
Is it hard/ok by design to implement?
Something like:
Co-processes are being removed in ContainerPilot v3 in lieu of supporting multiple first-class processes. That is, all the processes will be co-processes. This will allow you to specify dependency chains explicitly (or just start immediately!) just as you're asking for here.
I'd like to put this idea up for discussion.
I would be great if a co-process could be tweaked so it starts right away, not waiting for preStart to complete.
Use case:
If i create new session against some consul agent that won't be terminated when container is terminated, session will remain. I don't like all this
renew
stuff, consul agent leave event is just more efficient.Is it hard/ok by design to implement?
Something like:
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: