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

      ]
      }
      }

        Issue Links

          Activity

          Hide
          sajith Sajith Kariyawasam added a comment -

          Fixed in docker-integration branch in following commits

          54c8a6e21cb7b34547d4cea53371518463dc9782
          088199d38459bab8f7879f94ce3634941f794962

          Show
          sajith Sajith Kariyawasam added a comment - Fixed in docker-integration branch in following commits 54c8a6e21cb7b34547d4cea53371518463dc9782 088199d38459bab8f7879f94ce3634941f794962

            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:

                Development