projectatomic / nulecule

[UNMAINTAINED] Specification describing a container-based application
209 stars 46 forks source link

'generateName' support for Kubernetes provider #189

Open kanarip opened 8 years ago

kanarip commented 8 years ago

Problem Statement

Some of the Nulecule applications in the nulecule-library, such as MariaDB and MongoDB, can only be used once within an application's (nested) graph, because the Pod and Service created by the Kubernetes provider carries a non-unique name (in their pod and service definitions).

Suggested Solution(s)

  graph: [
    {
      "name": "myapp-mariadb",
      "source": "docker://projectatomic/mariadb-centos7-atomicapp"
    },
    {
      "name": "anotherapp-mariadb",
      "source": "docker://projectatomic/mariadb-centos7-atomicapp"
    }
  ]