Skip to content

oc new-app should specify the port in the route that is created #5040

Closed

Description

@bparees

a route with no port will round robin across all ports in the service which is basically unexpected behavior.

new-app creates services with just one port but if another port is added to the service later, the route will start RRing across them and probably break.

instead we need to explicitly define the port in the route, just like we do in the service.

Activity

  1. bparees commented on Oct 9, 2015

    @bparees
    ContributorAuthor
  2. csrwng commented on Oct 9, 2015

    @csrwng
    Contributor

    @bparees new-app creates a service with multiple ports. But it doesn't create a route. If you can specify in the route which port you want to expose, I would say it doesn't have anything to do with new-app, but rather the expose command you use to create the route.

  3. bparees commented on Oct 9, 2015

    @bparees
    ContributorAuthor

    @csrwng the service it creates contains all the ports the image exposes, not just one of them?

  4. csrwng commented on Oct 9, 2015

    @csrwng
    Contributor

    Yes, since #3378

  5. bparees commented on Oct 9, 2015

    @bparees
    ContributorAuthor

    ok i guess i'm inclined to close this. @smarterclayton any concerns?

  6. smarterclayton commented on Oct 9, 2015

    @smarterclayton
    Contributor

    I think the current problem was the UI didn't expose all the ports now.

    On Fri, Oct 9, 2015 at 1:26 PM, Ben Parees [email protected] wrote:

    ok i guess i'm inclined to close this. @smarterclayton
    https://github.com/smarterclayton any concerns?

    —
    Reply to this email directly or view it on GitHub
    #5040 (comment).

  7. smarterclayton commented on Oct 9, 2015

    @smarterclayton
    Contributor

    And now expose needs to set RoutePort - @Kargakis

    On Fri, Oct 9, 2015 at 2:46 PM, Clayton Coleman [email protected] wrote:

    I think the current problem was the UI didn't expose all the ports now.

    On Fri, Oct 9, 2015 at 1:26 PM, Ben Parees [email protected]
    wrote:

    ok i guess i'm inclined to close this. @smarterclayton
    https://github.com/smarterclayton any concerns?

    —
    Reply to this email directly or view it on GitHub
    #5040 (comment).

  8. bparees commented on Oct 9, 2015

    @bparees
    ContributorAuthor

    closing. sounds like we need a new issue for oc expose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions