Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-782

Kubernetes based cartridge deployment

    Details

      Description

      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" }

      ]
      }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sajith Sajith Kariyawasam
                Reporter:
                sajith Sajith Kariyawasam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: