stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sajith Kariyawasam (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (STRATOS-782) Kubernetes based cartridge deployment
Date Mon, 15 Sep 2014 05:40:34 GMT

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

Sajith Kariyawasam resolved STRATOS-782.
----------------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message