“oc new-app” does not expose port altough the input image does
问题 I'm exploring OpenShift 3.9 and have managed to get a first container built and running with oc new-app and the Docker build strategy. My Dockerfile includes the command EXPOSE 5432 . After the rollout oc describe istag/my_app:latest | grep ^Exposes reports Exposes Ports: 5432/tcp , so that looks good: the image exposes port 5432. But oc describe po/my_app-1-some_id | grep "^\s*Port" reports Port: <none> , so overall it seems as if the port is exposed at the level of Docker, but not yet the