package
package copied to clipboard
Automatically include the elector side-car if `Lock` or `Election` is used...
We should detect when code uses metaparticle locks or elections and automaticallly include the elector side car.
IMO, this issue is the second highest priority issue (probably just behind the CI ticket).
I think the most generic way to deal with this is to allow a more broad pod definition. Specifically, allowing a way to specify multi-container pods... both via an image reference or a second build. After much thought, I don't have any great ideas as to how to do it (a few bad ones though!).
One thing that was getting in the way is the fact that the container runtime options are coupled to the pod runtime options (e.g. replicas
is in the same dictionary as port
), which implies that the runtime options either need to get split up (ugg), or we need another @Containerize
option.
I'll post more specific [bad] ideas later.