Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23368

Deploy Docker Image: Replication controller does not contain mapped ports from Deploy Image Wizard

    Details

    • Steps to Reproduce:
      Hide

      ASSERT: Have an OpenShift connection with a project.
      EXEC: Open Deploy Docker Wizard, select an image and proceed to routing and port wizard page.
      EXEC: Add a new port mapping.
      ASSERT: Image is deploy and resources are created.

      RESULT: Replication controller does not contain new port mapping but service does.
      EXPECTED RESULT: Both Replication controller and a Service do contain the new port mapping.

      Show
      ASSERT: Have an OpenShift connection with a project. EXEC: Open Deploy Docker Wizard, select an image and proceed to routing and port wizard page. EXEC: Add a new port mapping. ASSERT: Image is deploy and resources are created. RESULT: Replication controller does not contain new port mapping but service does. EXPECTED RESULT: Both Replication controller and a Service do contain the new port mapping.

      Description

      When deploying a docker image via Deploy Docker Wizard to an OpenShift instance, there is a wizard page with mapping of pod ports to service ports. If I add a new port mapping there, it is propagated to a created Service. But created replication controller does not contain those new mappings (results into creating pods without those ports available)

      Either way this should be fixed, to also Replication Controller should contain mapped ports, because having a service which has mapped pod ports to service ports but pods itself does not have this port exposes is useless. Or having Add... button does not make sense there, or there is no known use case where it would be useful (existing mapping could be edited but a new one would be useless).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  mlabuda Marián Labuda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: