Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Pods should allow running other pods as applications #499

Open
mildred opened this issue Sep 23, 2015 · 1 comment
Open

Pods should allow running other pods as applications #499

mildred opened this issue Sep 23, 2015 · 1 comment

Comments

@mildred
Copy link

mildred commented Sep 23, 2015

Pods currently only allow running applications backed up by ACI images. This is nice, but it makes it difficult to pack complex applications in multiple containers.

Instead, if pods allowed to specify applications as a pod instance, it would be possible to pack complex applications in multi levels. First, applications requiring multiple service to run together might run as the innermost pods, and the application themselves could interact as the outermost pod.

Example running multiple level applications could be:

  • HTTP service for a given host
    • reverse proxy for the following two applications
    • HTTP application 1
      • HTTP server
      • Database
    • HTTP application 2
      • HTTP server
      • Database
      • Processing agent
  • Mail service (grouping the different services that need to be configured together)
    • SMTP service
    • IMAP service

On the host, you'll just configure the execution of two pods: the HTTP pod and the Mail pod. They will recursively execute the Mail services and theHTTP reverse proxy, along with both HTTP applications and their database.

@jonboulle
Copy link
Contributor

This is kind of an interesting idea but very underdefined and raises a tonne of questions. For example, what namespaces are shared between the top-level pods? Can isolators be applied at every level? How many levels of nesting are allowed? What about pod lifecycle? (#276)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants