Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Openshift new-app creating app from image with incorrect ports

    Posted on

    I am using openshift oc new-app to create a app from a image. In this case the third party image is the artifactory-oss image from Jfrog..

    However oc new-app is creating the associated openshift service incorrectly with only one tcp port, not the two ports than the application uses.

    Is there any simple way to force openshift new-app to correctly create the service with the two correct ports when building from a image rather than incorrectly with only one port ?

    Alternatively is there a command line way to add the extra port to the service created that can be scripted (I know about oc edit but I need to automate this ) ..

    (Disclaimer.. I am new to openshift and have lots to learn)

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.