You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
oc new-app should specify the port in the route that is created #5040
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.
@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.
Activity
bparees commentedon Oct 9, 2015
@smarterclayton @csrwng fyi.
csrwng commentedon Oct 9, 2015
@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.
bparees commentedon Oct 9, 2015
@csrwng the service it creates contains all the ports the image exposes, not just one of them?
csrwng commentedon Oct 9, 2015
Yes, since #3378
bparees commentedon Oct 9, 2015
ok i guess i'm inclined to close this. @smarterclayton any concerns?
smarterclayton commentedon Oct 9, 2015
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:
smarterclayton commentedon Oct 9, 2015
And now expose needs to set RoutePort - @Kargakis
On Fri, Oct 9, 2015 at 2:46 PM, Clayton Coleman [email protected] wrote:
bparees commentedon Oct 9, 2015
closing. sounds like we need a new issue for oc expose.