Open pgporada opened 9 years ago
Hello Phil !
You could run multiple pod scripts per container, yes. However this does not offer much advantages over breaking it down. Now if you do have peripheral stuff you need to run as companions tools (typically a local collectd, newrelic monitor, sensu, etc.) I would simply recommend to have your pod script start them during its configuration phase (super trivial if you already have supervisor installed in-container).
I do this actually for my API tiers where I need to run at least 1 collectd that then forwards metrics to librato.com.
Does my answer make sense ?
Yes it does, thank you.
BTW - if suggest you get started with our ochothon PaaS if you can (so Mesos+Marathon). This is my active project right now and is the most stable/complete to date (i'll get back to K8S soon).
I have a need to run several applications in a container that require service discovery. Is ochopod able to support more than one application per shell.py script or should I have supervisord start each application with it's own instance of shell.py ala