You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2015/01/17 22:31:41 UTC

[jira] [Updated] (STRATOS-782) Kubernetes based cartridge deployment

     [ https://issues.apache.org/jira/browse/STRATOS-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Imesh Gunaratne updated STRATOS-782:
------------------------------------
    Fix Version/s:     (was: 4.1.0 M1)
                   4.1.0-M1

> Kubernetes based cartridge deployment
> -------------------------------------
>
>                 Key: STRATOS-782
>                 URL: https://issues.apache.org/jira/browse/STRATOS-782
>             Project: Stratos
>          Issue Type: Improvement
>          Components: Cloud Controller, Stratos Manager
>            Reporter: Sajith Kariyawasam
>            Assignee: Sajith Kariyawasam
>             Fix For: 4.1.0-M1
>
>
> Need to have a property to identify whether its a Kubernetes based cartridge deployment. Hence a new property to be added as "deployerType". Also a property to be added to define container related properties. 
> Updated cartridge definition is shown below.
> {
>       "type": "php",
>       "provider": "apache",
>       "host": "apachestratos.org",
>       "displayName": "PHP",
>       "description": "PHP Cartridge",
>       "version": "5.0",
>       "multiTenant": "false",
>       "deployerType": "kubernetes",
>       "portMapping": [
>          {
>             "protocol": "http",
>             "port": "80",              ← Container port and this will be dynamically replaced with the host port
>             "proxyPort": "8280"  ← Mapped load balancing port
>          },
>          {
>             "protocol": "https",
>             "port": "443",
>             "proxyPort": "8243"
>          }
>        ],
>        "container":  {
>           "imageName": "stratos-php-image",
>           "dockerfileRepo" :"https://github.com/sajhak/stratos-docker-php-image.git", ← Optional 
>           "property": [
>             {
>              "name": "prop-name",
>              "value": "prop-value"
>             }
>           ]
>         }
>  }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)